Joel
Today I faced the same problem trying to deploy ASP.NET 5 applications in IIS on Azure VM.
Perhaps you are not deploying the DNX runtime with your application, or something is preventing / killing the Kestrel or WebListener process. From what I found, the request freezes because Kestrel (or any other listener that you work with on the dnx network) does not start or does not work during the request.
For me, this happened because I did not publish the application properly with the publication of dnu.
Check the .. / approot folder and make sure that it has the following directory structures:
../approot /packages // NuGet Packages /runtimes // DNX lives here /src // Your code
If you are missing / runtime, you will see the request freezes.
To add them, I used the following command:
dnu publish --out <output directory> --configuration <build configuration> --wwwroot <web root name> --wwwroot-out <web root output name> --runtime <either "active" or current runtime> --iis-command web
If this does not solve the problem, something may cause the application process to crash.
source share