Articles in this section
Category / Section

Deployment of ASP.NET Syncfusion controls to Azure

2 mins read

How to deploy an ASP Web Application in Azure

 

Solution

 

We can host Syncfusion ASP Applications in Azure web servers. Kindly follow the below steps.

Prerequisites

  • Visual studio 2017 with Azure development.
  • An Azure subscription or a free account. 

 

Step 1: Create an ASP.NET web app or use an Existing application

To create a ASP.NET web application with Syncfusion controls, refer to the Getting Started Documentation for ASP. Once created, run the application in the local machine and it will look as follows.

 Final application

If the application is already created, we can move to the next step.

 

Step 2: Publish the Application to Azure

In the Solution Explorer, right-click on the project name and select Publish.

 VS - Publish

Or we can go to Build Menu and select Publish myASPApp (your_project_name) to open Publish page.

 Publish application

Now select the Microsoft Azure App Service, make sure Create New option is selected and then select Publish.

 Microsoft azure app service

This opens a Create App Service dialog, where we can add all the necessary resources required to run the application in Azure.

 

Step 3: Sign in to Azure account

In the Create App Service dialog, select Add an account, and sign in to the Azure subscription. If you're already signed in, select the account containing the desired subscription from the dropdown.

 Azure account

 

Step 4: Create a resource group

resource group is a logical container into which Azure resources like web apps, databases, and storage accounts are deployed and managed.

Next to Resource Group, select New.

Provide a name for the Resource Group and select OK.

 Resource group

 

Step 5: Create an App Service plan

An App Service plan specifies the location, size, and features of the web server farm that hosts your app.

Next to App Service Plan, select New.

In the Configure App Service Plan dialog, update the details as per the requirements and Select OK.

 App service plan

 

 

Step 6: Create and publish the web app

 

In Web App Name, type a unique app name or accept the automatically generated unique name. The URL of the web app is http://<app_name>.azurewebsites.net, where <app_name> is your web app name.

Select Create to start creating the Azure resources.

 Create app service

Now the application is being deployed to Azure.

 Deploy to azure

Once the deployment completes, it publishes the ASP.NET web application to Azure, and then launches the app in the default browser.

 Final output

Now the ASP.NET web app is running live in Azure App Service

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied