Achraf Ben Alaya
No Result
View All Result
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
  • Cloud
  • Motivation
  • General Tips & Fix
  • Exam Preparation
    • AZ-104
    • AZ-400
  • About
    • Resume
SUBSCRIBE
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
  • Cloud
  • Motivation
  • General Tips & Fix
  • Exam Preparation
    • AZ-104
    • AZ-400
  • 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
529
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

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

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

May 28, 2022
22
Generating report for SSL Certificates for Websites with PowerShell
Azure

Generating report for SSL Certificates for Websites with PowerShell

April 10, 2022
104
Win a free certifications at the Microsoft spring skills challenge  🎁
Blog

Win a free certifications at the Microsoft spring skills challenge 🎁

March 20, 2022
291
My Trip to Turkey
Blog

My Trip to Turkey

February 5, 2022
175
Microsoft Ignite Cloud Skills Challenge November 2021 :  Learn…and get rewarded (only 3 days left)

Microsoft Ignite Cloud Skills Challenge November 2021 : Learn…and get rewarded (only 3 days left)

November 27, 2021
200
Tools I use with Database
Blog

Tools I use with Database

November 7, 2021
253
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

Migrate and modernize your applications on Azure

Migrate and modernize your applications on Azure – Part –1 (Create and publish Web App)

April 3, 2021
193
Going Dapr

Going Dapr

August 17, 2021
170
Run background tasks with WebJobs in Azure App Service

Run background tasks with WebJobs in Azure App Service

August 21, 2021
766
Installing WordPress with docker image of XAMPP

Installing WordPress with docker image of XAMPP

April 21, 2020
493
Sql tips and tricks

Sql tips

August 29, 2020
211
Deploy azure function from visual studio 2019

Deploy azure function from visual studio 2019

August 29, 2020
359
Facebook Twitter LinkedIn Youtube
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
Generating report for SSL Certificates for Websites with PowerShell

Generating report for SSL Certificates for Websites with PowerShell

April 10, 2022
Win a free certifications at the Microsoft spring skills challenge  🎁

Win a free certifications at the Microsoft spring skills challenge 🎁

March 20, 2022

Categories

  • Apps (1)
  • Azure (35)
  • blazor (2)
  • Blog (59)
  • c# (6)
  • Cloud (34)
  • Dapr (4)
  • docker (2)
  • Games (1)
  • General Tips & Fix (1)
  • motivation (2)
  • Motivation (3)
  • News (9)
  • Resume (1)
  • sql (4)
  • Tricks, Tips and Fixes (3)
  • xamarin (5)
No Result
View All Result
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
  • Cloud
  • Motivation
  • General Tips & Fix
  • Exam Preparation
    • AZ-104
    • AZ-400
  • About
    • Resume