Deploy Web Application to Azure

This post will detail deploying a website from Visual Studio 2013 to Azure. To follow this post, you will need Visual Studio 2013 and the Azure SDK for .NET. Deploying web applications is very common in Azure, and this is one of the easiest ways to do it.

To install the Azure SDK for .NET, go to https://azure.microsoft.com/en-us/downloads/ and download the “VS 2013 Install” under .NET. Visual Studio 2013 must also be at least Update 3.

Azure Cloud Service

The first step is create an Azure Cloud Service. To do this, launch Visual Studio as an administrator. Create a new Azure Cloud Service project. This can be found under Installed>Templates>Visual Basic>Cloud. Select “Azure Cloud Service”, give it a Name, and click OK.

1

Next, select the role or roles that your website will require. I am going to add ASP.NET to mine. You can also select a different programming language here. I am going to leave mine with Visual Basic.

2

On the next screen, select “Web Forms” and click OK. After that, Visual Studio creates your project. You will two projects in your solution – the Azure Cloud Service and the web site.

Creating the Website

This post will not go into creating the actual website. I am going to modify the default.aspx page to say “Hello World” for this demo. To do that, I open the default.aspx page in design view and type “Hello World” into the first h1 block.

Deploying to Azure

To deploy the web service, we must first connect Visual Studio to Azure. To do that, expand “Server Explorer”, right-click on “Azure”, and select “Connect to a Microsoft Azure Subscription”. Sign in to your Azure account to link the two together.

Next, right-click on the Azure Cloud Service in your solution. Sign in to your Azure subscription if prompted. On the “Microsoft Azure Publish Settings”, set the environment box to production and build configuration to release.

3

On the Advanced Settings page, select the appropriate storage account. This needs to be set up in advance, and should populate when you sign in to Azure. Click Next, confirm your settings, and click publish.

Allow Visual Studio to publish your site. The hyperlink to your site can be found on the “Completed” page.

Disclaimer

All content provided on this blog is for information purposes only. Windows Management Experts, Inc makes no representation as to accuracy or completeness of any information on this site. Windows Management Experts, Inc will not be liable for any errors or omission in this information nor for the availability of this information. It is highly recommended that you consult one of our technical consultants, should you need any further assistant.

Share:

Facebook
Twitter
LinkedIn
Picture of Matt Tinney

Matt Tinney

Professional IT executive & business leader having decades of experience with Microsoft technologies delivering modern-day cloud & security solutions.

Contact Us

=
On Key

More Posts

WME Cybersecurity Briefings No. 020
Cyber Security

WME Security Briefing 26 July 2024

Pro-Houthi Group Targets Yemen Aid Organizations with Android Spyware Overview A suspected pro-Houthi group, OilAlpha, is targeting humanitarian organizations in Yemen with advanced Android spyware. The operation is associated with the activity cluster codenamed OilAlpha. It

Read More »
WME Cybersecurity Briefings No. 019
Cyber Security

WME Security Briefing 23 July 2024

Samba File Shares Targeted by DarkGate Malware in Recent Cyber Offensive Overview Recent investigations by Palo Alto Networks uncover a brief but significant cyberattack campaign utilizing DarkGate malware. This malicious software exploited Samba file shares to

Read More »
WME Cybersecurity Briefings No. 018
Cyber Security

WME Security Briefing 15 July 2024

OVHcloud Mitigates Record-Breaking 840 Million PPS DDoS Attack Overview In April 2024, OVHcloud, a top French cloud computing firm, successfully stopped a massive DDoS attack. The attack hit a record-breaking rate of 840 million packets per second

Read More »
E-Commerce Security - Solutions for Online Retailers
Azure

E-commerce Security – Solutions for Online Retailers

Today’s hyper-charged e-commerce landscape demands top-notch cybersecurity measures. Cybersecurity for this bustling sector isn’t just about ticking a technical box; it’s the cornerstone of building trust. As businesses and consumers flock to the online space, the

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=