Entity Framework

AddTransient vs AddScoped vs AddSingleton

Dependency Injections (DI) are one of the principal concepts of ASP.NET core. It is a software design pattern that makes the code easily maintainable by reducing tight coupling and in turn allowing loose coupling between the various software components. Injecting these dependencies at run time instead of design time helps to reduce hard coded dependencies …

AddTransient vs AddScoped vs AddSingleton Read More »

Code First vs Database First vs Model First Approach – Using Entity Framework Core

Code First and Database First are 2 terms that you will come across quite often while working with object-relational mapping frameworks such as Entity Framework. You will often find the developers and designers divided in 2 categories, most of the coders usually favor Code First while DB designers mainly support Database First. Entity Framework can …

Code First vs Database First vs Model First Approach – Using Entity Framework Core Read More »