Info
Version: | 1.0.21 |
Author(s): | Mike |
Last Update: | Wednesday, December 18, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/WinInsider |
NuGet Url: | https://www.nuget.org/packages/WinInsider.HttpHosting.Owin |
Install
Install-Package WinInsider.HttpHosting.Owin
dotnet add package WinInsider.HttpHosting.Owin
paket add WinInsider.HttpHosting.Owin
WinInsider.HttpHosting.Owin Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.CSharp(>= 4.7.0)
- System.Diagnostics.TraceSource(>= 4.3.0)
- WinInsider.Microsoft.Owin(>= 1.0.13)
- WinInsider.Owin(>= 1.0.13)
- WinInsider.System.Net.Http.Formatting(>= 1.0.13)
Tags
HttpListener that comes with Owin can not be used in .NET Standard scenarios as is bases on Windows specific implementation, thus set ServerFactory as below...
var options = new StartOptions("http://localhost:8080/");
options.
ServerFactory = "WinInsider.Owin.Host.SocketListener";
WebApp.Start<Startup>(options);.