Multiple versions of .NET Core can be installed on the same machine without conflicts. This makes it easy to update apps between major versions.
.NET Core emphasizes backward compatibility between major versions when possible. Apps generally require a few code changes when upgrading.
The Dot NET Core runtime and libraries are packaged in NuGet packages. Apps include only what they need, keeping them lightweight.
Build web APIs with ASP.NET Core. Use Razor Pages, MVC, gRPC services, SignalR real-time communication, and more.
Integrate with databases like SQL Server, Postgres, MySQL, etc. Implement authentication, authorization, caching, background jobs, messaging, and more.
The major versions of .NET Core are:
The current recommendation is to use the latest LTS release, which is .NET 6 at the time of writing. .NET 7 and beyond bring new features and lower deployment sizes, so upgrading is recommended when possible.
Microsoft guarantees long-term support including security and bug fixes for LTS releases like .NET 6. The latest releases get shorter-term support. Unsupported versions like .NET Core 3.1 should be upgraded.
When building apps with Dot NET Core, you need the .NET Core SDK installed on your development machine for compilation.
The published apps then require the corresponding .NET Core runtime installed on the deployment server to run. The runtime is much smaller than the full SDK.
On Windows, the .NET Core SDK and runtime can be installed with the .NET installer. On Linux or macOS, use the package manager for the distro like apt-get or homebrew.
For container deployments, the Docker image should contain the correct .NET Core runtime version.
A common deployment error is HTTP Error 500.31 - Failed to load ASP.NET Core runtime, meaning the expected runtime version is missing on the server.
The original .NET Framework released in 2002 was limited to Windows only. .NET Core introduced cross-platform capabilities to .NET.
The .NET Framework is only officially supported by Microsoft. .NET Core is open source and accepts contributions from the community.
Dot NET Core emphasizes modularity over a monolithic framework. Apps include only the libraries needed.
The .NET Framework has a large API surface area. .NET Core started with a smaller set of core APIs and expanded over time.
It's easy to get started building web applications with Dot NET Core. Here are Some quick steps:
dotnet run
.There are many online tutorials and documentation resources for learning .NET Core. The ASP.NET Core documentation is a great reference for web development.
To get started building your first web APIs and web apps on .NET Core, check out Microsoft's .NET site for guided tutorials.
You can use our free hosting service for ASP.NET Core to deploy your project without any costs. Here you can quickly and easily deploy your application without worrying about infrastructure or maintenance.
.NET Core brings .NET cross-platform and open source while retaining enterprise capabilities. It is a modern, efficient, high-performance framework for building web applications, APIs, microservices, and more.
With support across Windows, Linux, and macOS you can deploy on any cloud platform. It has an active open-source community on GitHub.
If you are looking to build new .NET apps, .NET Core is typically recommended over the .NET Framework unless you have specific needs like desktop apps on Windows.
Get started with .NET Core today and see how it can make you more productive!