Start coding today to experience the powerful engine that drives data application’s development, brought to you in partnership with Qlik.
In this article, we will learn how to publish or Deploy ASP.Net MVC application to Windows Azure. In previous ASP.NET MVC tutorials of this series, we saw,
Create an ASP.Net MVC Web Application.
I have created a Simple application in ASP.Net MVC, which is used for deployment purposes in this example.
Now go to Azure portal (https://portal.azure.com) and log in with your credential.
Click on New on Azure Dashboard. Go to Web + Mobile in the marketplace section, then click on Web App.
Select an App name for your Web App and Select resource group (A resource group is a collection of resources that share the same lifecycle, permissions, and policies) and click on create.
Within a few seconds, you will see your Web App is ready. For checking whether our App is ready or not, just visit the URL of the Web App that we have created in the above steps.
Now, click on App Services then Click on the App on which we want to deploy your application (I have selected the Web App which we have created in the above steps).
Click on the More link and then click on "Get publish profile." After clicking, you will get your Publish setting file which is required for publishing the application.
Now right-click on your project in Visual Studio and click on Publish.
Now click on Import in Publish Web.
Browse the Publish setting file which we have downloaded and then click on OK.
Click on Validate connection for validating the connection:
We haven’t added or used a database in this application. I will show you how to publish applications with a database in my next article. Click on Next.
If everything goes fine, you will see a message stating that the web app was published successfully in the output window of Visual Studio.
Now visit the URL of your application. Cheers! Our application is live on Azure.
Create data driven applications in Qlik’s free and easy to use coding environment, brought to you in partnership with Qlik.