There are several changes to the IIS / IIS Express hosting model that you need to consider when upgrading to beta.
In the project.json file, remove them from the dependencies:
- "Microsoft.AspNet.Server.IIS"
- "Microsoft.AspNet.Server.WebListener"
Add the following to your dependencies:
- "Microsoft.AspNet.Server.Kestrel"
- "Microsoft.AspNet.IISPlatformHandler
Finally, in the Startup.cs file, add the following to the Configure method:
app.UseIISPlatformHandler();
(I assume that app is the name of your IApplicationBuilder, you can customize accordingly).
This will add a new IISPlatformHandler to the pipeline and direct traffic to the Kestrel server, therefore bypassing IIS and the old Helios dnx host.
You can read about this change in ads on Github.
source share