When running first asp.net 5 web application, you might meet some compiling errors, most scenarios relate with DNVM.
1.Try dnvm list first
the Active and Alias should be matched, other wise will confuse dnu restore
1.0.0-beta4 clr x64 C:\Users\yourfolder\.dnx\runtimes
* 1.0.0-beta4 clr x86 C:\Users\yourfolder\.dnx\runtimes d
1.0.0-beta4 coreclr x64 C:\Users\yourfolder\.dnx\runtimes
1.0.0-beta4 coreclr x86 C:\Users\yourfolder\.dnx\runtimes
1.0.0-beta5-12087 clr x86 C:\Users\yourfolder\.dnx\runtimes
1.0.0-beta5-12103 clr x86 C:\Users\yourfolder\.dnx\runtimes
1.0.0-beta5-12103 coreclr x64 C:\Users\yourfolder\.dnx\runtimes
1.0.0-beta5-12103 coreclr x86 C:\Users\Lawrence\.dnx\runtimes
1.0.0-beta6-12099 coreclr x86 C:\Users\Lawrence\.dnx\runtimes
1.0.0-beta6-12120 clr x86 C:\Users\Lawrence\.dnx\runtimes
2. use: dnvm use -r coreclr -arch x64 1.0.0-beta4 to set active
3. use: dnvm alias default 1.0.0-beta4 to set default
4. dnvm install version to get latest , but sometime it happen with some errors, delete C:\Program Files\Microsoft DNX\Dnvm\dnvm.cmd will be fine.
Background:
The .NET Execution Environment (DNX) provides a consistent development and execution environment across multiple platforms (Windows, OS X, Linux), multiple CPU architectures (x86, x64) and different .NET flavors (.NET Framework, .NET Core and Mono).
dnvm is the .NET Version Manager, a set of command line utilities to update and configure which .NET Runtime to use.
Best ASP.NET 5 Hosting Recommendation
ASPHostPortal.com provides affordable and high performance ASP.NET hosting to customers around the world. They have Windows Shared Hosting, Plesk Hosting, Reseller Hosting, Cloud Hosting, Dedicated Hosting plans from small to large to fit your requirements.
They maintains and operates its own network. Their servers are built using the latest technology and housed in 8 Data Center, in the 4 Continent (Europe, US, Asia, and Australia). Their company is passionate about hosting and strive to deliver an excellent level of service to each customer.