Quickstart Series: Windows Web App in Azure

Quickstart Series: Windows Web App in Azure

Here’s some brand new content from the SoftwareArchitect.ca YouTube channel that you might find interesting.

In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you. Or if you want to see me do it and follow along yourself.

Quickstart Series: Windows Web App in Azure

In this video, I show you how to create a Windows Web App in Microsoft Azure. Windows Web App. We go through the Azure Portal, and see how form fields get filled in. If you can’t afford to create resources in Azure, but want to see how it’s done in 2018, this is the video for you.

Or you can see the video directly on YouTube.

Transcript:

Well hi there, my name is Scott Duffy, from softwarearchitect.ca, more than 80,000 students have chosen to learn topics such as Microsoft Azure from me. I am super appreciative of that. In this video, we’re going to do a quick start, which means we’re going to go into the Microsoft Azure portal and we’re going to create a Windows web app, which is part of the app services using Microsoft Azure I’m going to show you how easy it is to get a Windows web app up and going, so that you can deploy your custom code into it.

Let’s switch over to the portal. The URL is portal.azure.com. This is the Microsoft Azure portal. I’m going to go over to the plus sign. Now we have a number of categories, one of them is Web + Mobile and web app is the first option of the web and mobile category. It’s also under Getting Started, there’s the third one down. If we choose it we’re going to be brought into the settings tab and we’re going to start to create our Windows web app.

Give it a name. I’m going to call it Windows Web App. Now you’ll see this is a fully qualified domain name in that it’s got the .azurewebsites.net. I’m going to be able to access this over the web, based on this URL. I’m going to use my existing subscription, you may have a free plan or a MST subscription, or your corporation or visual studio. I use pay as you go. This charges me every month. Can’t use the word Windows in the resource group, that’s a new one. Thank you. The resource group is a way of organizing your resources. For web apps this is fairly straight forward, you’re just going to create the web app, you can create one resource group that contains many web apps. But for virtual machines and networks and other things you may want to have multiple resources grouped under one name.

We’re going to create a new resource group for this. Now I do have the choice between Windows and Linux. This video is about a Windows web app and so we’re going to choose Windows. Now we do have the choice of where this Windows web app is going to get deployed. The Windows web app is by default going to go into the South Central US, which is one that I chose. I have an existing web app which is the free plan. Let me show you the pricing options and we can choose. Let’s create a asjdwebapp. We can reuse the same names on multiple different things and Azure will take care of it, as long as it’s not the same type.

I can put this in any of Azure’s 40 plus regions. I’m going to choose East US 2 and let’s look at the pricing options. Microsoft’s offering you the ability to run your Windows web app on isolated hardware, that means there’s no other person or tenant using this hardware and so you’re paying for that privilege for a one core, two core, four core isolated hardware, you’re getting 300 to $12,000 a month. This includes your networking and such like that, that becomes a lot faster. The premium service is still pretty good. You will pray for this, but this includes slots and traffic manager, custom domains, based on this type of pricing. We can see here that there’s a V2 option as well as the V1 option. The V2 options actually a bit cheaper, plus you get more memory so it’s hard to know why you would want to choose the old one unless all of your other web apps are running on this and you want the consistency.

Then we go down to the standard plan, you don’t get the same number of slots and there’s less instances and less storage and stuff like that, down to the basic plan where you get almost nothing. You can’t have traffic manager, you can’t have deployment slots, and they do also have a free plan. And a shared plan even for as low as $11 a month. You have a lot of different options depending on your needs. I’m just going to choose the S1 plan. It’s a standard plan, gives me all the cool things but I don’t need the performance just yet because we’re just testing out.

I’m going to choose the S1 standard plan instead of the free plan that my other app is running on. Now that’s it, it’s a one page set of settings. This is going to create me a web app. I’m going to pin this to my dashboard and click Create. Now the thing about web apps is that you create them and they’re empty. So you actually do need to deploy code. If you’ve got Microsoft Visual Studio, you can connect Visual Studio using the Azure plugin and then deploy your applications directly into this web app. One click, you click Publish and it will do that. This is going to take … It’s very quick to create a web app because it’s not like a virtual machine where it has to create networks and NIC cards and all these sort of things. It’s going to create this for me fairly quickly and then I can customize it.

That was quite quick, my web app is already created. We can see on this over view screen, the URL of our web app. I’ve got FTP user name and I can FTP into the site and deploy my site using FTP. If I go down to application settings I can see that I can choose a .NET Framework version, PHP version, Python version, a Java if I want to install. These things are not installed by default. 32 bit verses 64 bit. This is where all of your settings are when you deploy your app. You get all these extra things such as SSL, custom domains, Azure to manager your backups. You can do a backup type of job.

Here’s how you create an Azure Windows web app. Let me know how that goes for you.