Razor Pages Database First using EF Core 8

If you have not completed the Console application, please consider altering the database as shown at the top of that tutorial.

== Setting up the project ==

  1. First we are going to create a folder for our project. I named mine RazorDemo2025. Create? Great! Now open that folder in VS Code.

  2. Make sure you have the C# Dev Kit extension installed (it will install several other things too).
  3. Ctrl+Shift+P (Windows) | Cmd+Shift+P (Mac), Type Project (you will see ".NET: new Project..." come up).
  4. In the template options type Razor and select "ASP.NET Core Web App (Razor Pages) MVC, Razor Pages, Web
  5. Name: RazorDemo (you can now select the defaults for the remaining options) Enter ....