Presentation .NET Core3 Wha’s New

From the presentation:

C# 8.0 What’s new

Reference:

https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-8 https://github.com/dotnet/csharplang/blob/master/meetings/2017/LDM-2017-03-08.md

Demos:

  1. Default Interface Inheritance

  2. Multiple Interface Inheritance
  3. Switch
  4. Deconstruct

Other demos:

  1. UsingUsage

  2. StaticLocalFunctions();
  3. Nullable();
  4. Version();
  5. Indexes();
  6. NullCoalescing();

.NET Core What’s new

Reference:

https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-core-3-0

https://devblogs.microsoft.com/dotnet/announcing-net-core-3-0/

Demos:

  1. AsyncEnumerable

  2. WPF
  3. COM
  4. Build ( trim, single file)
  5. Diamond hell with plugins

See NetCore3WhatsNew.sln and AssemblyLoadingUnloadingDiamond.sln

ASP.NET Core What’s new

Reference:

https://docs.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-3.0?view=aspnetcore-3.0

  1. Blazor + Blazor Server

  2. gRPC – https://docs.microsoft.com/en-us/aspnet/core/grpc/index?view=aspnetcore-3.0
  3. SignalR – reconnection, authorization

  4. NewtonSoft => System.Text.JSON
  5. Windows Authentication has been extended onto Linux and macOS.
  6. GenericHost – see https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio#hostbuilder-replaces-webhostbuilder
  7. As of ASP.NET Core 3.0, .NET Framework is no longer a supported target framework

EF Core What’s new

Reference: https://devblogs.microsoft.com/dotnet/announcing-ef-core-3-0-and-ef-6-3-general-availability/

  1. Refactoring + Single SQL statement per LINQ query

  2. Restricted client evaluation – i.e. Explicit AsEnumerable
  3. C# 8.0 support – AsAsyncEnumerable
  4. IDbCommandInterceptor

See NetCore3WhatsNew.sln , AsyncEnumerable

See https://github.com/ignatandrei/EFRecordAndPlay/tree/master/EF_Core3/EFCoreRecordAndPlay/EFRec

The video whole presentation ( in Romanian) you can find  at https://www.youtube.com/watch?v=GjJGMwkSnao&feature=youtu.be&fbclid=IwAR1i33TSycffNQ8O-iDjf2l_yU9IL1g2ylRPqiG7OkOZo5RRdy0CxklnbTk 

The demo is at https://github.com/ignatandrei/Presentations/tree/master/2019/shorts/NetCore3.0WhatsNew