.NET Framework is the original, Windows-only implementation of .NET (first released in 2002). .NET Core was the cross-platform, open-source rewrite started in 2016, which became simply ".NET" from version 5 onwards (.NET 5, 6, 7, 8, 9, 10). Today, all new development uses modern .NET. 1. Platform support - .NET Framework runs only on Windows. - .NET Core / modern .NET runs on Windows, Linux and macOS, and in containers, making it suitable for cloud and Kubernetes deployments. 2. Open source and development model - .NET Framework is closed-source and maintained in a slow, servicing mode. - .NET Core is open source on GitHub, with annual major releases every November: even numbers are Long Term Support (3 years) and odd numbers are Standard Term Support (2 years). 3. Status - .NET Framework 4.8.1 is the final version. It is still supported as part of Windows, but receives no new features. - Modern .NET receives all new features, performance improvements and C# language versions. 4. Performance - .NET Core was redesigned for performance: Kestrel web server, Span<T>, improved garbage collection, tiered JIT compilation and Native AOT. ASP.NET Core consistently ranks among the fastest mainstream web frameworks; .NET Framework is significantly slower for web workloads. 5. Application models - .NET Framework: ASP.NET Web Forms, ASP.NET MVC 5, Web API 2, WCF (server), Windows Forms, WPF, Windows Workflow Foundation. - Modern .NET: ASP.NET Core (MVC, Razor Pages, minimal APIs, Blazor, SignalR, gRPC), Windows Forms and WPF (Windows only), .NET MAUI, worker services, Azure Functions. Web Forms and WCF server are not available; CoreWCF is a community port, and gRPC or REST are the usual replacements. 6. Deployment - .NET Framework apps rely on the version installed machine-wide on Windows. - Modern .NET supports side-by-side installations, framework-dependent deployment, self-contained deployment (bundle the runtime) and single-file executables. 7. Architecture and tooling - Modern .NET has built-in dependency injection, configuration, logging and the options pattern, the SDK-style project format, and the dotnet CLI. .NET Framework relied on web.config, Global.asax and third-party DI containers. 8. Libraries - .NET Standard was created to share libraries between the two; new libraries now usually target modern .NET directly, with .NET Standard 2.0 only when .NET Framework compatibility is still required. When you would still use .NET Framework - Maintaining legacy applications that depend on Web Forms, WCF services, or Windows-specific components that have not been migrated. Migration - Microsoft's Upgrade Assistant and GitHub Copilot modernization tools help port projects. Typical steps: convert to SDK-style projects, replace unsupported APIs, move configuration from web.config to appsettings.json, and adopt ASP.NET Core's hosting model. Interview summary: ".NET Framework is the legacy Windows-only platform; .NET Core, now just .NET, is the cross-platform, open-source, high-performance successor where all new features land."
Ravindra Wadile · · 0 likes