How to deploy BlazorHero App to Azure ?


Blazor Hero is good open source project for learning the Blazor concept, Even though you can customize and use on your project.

https://github.com/blazorhero/CleanArchitecture

Recently I got a chance to deploy this application on Azure, So I m writing step by step note on this.

If you are using visual studio deployment wizard, it is very simple to do it. I hope you have already created profile on Azure portal

There are the following Steps:

>> Clone the BlazorHero from github then clean and re-build the application

>> Go to the LocalizationConstants.cs file comment the given below

Note: Currently Azure is not supporting this country culture code.

  • Go to visual studio build >> publish server
  • Select azure like this

Click on Next button

Click on Create

Step 6: Configure the Sql server like this

Now Click on Publish Button

You will able to see the running application on Azure Cloud like this

Summary:

In this post we saw the magic of visual studio 2022 deployment wizard tool. We saw that without going azure portal, we are able to deploy the Blazor Application on azure cloud.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.