Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

703 B

Getting started with Microsoft OWIN self-host libraries:

This package contains libraries for hosting OWIN compatible HTTP components in your own process.

An example Startup class is included below. The Startup class can be called from your application as follows:

using (WebApp.Start<Startup>("http://localhost:12345"))
{
Console.ReadLine();
}

public class Startup
{
public void Configuration(IAppBuilder app)
{
#if DEBUG
app.UseErrorPage();
#endif
app.UseWelcomePage("/");
}
}

For additional information see:
http://katanaproject.codeplex.com/
http://aspnet.codeplex.com/SourceControl/latest#Samples/Katana/Embedded/
http://aspnet.codeplex.com/
http://www.owin.org/