In this tutorial we explore the Microsoft MVC architecture with Entity framework, Identity framework and Migrations for the database manipulation.
Entity framework is responsible for Object-Relational Mapping, i.e., storing objects in a relational SQL Server database, without SQL.
Identity framework controls the user credentials, login and access control with different roles for each user.
The database will be created with migrations (code first), we start by creating the class that represents the data in memory and then with migrations the table gets created.
Checkout the video bellow
The code is available on Github.
Entity framework is responsible for Object-Relational Mapping, i.e., storing objects in a relational SQL Server database, without SQL.
Identity framework controls the user credentials, login and access control with different roles for each user.
The database will be created with migrations (code first), we start by creating the class that represents the data in memory and then with migrations the table gets created.
Checkout the video bellow
The code is available on Github.
Comentários
Enviar um comentário