Upgrade Your ASP.NET Core (3.1 or 5) Project to .NET 6

preview_player
Показать описание
This is a demonstration of the changes needed in your existing ASP.NET Core projects 3.1 and 5 to .NET 6.

We also look at the a fix for a potential error with ASP.NET Core Hosted Blazor apps and how to fix it.

Full Courses:

___________________________________________________________________

I am a Software Engineer and Instructor. I can provide professional development services or private code coaching sessions to help you to accomplish your professional or personal IT goals.

Check out my content on Social Media

Check out some free courses below:
Microsoft SQL Server 2017 for Everyone! - Database Development Course

PHP Bootstrap 4, Heroku and MySQL Course

PHP Development with Bootstrap, GitHub and Heroku

Modern PHP Web Development with MySQL, GitHub and Bootstrap 4

C# - Basics Uncovered

Enterprise C# Winforms Application Development

Introduction To Website Technologies

C# Console and Windows Forms Development with LINQ & ADO.NET

Modern PHP Web Development w/ MySQL, GitHub & Heroku

Microsoft SQL Server Development for Everyone!
Рекомендации по теме
Комментарии
Автор

Your content is awesome!
Very refreshing to listen to your voice. It is very clear that you are an expert in your field.

teachityourwaypodcast
Автор

Thank you for your info on upgrading to .net 6.

keithhuynh
Автор

Thanks! Literally I did an upgrade from .Net5 to .Net6/ Asp Net Core MVC / yesterday live project! And it did work with no issue! Just hosting provider IONOS was a little bit slow about refreshing their server! But all good! 😊

attilaguba
Автор

The 6.0 package was not loading and this was the solution. Thanks Master!

Hertz
Автор

Thanks for the content. Here's a question: If you a admin panel done in Frame 5.0, and I am looking to upgrade to 6.0 as I have a Mac M2, which there's no packages for arm only x64. Therefore I can't run it. Will this upgrade work using my MAC? Thanks.

bit_Jon_Trader
Автор

I have .net core 2.2 project, do you think I could upgrade straight to .net 6?

GG-uzus
Автор

helpful video, I tried to do the same in visual studio 2022 and the project succeeded and run but while migrating the code first approach project it has been showing an error message i.e Login failed for the user. please advise how to resolve this issue. Thank you so much

kulbhushanbhaware
Автор

Why did you install the JsonPatch and Abstractions nugets manually instead nuget packages manager? Also are those 2 packages required for all AspNet 6 applications?

Chibabachacho
Автор

Don't we need to convert startup.cs file into program.cs to convert. Net 5 to 6??? If yes then how to please help.

gujaratiincanada
Автор

Is these steps same for netcoreapp2.1 to .Net6 ?

renraj
Автор

FYI - If you get the following error message.
*The program '[4384] AppOnline.API.exe' has exited with code 0 (0x0).*

I ran through the steps Trevoir showed, but still ended up getting the above error message.
I placed a breakpoint at the top of ConfigureServices. I stepped through until I got to


I got the following exception message
'Unable to resolve service for type while attempting to activate

On commenting out the Rate limiting service lines, I was able to compile and run as normal. 😃

Thanks Trevoir.

Don-iivm