Creating an App in Azure
-
I need to make blog entries about all the different elements that I am using in Azure. I will be creating YouTube videos as well to show the details. This post is about App Services. In the old days, you would create your website using whatever tools, and then you would either get a free hosting company with ads, or pay for a hosting company. You would create all your files on your personal PC, and then use FTP or something to copy those files to a web server somewhere so they can appear on the Internet. The process is still kind of the same, but with an Azure subscription, you can host them yourself. You can create a Web Server as a Virtual Machine and do it that way, but that has a lot of overhead. By using an App Service, you are basically renting space on a shared web server with a whole lot of other users, and many of the lower tiers are actually free, so you can get started for no money.
So what is an App Service? It is a resource in Azure that hosts an Application, what you might call a website. You can set permissions within the App Service for who can access it, and you can deploy your files directly to the App Service from Visual Studio. Think of it as using IIS from a Web Server.I will highlight the several steps involved, this blog will focus just on App Services. All steps are using your browser and working within the Azure portal: https://portal.azure.com.
- In Azure, create a Resource Group. See my blog post Resource Groups.
- Within your resource group, create an App Service.
- Within your App Service, create a Managed Identity. This will allow you to give your App Service permissions to access the data it is using, such as a SQL Server database or in my example, Azure Data Storage.
- Within your resource group, create a table in Azure Data Storage.
- If you already have data to import, you can Import a Table into Azure Data Storage.
- Next, Create an Project in Visual Studio.
- Using GitHub, create a repository to store your website.
- Configure Visual Studio to talk to Azure Data Storage.
- Build your website and deploy it to the App Service.
- Configure your domain to give it a friendly URL.
I will add links here to the other steps.
- Friday, 12 September 2025 14:53
- Category
- Keywords
- Private
- Azure
- Development