layout: true
--- class: center, middle # Agenda 0. About me 2. C# 9 2. ASP.NET Core 5 3. Code generators 3. EF Core 5 4. Automatic Update -ClickOnce 5. Breaking Changes 5. Questions ? Presentation at https://ignatandrei.github.io/Presentations/NET5prez.html Code at https://ignatandrei.github.io/Presentations/NET5.zip --- class: center, top # About me ![:img ignat, 10%](ignat.jpg) Andrei Ignat http://msprogrammer.serviciipeweb.ro/ www.ASP.NET forum moderator YouTube 5 minutes .NET and tools : http://bit.ly/5MinTools Book Making Open Source Component : http://bit.ly/NetOpenSourceComponent Book Copy Paste from StackOverflow : https://amzn.to/2PQ8EDc Monthly meetings: https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/ TD @ EA --- class: center, top # C# 9 records , init only setters, new , Extension GetEnumerator support for foreach loops pattern matching and, or, not , https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9 Examples TBD --- class: center, middle # ASP.NET Core 5 https://docs.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-5.0?view=aspnetcore-5.0 Swagger JSON extensions Startup class Blazor SignalR Kestrel TBD --- class: center, middle # Code generators Just add code, do not modify, at Build Time https://github.com/dasMulli/data-builder-generator https://github.com/dotnet/roslyn/blob/master/docs/features/source-generators.cookbook.md https://www.cazzulino.com/source-generators.html example : Skinny Generators https://github.com/ignatandrei/AOP_With_Roslyn --- class: center, middle # EF Core 5 https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-5.0/whatsnew https://docs.microsoft.com/en-us/ef/core/managing-schemas/scaffolding Demo for ToSqlQuery ,PropertyBags- dictionary, Split-Query, ToQueryString Many , many more: Many2Many Dotnet counters ISaveChangesInterceptor ( see also https://docs.microsoft.com/en-us/ef/core/logging-events-diagnostics/interceptors ) Migrations , TPT instead of TPH Table Valued Functions ToTable / ToView ContextFactory - to create FilteredInclude [Keyless] --- class: center, middle # Automatic Update -ClickOnce AutoUpdate applications - Demo https://data-to-code.eu/app/ --- class: center, middle # Breaking Changes https://docs.microsoft.com/en-us/dotnet/core/compatibility/5.0 https://docs.microsoft.com/en-us/ef/core/what-is-new/ef-core-5.0/breaking-changes https://jimmybogard.com/mind-your-strings-with-net-5-0/ https://www.infoq.com/news/2020/12/net-5-breaking-changes/ https://www.infoq.com/news/2020/12/net-5-breaking-changes-2/ Demo: globalization --- class: center, top # Questions? ![:img ignat, 10%](ignat.jpg) Andrei Ignat http://msprogrammer.serviciipeweb.ro/ www.ASP.NET forum moderator YouTube 5 minutes .NET and tools : http://bit.ly/5MinTools Book Making Open Source Component : http://bit.ly/NetOpenSourceComponent Book Copy Paste from StackOverflow : https://amzn.to/2PQ8EDc Monthly meetings: https://www.meetup.com/Bucharest-A-D-C-E-S-Meetup/ TD @ EA ---