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 ==
First we are going to create a folder for our project. I named mine RazorDemo2025. Create? Great! Now open that folder in VS Code.
- Make sure you have the C# Dev Kit extension installed (it will install several other things too).
- Ctrl+Shift+P (Windows) | Cmd+Shift+P (Mac), Type Project (you will see ".NET: new Project..." come up).
- In the template options type Razor and select "ASP.NET Core Web App (Razor Pages) MVC, Razor Pages, Web
Name: RazorDemo (you can now select the defaults for the remaining options) Enter ....