With legacy .NET, you could self-host OWIN via the Microsoft.AspNet.WebApi.OwinSelfHost NuGet package.
Is there a way to self-host OWIN in a .NET Core console app?
Open Web Interface for . NET (OWIN) defines an abstraction between . NET web servers and web applications. OWIN decouples the web application from the server, which makes OWIN ideal for self-hosting a web application in your own process, outside of IIS.
ASP.NET Core: Supports the Open Web Interface for . NET (OWIN).
Self Host just means it uses the built-in Web Server, which is in contrast to classic ASP.NET Framework Web Apps which typically requires IIS or the built-in WebDev server to run.
Yes you can, use the Microsoft.AspNetCore.Owin Package.
Please see https://docs.microsoft.com/en-us/aspnet/core/fundamentals/owin?view=aspnetcore-2.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With