要引用这几个才有GetOwinContext与GetAutofacLifetimeScope
时间:2016-06-08 06:54:15
收藏:0
阅读:572
using Owin; using Autofac; using Autofac.Integration.Owin; using System.Web; var owin = this.Request.GetOwinContext(); var scop = owin.GetAutofacLifetimeScope(); scop.ResolveOptional()
原文:http://www.cnblogs.com/shiningrise/p/5568888.html
评论(0)