27 lines
703 B
Plaintext
27 lines
703 B
Plaintext
|
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/
|