Search code examples
asp.net-mvcazureweb-publishing

ASP.NET Azure publishing


I deploy ASP.NET to Azure using VS 2012 publishing wizard. After success message in output window

Build: 0 succeeded, 0 failed, 2 up-to-date, 0 skipped

Publish: 1 succeeded, 0 failed, 0 skipped

the site starts in my google chrome tab, but I see only default Azure message "This website has been successfully created. There's nothing here yet...."

What is the problem?


Solution

  • Publish your AzureWebSite and try to navigate to http://[sitename].azurewebsites.net/Controller/Action.

    You got to set your routeconfig.cs correctly, so that when AzureWebSite opens up, it opens your default route.