Achraf Ben Alaya
No Result
View All Result
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
  • Cloud
  • Motivation
  • General Tips & Fix
  • About
    • Resume
SUBSCRIBE
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
  • Cloud
  • Motivation
  • General Tips & Fix
  • About
    • Resume
No Result
View All Result
Achraf Ben Alaya
No Result
View All Result
ADVERTISEMENT
Home Blog Cloud Azure

Migration from Asp.Net Core 3.1 to 5.0 and publish to azure

achraf by achraf
November 12, 2020
in Azure, Blog, c#, Cloud
2 min read
0
Migration from Asp.Net Core 3.1 to 5.0 and publish to azure
0
SHARES
640
VIEWS
Share on FacebookShare on Twitter

Microsoft announced the release of .NET 5.0 days ago , the stable version of course , now it’s time to think about migrating your project .

I usually see my friends postpone upgrading their projects to a newer version because of some factors like : the complexity ,the effort and the cost ,so they end up not migrating to a new version and loose the improvements and postpone that to another time and they forget that the more the project is complex , the more the migration becomes complex .

You can upgrade your system by updating visual studio 2019 to the latest version (the update will install the new .NET 5.0 but if you want to install it by your self you can do it from this Link)

Upgrading a net core project :

simply to to do the migration you have to go to properties and change the target framework to .NET 5.0 .
Well , of course now you need to build the project and if everything is fine you will see succeeded ,

else you will have to investigate issue by issue ,for that do not forget to upgrade the packages used by your application to the newest possible version .

 

I think that was easy , now what if you want to publish this project to azure ?

Publish .NET 5.0 to Azure

With the announcement of the new version of .NET 5.0 , Microsoft have added a new option to publish the new update in app service .
If you go and create a new app service (Create Web App) you will see under the Runtime stack a new option was added : .NET 5 (Early access) ;

 

all you have to do is to create the app download the profile and publish your solution .

 

 

If you have any question feel free to contact me .

Thank you for reading my article ! 🙂

ShareTweet
Previous Post

Where is my Money ! The Proper way To Shutdown Azure VM

Next Post

Reading Excel file in Azure Web Apps

Related Posts

Block the default URL assigned to the azure web app using azure application gateway
Azure

Block the default URL assigned to the azure web app using azure application gateway

May 31, 2023
56
Block the default URL assigned to the azure web app
Blog

Block the default URL assigned to the azure web app

May 14, 2023
215
What if we can check the cost of Azure resources in a juts few seconds
Azure

What if we can check the cost of Azure resources in a juts few seconds

May 9, 2023
331
Part 5-A : Using Azure DevOps, Automate Your CI/CD Pipeline and Your Deployments
Azure

Part 5-C : Using Azure DevOps, Automate Your CI/CD Pipeline and Your Deployments

May 2, 2023
216
15 E-books that focus on learning Microsoft Azure Cloud
Azure

15 E-books that focus on learning Microsoft Azure Cloud

April 23, 2023
102
Part 5-A : Using Azure DevOps, Automate Your CI/CD Pipeline and Your Deployments
Cloud

Part 5-B : Using Azure DevOps, Automate Your CI/CD Pipeline and Your Deployments

April 20, 2023
123
Next Post
Reading Excel file in Azure Web Apps

Reading Excel file in Azure Web Apps

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Terraform

Certifications

Microsoft certified trainer (MCT)

Recommended

Win free certifications at the Microsoft Build Cloud Skills Challenge | May 2022 🎁

Win free certifications at the Microsoft Build Cloud Skills Challenge | May 2022 🎁

May 28, 2022
141
Configure postman / newman API tests in Azure DevOps

Configure postman / newman API tests in Azure DevOps

October 25, 2021
2.7k
Blazor Write C# instead of JavaScript to Build a Client-Side Single-Page App

Blazor Write C# instead of JavaScript to Build a Client-Side Single-Page App

April 19, 2020
491
Part 5-A : Using Azure DevOps, Automate Your CI/CD Pipeline and Your Deployments

Part 5-B : Using Azure DevOps, Automate Your CI/CD Pipeline and Your Deployments

April 20, 2023
123
Boxing and Unboxing in C#

Boxing and Unboxing in C#

August 29, 2020
534
Learn… and get rewarded

Learn… and get rewarded

September 28, 2020
434
Facebook Twitter LinkedIn Youtube
Block the default URL assigned to the azure web app using azure application gateway

Block the default URL assigned to the azure web app using azure application gateway

May 31, 2023
Block the default URL assigned to the azure web app

Block the default URL assigned to the azure web app

May 14, 2023
What if we can check the cost of Azure resources in a juts few seconds

What if we can check the cost of Azure resources in a juts few seconds

May 9, 2023

Categories

  • Apps (1)
  • Azure (46)
  • blazor (2)
  • Blog (70)
  • c# (7)
  • Cloud (45)
  • Dapr (4)
  • docker (3)
  • Games (1)
  • General Tips & Fix (1)
  • Kubernetes Service (AKS) (1)
  • motivation (2)
  • Motivation (3)
  • News (9)
  • Resume (1)
  • sql (4)
  • Terrafrom (1)
  • Tricks, Tips and Fixes (3)
  • xamarin (5)
No Result
View All Result
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
  • Cloud
  • Motivation
  • General Tips & Fix
  • About
    • Resume