I have an owin startup class, and I defined the assembly:
[assembly: OwinStartup(typeof(OptCode.PortalAPI.Startup))]
The class name is "Startup" and I have a Configuration method:
public void Configuration(IAppBuilder app)
In web config, I have defined the following owin settings:
<appSettings>
<add key="owin:appStartup" value="OptCode.PortalAPI.Startup" />
<add key="owin:AutomaticAppStartup" value="true" />
</appSettings>
The application is in an application pool in the version v4.0 and in integrated mode, I also have installed the nuget package Microsoft.Owin.Host.SystemWeb, but it still don't hit the breakpoint when I put it inside the configuration method in startup class.