Blazor Web App with C# and SQL Database on Azure
A starter project for creating a Blazor web app using C# and a SQL database hosted on Azure. The project contains sample application code which can be removed and replaced with your own application code. Add your own source code and leverage the Infrastructure as Code assets (written in Bicep) to get the app up and running quickly.
Prerequisites
This template will create infrastructure and deploy code to Azure. If you don't have an Azure Subscription, you can sign up for a free account here. Make sure you have contributor role to the Azure subscription.
The following prerequisites are required to use this application. Please ensure that you have them all installed locally.
Quickstart
To learn how to get started with any AZD template, follow the steps in this quickstart with this template (jasontaylordev/azd-blazor).
This quickstart will show you how to authenticate on Azure, initialize using a template, provision infrastructure and deploy code on Azure via the following commands:
# Log in to azd.
azd auth login
# First-time project setup. Initialize a project in the current directory, using this template.
azd init --template jasontaylordev/azd-blazor
# Provision and deploy to Azure
azd up
Application Architecture
This application utilizes the following Azure resources:
Here's a high level architecture diagram that illustrates these components. Notice that these are all contained within a single , that will be created for you when you create the resources.