๐ŸงตA thread of System.Text.Json features in the .NET 5.

Nine tweets with examples ๐Ÿค“

Retweets are appreciated ๐Ÿ™

#dotnet #coding #devcommunity #json #programming
Preserve references and handle circular references.
HttpClient and HttpContent extension methods.
Support immutable types and Records.
Support non-public property accessors.
Support non-string-key dictionaries.
Allow custom converters to handle null.
Copy JsonSerializerOptions.
Create JsonSerializerOptions with web defaults.

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Oleg Kyrylchuk

Oleg Kyrylchuk Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @okyrylchuk

6 Sep
Self-contained apps are cool in #dotnet. You can bundle runtime and framework with the app. The downside is the size.

To resolve the size problem you can use app trimming.

.NET 5 introduces multiple options to trim the app.

1/4 ๐Ÿงต

#coding #devcommunity
The assembly-level trimming leaves only used assemblies in the app.

TrimMode=CopyUsed is default when using PublishTrimmed=true.

Result: 10.8 MB.

2/4
The member-level trimming is more aggressive. It removes types and members that are not used.

โš ๏ธ It's an experimental feature. It's not ready for mainstream use.

Result: 2.58 MB.

3/4
Read 4 tweets
22 Aug
All my 26 tweets about Entity Framework Core 5.0 features in one thread for better accessibility ๐Ÿงต

It's not a complete list, more features you can find by the link below ๐Ÿ‘‡

Retweets are appreciated ๐Ÿ˜Š

#dotnet #efcore #coding #DEVCommunity
docs.microsoft.com/en-us/ef/core/โ€ฆ
Read 28 tweets
25 Jul
I've been tweeting every single day about C#9 features for 20 days.

I've gathered all my tweets in one thread.

Also, I've published all examples from my graphics to GitHub. Feel free to play with code github.com/okyrylchuk/cshโ€ฆ

Retweets are appreciated ๐Ÿ˜Š

#dotnet #csharp
Read 21 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(