.NET Core 3.0 Preview Now Available!
Microsoft has released previews for the updates to its two most popular frameworks. An expert developer goes over all the changes you need to know.
Join the DZone community and get the full member experience.Join For Free
.NET Core 3.0 Preview 3 is out and there are many interesting updates to the framework and to ASP.NET Core. Here's a list of the most important updates. Downloads are available here.
- More support for Indexes and Ranges in C#
- .NET Standard 2.1 support. To target the .NET Standard edit project file and specify netstandard2.1 as the target framework. .NET Standard 2.1 is not supported by the full .NET Framework.
- F# 4.6 and
dotnet fsicommand. Previews of F# 4.6 and the
dotnet fsicommand are available. FSI stands for F# interactive.
AssemblyDependencyResolverand resolver events. Loading dependent assemblies from a given path (wasn't possible before), resolver events help us work better with dynamically loaded native dependencies.
- High DPI for Windows Forms Applications. Finally, Microsoft pushes Windows Forms applications to the current era. 96DPI is not constant anymore and it's possible to build high-DP Windows Forms apps.
- Improvements to Razor Components. There's a single project template now, Razor components support endpoint routing and prerendering, and Razor components can be hosted in Razor class libraries. There's also improved event handling and support for forms and validation.
- Runtime compilation. It was disabled in ASP.NET Core 3.0 templates but it can be turned on now by adding a special NuGet package to the project.
- Worker Service template. Need to write a Windows service or Linux daemon? Now we have a worker service template for this.
- gRPC template. Together with Google, Microsoft is building a gRPC that is popular with the Remote Procedure Call (RPC) framework. This release of ASP.NET Core introduces the first bits of gRPC support on ASP.NET Core.
- The Angular template is using Angular 7. The Angular SPA template uses now Angular 7 and before the first stable release it will be replaced with Angular 8.
- Authentication for SPAs. Microsoft added out-of-the-box authentication support for single-page applications with this preview.
- SignalR integration with endpoint routing. Small change - SingalR routes are now defined with endpoint routing.
- SignalR Java client support for long polling. The SignalR Java client can be used now even in environments where WebSocket is not supported or allowed.
There's not much news about Entity Framework Core 3.0 but we can expect updates with next preview version of .NET Core.
Published at DZone with permission of Gunnar Peipman, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.