Articles by tag: Service Fabric

Running ASP.NET 5 on Kestrel with Service Fabric

By default the ASP.NET 5 project template, which ships with the Service Fabric SDK, configures your ASP.NET 5 application to run with Web Listener. The ASP.NET team changed the hosting model and dropped Helios in IIS. Instead they are forwarding the traffic using a HttpPlatformHandler towards Kestrel. Because I’m developing my application mostly on my Mac, using Visual Studio Code, I don’t see a reason why I would like to support two hosting models (Kestrel and Web Listener) with my application. I also want to profit from the performance improvements Kestrel offers in production. In this post I will show you how to change the project to use Kestrel instead of Web Listener.