ABP理论学习之OWIN集成

返回总目录


如果你的应用中使用了OWIN,那么需要在主项目(一般来说是指Web项目)中添加Abp.Owin的nuget包,然后像下面那样在OWIN的 Startup文件中调用 UseAbp()扩展方法:

[assembly: OwinStartup(typeof(Startup))]
public class Startup
{
    public void Configuration(IAppBuilder app)
    {
        app.UseAbp();

        //your other configuration...
    }
}

原文地址:https://www.cnblogs.com/farb/p/ABPOWINIntegration.html