
.NET vs .NET Core — Set 15
1. What’s the difference between .NET and .NET Framework? .NET Framework: A Windows-only framework for building web, desktop, and other applications. It has been around since the early 2000s and is deeply integrated with Windows. .NET (formerly known as .NET Core): A cross-platform, open-source framework that can run on Windows, macOS, and Linux. It is more modular and designed with modern development practices in mind, making it suitable for cloud and microservices architectures. 2. How does ASP.NET Core handle dependency injection? ASP.NET Core has built-in support for dependency injection (DI) using a lightweight and extensible service container. Services are registered in the Startup.ConfigureServices method and then injected into controllers, Razor pages, or other services using constructor injection. ...





