Represents the database itself
Represents a collection of data from a specific table. (I feel like it refers to a whole row or column)
It could be a table
Establishes the foundation of your database scheme
Translating your data model into SQL statements
MigrationFile (initialCreate)
A representation of you database model at a specific point in time
ContextModelSnapshot
A file that contains HTML markup with C# code using Razor syntax.
.cshtml
A file that contains C# code that handles page events.
.cshtml.cs
Razor pages are derived from_____
Pages Model
By convention, the PageModel derived class is named _____
PageNameModel
_____are derived from Pages Model
Razor Pages
The _____ directive makes the file an MVC action, which means that it can handle requests.
@page Razor directive
_____must be the first Razor directive on a page.
@page
The _____specifies the type of model passed to the Razor Page.
It makes the PageModel derived class available to the Razor Page.
@model directive
Server side components processed on the server to create and render HTML elements.
Similar to HTML helpers
Tag Helpers
Are attributes applied to model properties to specify validation rules, formatting, and other metadata for data stored in those properties.
Used to provide metadata and behavior for model properties, ensuring data integrity and helping with various data-related tasks in your application.
Data Annotation
WHY SHOULD WE USE DATA ANNOTATION?
By default the tag helpers is instantiated in
_ViewImport.cshtml