title: IIS 10 gives blank screen
body: <p>I'm trying to launch my ASP.NET Core application.</p>
  
  <p>I have installed IIS on a Windows Server, and installed the AspNetCore Module relevant, as described here <a href="https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-2.1#install-the-net-core-hosting-bundle" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-2.1#install-the-net-core-hosting-bundle</a></p>
  
  <p>How-ever, trying to access the website returns simply a white page, no exception or error pages. I have looked in event viewer as well, nothing.</p>
  
  <p>If i take the source code, and in command prompt run <code>dotnet run</code> the application does work in the environment, but the output from <code>dotnet publish -o publish</code> does not work on IIS. </p>
  
  <p>I'm at this point mostly looking at ways to get IIS to actually spit out some error codes. Too difficult to find the needle, when I dont even have the (hay)stack.</p>
  
  <p>Edit:
  I have tried to make a new "blank" application using the same configuration. This works fine, hence i now believe its my code that's to blame. Yet, it all works fine in visual studio. I really need it to spit out some debugging information, but I don't know how to make it do that.</p>
  
  <p>Information from Fiddlr:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: Kestrel
  Date: Tue, 04 Dec 2018 15:13:22 GMT
  Content-Length: 0
  </code></pre>