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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Cyril
December 10, 2020
Programming
72
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
More Decks by Cyril
See All by Cyril
Annonces de la .NET Conf 2019
cyrilcathala
0
74
Build 2018 - Xamarin
cyrilcathala
1
56
Microsoft Build 2017 Mobile Wrap-Up
cyrilcathala
0
130
Mobile Deep Linking
cyrilcathala
0
130
Programmation Réactive - Reactive Extensions
cyrilcathala
0
86
Xamarin.iOS - AutoLayout + iOS 9
cyrilcathala
0
470
Other Decks in Programming
See All in Programming
contenteditable と日本語入力に向き合う
colorful12
0
210
ChromeでローカルLLM
ryu1013
0
160
AWSに止められる覚悟してますか?
morizo_1984
2
550
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
370
残高管理から台帳サービスへの進化
artoy
1
210
気持ちぃ〜角丸 Squircle
ryu1013
0
330
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
160
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
110
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
190
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.7k
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
110
Featured
See All Featured
Everyday Curiosity
cassininazir
0
360
Abbi's Birthday
coloredviolet
4
10k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
580
Designing Powerful Visuals for Engaging Learning
tmiket
1
610
How to Talk to Developers About Accessibility
jct
2
590
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
From π to Pie charts
rasagy
1
410
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
BBQ
matthewcrist
90
10k
Transcript
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 !