mbue
mbue

Reputation: 1632

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, e.g. 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.

Upvotes: 1

Views: 2329

Answers (1)

rickvdbosch
rickvdbosch

Reputation: 15551

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. Application settings on the Azure Portal 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

Upvotes: 4

Related Questions