David Fowler has a very informative gist up on GitHub. It’s titled [Migration to ASP.NET Core. NET6][3] and it’s filled with details, recipes and FAQs on migrating an ASP.NET Core 5 web app to ASP.NET Core 61. The focus is on the new, streamlined hosting model, also known as Minimal APIs2. To be clear, You don’t have to move to the new model. As the FAQ section emphasizes:
Do I have to migrate to the new hosting model
No, you don’t have to. It’s the preferred way to host ASP.NET Core applications from .NET 6 and onwards but you aren’t forced to change your project layout. This means you can upgrade from .NET 5 to .NET 6.0 by changing the target framework in your project file from net5.0 to net6.0.
.NET6 Release Candidate is out, so the guide is unlikely to receive updates, but I’m sure that David will be ready to do so if required.
We are about to release several brand new web services in the coming weeks. They are all ASP.NET 5, currently in beta, but before release we’re likely to upgrade them to NET6. NET6 is LTS, NET5 isn’t, and offers significant advantages, remarkable [performance gains][2] included.
The Core tag was dropped in NET5, and it was a good move. The reason why the insist on using it with ASP.NET eludes me. [rss]: https://nicolaiarocci.com/index.xml [tw]: http://twitter.com/nicolaiarocci [nl]: https://buttondown.email/nicolaiarocci ↩︎
Will .NET 6 Mininal APIs turn heads? collects my thoughts on the subject. [2]: https://nicolaiarocci.com/performance-improvements-in-.net6/ [3]: https://gist.github.com/davidfowl/0e0372c3c1d895c3ce195ba983b1e03d ↩︎