Files
ASP.NET/content/01-Introductory-Sessions/Session07/Projects/DILastSession/Session Notes.txt
T
2025-07-18 14:47:22 +03:30

35 lines
761 B
Plaintext

A really quick overview
1. A class that initializes a service
2. A class that simply uses a service
3. A class that uses more than one similar services
4. A class that uses an interface as a service
5. Two classes that use that interface as a service
6. An abstract class...
Ali Explaining the last part of the DI Project
Databases
Microsoft SQL Server
Entity Framework Core
ORM - Object Relational Mapper
Code First vs Database First
DbContext -> used as:
+ A bridge between your C# code and the database.
+ A session that manages all operations for a specific unit of work.
+ A container that holds your entity sets (tables).
We Need a DbContext in some controllers
Where does the initialization happen?
Next Steps
Future Plans...