Owin Startup doesn’t start up
Ran into a problem integrating an Owin module (in the example its Hangfire) into an ASP.Net web API app where the Owin startup class just didn’t start. You should just have to add the following
public class Startup
public void Configuration(IAppBuilder app)
// Eg. We are starting Hangfire dashboard here
The reason it wasn’t starting up is that it couldn’t find the the assembly on startup. It was fixed by adding this to the web.config:
<add key=”owin:AppStartup” value=”MyNameSpace.Startup” />
Originally published at www.nexusconcepts.com.