Deployment of ASP.NET Syncfusion controls to Azure
How to deploy an ASP Web Application in Azure
We can host Syncfusion ASP Applications in Azure web servers. Kindly follow the below steps.
- 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.
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.
Or we can go to Build Menu and select Publish myASPApp (your_project_name) to open Publish page.
Now select the Microsoft Azure App Service, make sure Create New option is selected and then select Publish.
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.
Step 4: Create a resource group
A 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.
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.
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.
Now the application is being deployed to Azure.
Once the deployment completes, it publishes the ASP.NET web application to Azure, and then launches the app in the default browser.
Now the ASP.NET web app is running live in Azure App Service