To get the application to run on IIS:
Create a website under a v4.0 app pool.
Bundle/publish the application using dnu publish. This will create a self contained package that has the application, the runtime and all the dependencies. Change the runtime name to match the runtime of your choice.
Â dnu publish --runtime dnx-coreclr-win-x220.127.116.11-beta5-11625
You can even pass --no-source if you don't want the application to be compiled from sources every time it starts.
Copy the bundle (from bin\output) under the website root.
Things that might go wrong:
The IIS bitness (32/64 bit) must match the bitness of coreclr.
If you don't copy the bundled website under the website root, make sure the account under which IIS runs can actually access the runtime folder.