WebApp.Start() calls Startup Configuration twice
问题 I'm hosting Web API and SignalR client in a Windows service. Any code after the WebApp.Start is getting executed twice. Also requests to the Web APIs are also received twice. Below is my sample code, in this TestSignalRService:3 and traces in configuration are getting printed twice. My App.config is also pretty basic and doesn't have any settings. public partial class Service1 : ServiceBase { public Service1() { InitializeComponent(); } IDisposable SignalR; HttpSelfHostServer server;