Should a brand-new .NET project in 2026 ever target .NET Framework instead of modern .NET?
Short answer
In the overwhelming majority of cases, no -- new projects should target the latest LTS or STS release of modern .NET to get current performance, cross-platform support, security updates, and active feature development.
Advertisement
AModel answer
In the overwhelming majority of cases, no -- new projects should target the latest LTS or STS release of modern .NET to get current performance, cross-platform support, security updates, and active feature development. The rare exception is when a new project must integrate tightly with an existing Framework-only dependency (a specific legacy COM component, certain Windows-only libraries with no modern equivalent) that cannot be replaced, in which case Framework might be a pragmatic short-term necessity.
// New project starter command in 2026:
dotnet new webapi -n MyNewApi
// defaults to the latest LTS or current SDK's default TFM, e.g., net8.0 or net9.0Real-world example
A startup building a greenfield API explicitly avoids .NET Framework entirely, choosing .NET 8 LTS from day one to ensure Linux container compatibility and multi-year support without needing an eventual migration.
Likely follow-ups
- What are legitimate remaining reasons to choose Framework for something new?
- How do you evaluate whether a legacy dependency truly has no modern equivalent?
Related topics