简体   繁体   中英

Deploy ASP.NET App to Azure Web App without .NET Core and Visual Studio

I have a web application using some dependencies which will only run on .NET full framework, eg NHibernate. So I cannot use .NET Core. In addition, I only have Visual Studio for Mac, so I don't have a fancy auto-magic "Publish to Azure" button to deploy my app.

Any chance on just uploading the compiled ASP.NET application via FTP and run it on Azure? Is there any howto on configuring the Azure Web App manually?

Seems like Microsoft only cares about .NET Core and assumes that all applications are easily convertible. I cannot find any docs besides "trivial index.html hello world via FTP" and "Use the VS publish button, done" articles.

Thank you in advance.

Seems like Microsoft only cares about .NET Core and assumes that all applications are easily convertible.

This is far from true. All Azure Web Apps have the full .NET framework available. Azure门户上的应用程序设置 Deploying a Web Application to Azure through FTP is simple. Have a look at Deploy your app to Azure App Service using FTP/S

In short:

  1. Set deployment credentials
  2. Get FTP connection information
  3. Deploy files to Azure

One question I have: if you only have Visual Studio for Mac available, how are you building an ASP.NET MVC application running full framework?

EDIT
This resource might also be interesting: Create an ASP.NET web app in Azure and of course Web Deployment Overview for Visual Studio and ASP.NET

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM