If you are creating an empty ASP.NET web application project in Visual Studio 2013, open the package manager console and the Microsoft.Owin.Host.SystemWeb installation package
Add a launch class using the Configuration application (IAppBuilder), for example:
public class Startup { public void Configuration(IAppBuilder app) { app.Run(context => context.Response.WriteAsync("hello")); } }
And run, you will see hello in the browser. However, you look at the project, there are no changes in any files, namely web.config, which indicates that the Owin protocol is used. More importantly, if you have the Startup class, but donβt install the Microsoft.Owin.Host.SystemWeb package, then the start method will not start.
I suspect that the user module and handler are involved in this, but cannot find documentation about it. The only thing that slightly concerns this topic that I could find is this .
How can you change the way a request is processed only by referencing some DLLs?
Rui
source share