Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

4 роки тому
123456789101112131415161718192021222324252627
  1. Getting started with Microsoft OWIN self-host libraries:
  2. This package contains libraries for hosting OWIN compatible HTTP components in your own process.
  3. An example Startup class is included below. The Startup class can be called from your application as follows:
  4. using (WebApp.Start<Startup>("http://localhost:12345"))
  5. {
  6. Console.ReadLine();
  7. }
  8. public class Startup
  9. {
  10. public void Configuration(IAppBuilder app)
  11. {
  12. #if DEBUG
  13. app.UseErrorPage();
  14. #endif
  15. app.UseWelcomePage("/");
  16. }
  17. }
  18. For additional information see:
  19. http://katanaproject.codeplex.com/
  20. http://aspnet.codeplex.com/SourceControl/latest#Samples/Katana/Embedded/
  21. http://aspnet.codeplex.com/
  22. http://www.owin.org/