'Does republishing Asp.net core mvc app from visual studio to azure app service generate a new link to live website or same as previous?
I created an ASP.NET Core MVC app in Visual Studio and published that to an Azure App service using the 'Publish' option in Visual Studio.
It generates a web link to access that app on the web, something like 23124131.azurewebsites.net.
Now, I made some changes to my project in local machine and I was wondering if when I click the publish button, will it replace the previous project files in Azure and use the same link - or does it generate a new link?
The thing is I had a college test earlier where I had to submit link to web app.
Now if republish app from Visual Studio after making some changes, will the professor not be able to see it because it was modified after and the link I submitted earlier points to new modified project?
Solution 1:[1]
- Republishing Asp.net core mvc app from visual studio to azure app service does not generate new link.
- The existing App service will be updated with the new Files/Source.
- If you wish to change the website link, then
Select Publish => New ,And give a new name to the App Service
- New App Service with new link will be generated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |

