How to get IIS to recognize OWIN startup class?

后端 未结 4 1397
庸人自扰
庸人自扰 2020-12-24 11:47

My OWIN web service runs beautifully in Visual Studio 2013, but when I publish it to a real IIS site, it acts as if the Configuration method in the startup class has not bee

4条回答
  •  感情败类
    2020-12-24 12:26

    1. Make sure your app pool is in v4.0 integrated mode.
    2. Make sure you have bin placed Microsoft.Owin.Host.SystemWeb (I see you have installed it) - Just make sure its also in the bin folder.

    This article will have more information on how an OWIN middleware runs on Integrated pipeline.

提交回复
热议问题