Creating Database with Entity Framework Core- Part 1 | - ASP.NET CORE 3 | Angular 10 | Bootstrap 4

preview_player
Показать описание
This is Part-1 of the video tutorial, where we will learn how to create our application database using EntityFrameworkCore. If you are not familiar with Entity Framework, I recommend you to read the documentation from Microsoft.

Creating Database with Entity Framework Core- Part 1

Creating Database with Entity Framework Core- Part 2

Creating Database with Entity Framework Core- Part 3

Entity Framework (EF) Core is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology.

----Video Number : 9
----BLOG

----What would you be Learning :
* Creating Context Classes for Application Database and for Data Protection Keys Database
* Initializing you database with Admin and App user
* Creating Migrations and Ensuring Database is always created before application runs
* Managing Database with Data Service and Creating a Functional Service to Initialize Database
* Adding Connection Strings and Injecting the required Dependencies in Application pipeline.
* Setting up the AspNetCore Identity Options for Membership System

---Purpose of the two Databases
Application Db - to store our Application Data
Data Protection Db - to store Data Protection Keys (Which can be used to decrypt data)

======FOR SOURCE CODE USE ANY OF THE FOLLOWING REPO LINKS=====
***SOURCE CODE DEV OPS REPO***
***SOURCE CODE GITHUB LINK***

---NUGET PACKAGES

---DATA SERVICE
* Microsoft.AspNetCore.DataProtection.EntityFrameworkCore
* Microsoft.AspNetCore.Identity.EntityFrameworkCore
* Microsoft.EntityFrameworkCore.Design
* Microsoft.EntityFrameworkCore.Tools

---DATA SERVICE
* Microsoft.AspNetCore.Identity
* Microsoft.AspNetCore.Identity.EntityFrameworkCore

-- COMMAND TO INSTALL DOTNET TOOL
dotnet tool install --global dotnet-ef
dotnet ef migrations add InitialCreate --context ApplicationDbContext
dotnet ef migrations add InitialCreate --context DataProtectionKeysContext

--- HOW TO CREATE CONNECTION STRINGS

--- TAGS
Creating Database With EF CORE, EntityFrameworkCore Tutorial, Initialize Database with EF Core, Entity Framework Core Asp.Net Core, How to Create Database with Entity Framework,
Code First Entity Framework, Creating Migrations, Entity Framework Command, Entity Framework Command to Create Database, Asp.Net Core Tutorial, CMS Application tutorial, Angular 10,
Рекомендации по теме
Комментарии
Автор

Your blog is a little out of date. Are you still around making these awesome videos?

hdsheena
Автор

Hello i have one question, i was making a course final project, and i used identity for manage my users, but then i saw that in the requierements of my projects i had to make it with repository pattern, and then i figured out that identity is not very good to mix with repository pattern and actualy i had to change all of that... my question is.. is there a viable way of work with both? and if not.. what is more important, repository pattern or identity if you have to choose one for your project... in my project my professor was saying that repository pattern is super important and it was better to replace identity with my own custom class.. so im a bit confused since i see so many tutorials using identity and avoiding repository pattern. Thanks!

cssvg
welcome to shbcf.ru