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...
    }
}

posted @ 2016-03-03 18:57  tkbSimplest  阅读(8210)  评论(0编辑  收藏  举报