.NET 6 Preview 4 is now available and includes many great new improvements to ASP.NET Core.
Here’s what’s new in this preview release:
IConnectionSocketFeature
To get started with ASP.NET Core in .NET 6 Preview 4, install the .NET 6 SDK.
If you’re on Windows using Visual Studio, we recommend installing the latest preview of Visual Studio 2019 16.11. If you’re on macOS, we recommend installing the latest preview of Visual Studio 2019 for Mac 8.10.
To upgrade an existing ASP.NET Core app from .NET 6 Preview 3 to .NET 6 Preview 4:
6.0.0-preview.4.*
.6.0.0-preview.4.*
.See the full list of breaking changes in ASP.NET Core for .NET 6.
In .NET 6, we are introducing minimal APIs for hosting and routing in web applications. This opens the doors for new developers building their first web application with .NET and to our existing customers who want to build small microservices and HTTP APIs. These streamlined APIs provide the benefits of ASP.NET MVC with less ceremony.
To try out creating a minimal API, create a new ASP.NET Core empty web app.
dotnet new web -o MinApi
#aspnetcore #blazor