question

kalyankkalapala-8623 avatar image
0 Votes"
kalyankkalapala-8623 asked bhargaviannadevara-msft commented

How to create a DevOps build and release pipelines to deploy asp.net mvc application to linux web app??

How to create a DevOps build and release pipelines to deploy asp.net mvc application to linux web app?? I already tried to deploy the same with the windows web app and it is showing the changes. But when I tried to deploy to the linux webapp, the aren't any changes to the website

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

bhargaviannadevara-msft avatar image
0 Votes"
bhargaviannadevara-msft answered bhargaviannadevara-msft edited

@kalyankkalapala-8623 Thanks for reaching out. I'm afraid you can't since ASP.NET MVC applications are built to work on Windows only.

If your application (web/service) needs to run on multiple platforms (Windows, Linux, and macOS), use .NET Core/5+. The following resources can help:

Once you've migrated your app, you should be able to deploy it to a Linux web app.

We have a detailed article in the Azure DevOps documentation that describes how one can continuously deploy their web app to a Linux web app using the Azure Web App task. Depending on whether you want a Classic or YAML pipeline, please follow the steps described here: Deploy an Azure Web App (Linux)

Hope this helps. Do let us know if you have further questions.



If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.