Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Salut .NET 5, quoi de neuf ?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Cyril
December 10, 2020
Programming
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Salut .NET 5, quoi de neuf ?
Résumé des nouveautés dernières .NET 5, C# 9 et Visual Studio.
Cyril
December 10, 2020
Transcript
25 slides
10/12/2020 Salut .NET 5, quoi de neuf ?
Cyril CATHALA A propos ➔ .NET, Azure, Mobile ➔ Coach
Technique – SOAT ➔ MVP Developer Technologies @CyrilCathala in/cyrilcathala
[email protected]
3 .NET 5
Roadmap .NET Core 4
.NET 5 – Unification 5
.NET 5 6 ➔ Target framework > net5.0 : Crossplatform
> net5.0-windows : Forms, WPF, WinRT… > net6.0-ios, net6.0-android : Xamarin ➔ Performances+++ > gRPC, Arm64, JSON ➔ Support de Windows Arm64 ➔ System.Text.Json amélioré ➔ Extensions HttpClient pour JSON > GetFromJsonAsync<T>() ➔ Application single file
.NET 5 - Windows 7 ➔ Designer Windows Forms +
WPF ➔ Installeur ClickOnce ➔ Plus besoin d’avoir .NET Framework installé ➔ Contrôle moderne WebView2
ASP.NET Core 8 ➔ Model binding supporte les records ➔
OpenAPI (ex-Swagger) supporté par défaut ➔ SignalR Hub Filters > Middleware des hubs ➔ Blazor > Cf. Jérôme & Jonathan !
Entity Framework Core 9 ➔ Relations many-to-many ❤ ➔ Table-per-type
mapping ➔ Mapping d’une entity avec une query ➔ Interception du SaveChanges > SavingChanges, SavedChanges ➔ Include() avec filtre ➔ Amélioration des migrations > Transactions et exclusion de tables
10 C# 9
C# 9 – Init-only properties 11 ➔ Propriétés initialisables à
l’instanciation uniquement
C# 9 - Records 12 ➔ Classe immutable par défaut
➔ Support de l’héritage ➔ Implémentation automatique > Comparaison par valeurs > GetHashCode() > Copy / Clone > PrintMembers / ToString()
C# 9 - Records 13 ➔ Copie avec with ➔
Déclaration plus compacte : positional records > Deconstruct()
C# 9 - Top-level Programs 14
C# 9 - Patterns 15 ➔ Patterns logiques : and,
or, not ➔ Patterns relationnels : <, <=, >, >= ➔ Compatible avec tous les patterns : is, switch, case
C# 9 - new() 16 ➔ Omission du type quand
il est implicite
C# 9 - Source Generator 17 ➔ Génération de code
source (quelle surprise !) ⚠ Preview ⚠ ➔ Complément ou remplacement pour la reflection, modification d’IL, tâches MSBuild ou T4
18 Visual Studio
Visual Studio 2019 16.8 19 ➔ Support Git
Visual Studio 2019 16.8 20 ➔ Support Git ➔ .NET
Analyzers
Visual Studio 2019 16.8 21 ➔ Support Git ➔ .NET
Analyzers ➔ Aide sur les noms de paramètre et types
Visual Studio 2019 16.9 Preview 22 ➔ Point-virgule automatique
Visual Studio 2019 16.9 Preview 23 ➔ Point-virgule automatique ➔
Using automatique après une copie
Visual Studio 2019 16.9 Preview 24 ➔ Point-virgule automatique ➔
Using automatique après une copie ➔ Génération de propriété bindée
@CyrilCathala in/cyrilcathala
[email protected]
Merci !
More Decks by Cyril
See All by Cyril
Annonces de la .NET Conf 2019
cyrilcathala
0
78
Build 2018 - Xamarin
cyrilcathala
1
58
Microsoft Build 2017 Mobile Wrap-Up
cyrilcathala
0
140
Mobile Deep Linking
cyrilcathala
0
140
Programmation Réactive - Reactive Extensions
cyrilcathala
0
88
Xamarin.iOS - AutoLayout + iOS 9
cyrilcathala
0
470
Other Decks in Programming
See All in Programming
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
180
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
Ruby から Emacs を操作したい
phigasui
0
250
[DroidKnights 2026] Workflow AX 적용기 — 자동 정책 정리부터 E2E까지
dayeon
0
100
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
220
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
220
AI-Powered Domain-Driven Design
ziobrando
0
460
AI Augmentation Techniques with Liberty
ivargrimstad
1
500
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
350
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
340
SODA - FACT BOOK(JP)
sodainc
1
40k
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
240
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.6k
Being A Developer After 40
akosma
PRO
92
590k
The Curse of the Amulet
leimatthew05
4
17k
エンジニアに許された特別な時間の終わり
watany
109
250k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Scaling GitHub
holman
464
140k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
980
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
The untapped power of vector embeddings
frankvandijk
2
2k