Thursday, October 15, 2026

ASP.NET Core MVC

Benefits over ASP.NET MVC:

1. Inbuilt support to Dependency Injection

2. Built on .NET Core framework which gives the ability that you don't need to install the .NET Framework to run it. Instead, you ship all the required dlls with your application.

3. Cross platform apps to be run on Windows/Linux/Mac

4. Usage of MVC and WebAPI in same app.

5. Support for Cloud-Based Development.


How to register dependencies:
1. AddTransient
2. AddSingleton
3. AddScoped


Entity Framework: (latest version 7 but know as EF Core)
1. Open Source
2. Usually Code First and Database -First approaches but EF Core is Code First only
3. It is an ORM




No comments: