How to deploy an MVC Web Application in Azure.
We can host Syncfusion MVC Applications in Azure web servers. Kindly follow the following steps.
Step 1: Create an ASP.NET MVC web app or use an Existing 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 your project name and select Publish.
Or we can go to Build Menu and select Publish myMVCWebApp (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
In the Create App Service dialog, select Add an account, and sign in to your Azure subscription. If you're already signed in, select the account containing the desired subscription from the dropdown.
Step 4: Create a resource group
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 MVC web application to Azure, and then launches the app in the default browser.
Now the ASP.NET MVC web app is running live in Azure App Service
This page will automatically be redirected to the sign-in page in 10 seconds.