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.

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.


Learn More

Introduction to ASP.NET Core 2.2

Building Web APIs with ASP.NET Core

Develop a basic website with .NET CORE 3.0 and pure JavaScript

How to build RESTful APIs with ASP.NET Core

Build a Video Chat App with ASP.NET Core, Angular

Build a Basic Website with ASP.NET MVC and Angular

Building Web App using ASP.NET Web API Angular 7 and SQL Server

The Complete ASP.NET MVC 5 Course

Build a Real-world App with ASP.NET Core and Angular 2 (4+)

Build an app with ASPNET Core and Angular from scratch

Originally published by Gunnar Peipman at https://dzone.com

#.net #asp.net #web-development

.NET Core 3.0 Preview Now Available!
3 Likes17.20 GEEK