Hello guys, this is chapter 7 for the video series Asp.Net Core Web API. Here I have described how to how to create a database using the code first approach in Entity Framework core 3.1, 3.0 & 2.2. I have also described here to save data in the code-first approach with migrations to create tables and the related foreign key and primary key constraints. I have also demonstrated here to register a user or admin from API using postman. I have followed the code first approach in .net core 3.1 to do create migration and create the tables into the database by using add-migration & update-database command. It is really an easy task to use add-migration command in the entity framework core in code-first approach to create tables and save data into the database using the database context.
This video also relates to the below topics:
1. model first approach in entity framework.
2. Code-first approach tutorial step by step with an example.
3. Update database code first.
4. Use the data context in C#.
5. Entity framework core code-first approach step by step to update the database and save the data.
6. Dotnet core code first.
7. Database context save changes for updating the database.
Download the Source Code:
https://drive.google.com/file/d/17rad...
Go to this link to take the test to identify yourself.
https://oktests.com/
Like us on Facebook: / oktests