Last post May 29, 2018 06:30 AM by Edward Z
May 27, 2018 03:33 PM|Arden|LINK
I'm trying to publish my ASP.NET Core application on Azure service. I do it, but when I try to use the application functionality, I get the message "Your App Service app is up and running".
Moreover, in my wwwroot folder I don't have any .html files. I only have Index.cshtml, which is located in the Views/Home folder in my application, all another files are .css, .js, etc.
When I run the application in Visual Studio in debug mode, immediately opens the page in browser that was generated from Index.cshtml. But after the application is published in Azure, this does not happen. Why? What can I do to make Azure see Index.cshtml?
What am I doing wrong?
May 29, 2018 06:30 AM|Edward Z|LINK
How did you publish Asp.Net Core to Azure? Did you follow link below?
#Publish an ASP.NET Core app to Azure with Visual Studio
After deploying, you would not see Index.csthml, and you should access it through MVC route.
Which URL did you use to access Asp.Net Core? Did you use "http://your azure address/Home/Index"?