Search code examples
asp.net-core.net-coreasp.net-core-1.0.net-core-rc2

How to deploy or run NETCore.App 1.0.0-rc2-3002702


After I migrated my app to RC2 or to be very specific V. 1.0.0-rc2-3002702 I'm struggling with deployment of my app. I have noticed that folder "approot" in publish directory does not exist anymore and also with it "web.cmd" file. I have tried to deploy it on IIS but all I got is page not found "This site can’t be reached". On the official MS dotnet core documentation web site it is just like "Create new website in your IIS edit basic settings and you are good to go..."


Solution

  • Maybe my answer to a similar post will help: https://stackoverflow.com/a/37301527/166928

    Don't point IIS to wwwroot like in RC1 but to the root folder.

    Also, your server needs to have DotNetCore.1.0.0.RC2-WindowsHosting.exe