{{announcement.body}}
{{announcement.title}}

.NET Core 3.0 Preview Now Available!

DZone 's Guide to

.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.

· Web Dev Zone ·
Free Resource

.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.

Updates to .NET Core 3.0:

  • 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 fsi command. Previews of F# 4.6 and the dotnet fsi command are available. FSI stands for F# interactive.
  • AssemblyDependencyResolver and 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.

Updates to ASP.NET Core 3.0:

  • 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.

Topics:
web dev ,asp.net core ,.net core ,c# frameworks

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}