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:
- Default Interface Inheritance
- Multiple Interface Inheritance
- Switch
- Deconstruct
Other demos:
- UsingUsage
- StaticLocalFunctions();
- Nullable();
- Version();
- Indexes();
- 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:
- AsyncEnumerable
- WPF
- COM
- Build ( trim, single file)
- 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
- Blazor + Blazor Server
- gRPC – https://docs.microsoft.com/en-us/aspnet/core/grpc/index?view=aspnetcore-3.0
- SignalR – reconnection, authorization
- NewtonSoft => System.Text.JSON
- Windows Authentication has been extended onto Linux and macOS.
- GenericHost – see https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio#hostbuilder-replaces-webhostbuilder
- 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/
- Refactoring + Single SQL statement per LINQ query
- Restricted client evaluation – i.e. Explicit AsEnumerable
- C# 8.0 support – AsAsyncEnumerable
- 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
Leave a Reply