Creating Scaffold Models in Visual Studio

preview_player
Показать описание
Carlos joins us for another lesson on how to work with the Razor Pages application using Visual Studio. Learn how to use Microsoft’s #VisualStudio to create a new model and generate a scaffold.

In addition to learning how to generate a new model and scaffold in Visual Studio, we’ll also learn how to run migrations using Dotnet CLI on Mac or Package Manager Console on Windows. Finally, we’ll learn how to make changes to the database using the CRUD pages our scaffold created for us.

The breakdown:
· Learn how to use Microsoft’s Visual Studio to:
· Generate a model and scaffold
· Run migrations
· Work with CRUD pages

Ready to learn more? Check out some of our articles and courses below.

- - - - - 
Join the millions learning to code with Codecademy.
Рекомендации по теме
Комментарии
Автор

Awesome instruction and explanation thanks so much....I am using .net6 and have followed the steps accordingly; however at 14:00 minutes when you launch your app and navigate to /Books/Create, I notice your newly created pages are formatted similar to the home page. In my app, my web page offers simple font and HTML form, no color. Any advice on where to start looking why the pages won't format? If there is a better place I could send this question I would greatly appreciate the assistance. Thanks!!!! Love your classes and education structure!

sweatpantgardener