I will use the same web application which we created in my previous article ASP.NET MVC5.
Launch the publish wizard
Launch the publish wizard
In the solution explorer right click the project MVCProject and select Publish.
The publish wizard is automatically launched. Select the App Service > Publish to open the Create App Service dialog.
Sign in to Azure
In the Create App Service dialog, Select Add an account and Sign in to your Azure subscription.
if you already have an account then don't select Create.
Once you select the Azure account you will see the following details on the dialog box
Create a resource group
A resource group is a logical container into which web apps, databases, and storage accounts are deployed and managed.we can delete the whole storage group with a single step.
In dialog Next to Resource Group select New
Enter MVCGroup name and click OK
Create an App Service plan
An App Service plan specifies the location, size, and features of the web server farm that hosts your app. You can save money when hosting multiple apps by configuring web apps to share a single App Service plan.
App Service plans define:
- Region (for example North Europe, East US, or Southeast Asia)
- Instance size (small, medium, or large)
- Scale count (1 to 20 instances)
- SKU (Free, Shared, Basic, Standard, or Premium)
Next, to Hosting Plan, select New.
In the Configure Hosting Plan dialog, use the settings in the table following the screenshot and press OK
After this configuration Press Create button
Once the wizard completes, it publishes the ASP.NET web app to Azure and then launches the app in the default browser.
Congratulations, your ASP.NET web app is running live in Azure App Service.
Happy Programming :)
Happy Programming :)
Comments
Post a Comment