Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

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/