I have a web application that is running on my localhost and i want to use azure app service or azure vm to launch it online. which is the best choice?
Solution to host webapplication
There are ways to deploy your application to Azure Cloud.
Method 1 : Azure App Service is fully managed platform for deploying application and scaling apps. it has built-in web hosting feature and supports multiple languages and frameworks.
Please follow the steps to deploy application to App Service .
1.Create sample web application using Visual Studio application.
Note: Before publish application to Azure, login to visual studio with Azure Account.
5.Select target platform windows or Linux .
9.Test the application with Azure App service URL once deploy the application to Azure app service.
Go to Azure Portal > Azure App Service > overview > Url .
Method 2: Azure VM
To deploy an application in an Azure VM with IIS , you can follow below steps:
Azure Portal > Create > Select Server OS.
2.Use RDP to connect to the Azure VM.
You can use FTP to upload your code to the Azure VM .
Now, open the IIS Manager and create a new website in that IIS .
After that, you can configure the website to point to the location of your application code on the VM .
Finally, test your application.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.