[Edit] The problem is BitDefender anti virus. I followed the instructions on how to install asp.net 5 beta 8. I was able to install all the necessary files without any problem.
So I've finally found the cause of the problem.
I have BitDefender anti virus installed on the computer which for some strange reason it is causing this behavior. As mentioned in the original post I did try disabling it but that didn't work. I had to completely uninstall the software :(
Waste of time :(
Start your application from the command prompt with dnx web or dnx-watch web, or select VS2015 todo so.
Watch the console window for any errors.
HTTP Error 502.3 - Bad Gateway
You will see these errors only on your screen if you use dnx web.
I also got this error. and it was caused by a bug in EF. You can get this error if IIS express can't communicate with kestrel anymore because kestrel stop responding.
Be sure you select the correct dnx version by running dnvm use
. to show the list of dnx version available use dnvm list
:\git\Other\Templates\test\Microsoft.Web.Templates.StarterWeb.AI.IndividualAuth.Tests>dnvm list
Active Version Runtime Architecture OperatingSystem Alias
----- ------- ------- ------------ --------------- -----
1.0.0-beta8 clr x64 win
* 1.0.0-beta8 clr x86 win b8
1.0.0-beta8 coreclr x64 win
1.0.0-beta8 coreclr x86 win
1.0.0-rc1-16110 coreclr x86 win
1.0.0-rc1-final clr x64 win
1.0.0-rc1-final clr x86 win rc1
1.0.0-rc1-final coreclr x64 win
1.0.0-rc1-final coreclr x86 win
1.0.0-rc2-16177 clr x64 win
1.0.0-rc2-16177 clr x86 win rc2
1.0.0-rc2-16177 coreclr x64 win
1.0.0-rc2-16177 coreclr x86 win
1.0.0-rc2-16219 clr x86 win
1.0.0-rc2-16219 coreclr x86 win
1.0.0-rc2-16222 clr x86 win default
1.0.0-rc2-16222 coreclr x86 win