Web Studio is here! An enhanced experience to make it easier to create, preview, and collaborate on your website contentLearn More
Deploy .NET Site to Azure
You can deploy your .NET starter or any .NET application via Visual Studio Code or Visual Studio 2019.
Visual Studio Code
Build Release Project for Deployment
- Run the code locally to ensure everything is working as expected.
- Install Azure Resources App and Azure App Services App.
- Generate a publish folder to deploy by running the following command in the Agility.NET.Starter directory:
dotnet publish -c Release -o ./publish
Deploy to Azure Web App
Deploy publish folder to App Service by right-clicking on the folder and selecting 'Deploy to Web App...' and following the prompts to select 'Subscription' and 'Web App'.
Visual Studio 2019
Deploy to Azure Web App
1. Right-click on Agility.NET.Starter and select 'publish'.
2. Select Azure:
3. Select Azure App Service (Windows).
4. Select Subscription and App Service.
5. After the profile is created hit 'Publish'.
In this Article:
Was this article helpful?