In this tutorial, you'll review and customize the CRUD (create, read, update, delete) code that the MVC scaffolding automatically creates for you in controllers and views.
What I did is an update of the project from the Microsoft repository of ContorsoUniverity example because it doesn't work anymore.
The full tutorial is on Microsoft documentation. Visit PureSourceCode for more code and help in creating application with .NET5. For example, take a look at Integration With Identity In AdminLTE Project.