packages/Microsoft.Owin.SelfHost.2.1.0/ReadMe.txt
(完整代码) 703BGetting 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/
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。