Top "Self-hosting" questions

Operating independently of a hosting infrastructure

Get current owin context in self host mode

I need to run my application which provides some ASP.NET Web API services on both IIS and .NET CLR …

asp.net .net iis owin self-hosting
self hosting asp.net mvc

Is it possible to self host asp.net mvc inside another application ie. console, windows forms, service etc etc. I'd …

asp.net-mvc self-hosting
Owin self host console application with https support (no web api, no SignalR)

With SslStream and socket, I've developed a https web server from scratch. I can apply a certificate to the stream …

c# ssl asp.net-web-api owin self-hosting
HttpSelfHostServer and HttpContext.Current

I'm working on a self-hosted ASP.NET web api-application. Everything works fine, but now I'm struggling with HttpContext: I need …

c# asp.net-web-api httpcontext self-hosting
Autofac error: Could not load file or assembly 'System.Web.Http, Version=5.2.0.0,...' My project is Owin WebApi2 SelfHost

I have a simple project which uses Microsoft.AspNet.WebApi.OwinSelfHost. It is a Owin self hosted WebApi 2 project.The …

.net asp.net-web-api autofac owin self-hosting
WCF self-hosted WebSocket Service with Javascript client

I have this WCF self-hosted WebSocket service code: Main: //Create a URI to serve as the base address Uri httpUrl = …

c# javascript wcf websocket self-hosting
Self-host of ASP.NET MVC application

I have a full-working ASP.NET MVC application (consisting of 5 assemblies, .NET 4.5.1, ASP.NET MVC 5.2.2) which runs fine in Visual …

c# asp.net-mvc owin nancy self-hosting
Web API self host - bind on all network interfaces

How do you make a Web API self host bind on all network interfaces? I have the below code currently. …

c# asp.net asp.net-web-api2 self-hosting
Host Web API as Windows Service using OWIN

I'm trying to run a Web API application as a Windows Service using OWIN. However, I get the following message, …

c# asp.net-web-api windows-services owin self-hosting
How to set default static web page for Katana/Owin self hosted app?

I've set up a web site using an Owin self hosted console app. I'm serving static files with no problem, …

asp.net owin katana self-hosting