Next up at #NDCOslo is "Hidden gems in .NET Core 3" by @DamianEdwards and @davidfowl
New GC limits and defaults to allow control over how much memory is used
AssemblyLoadContext replaces AppDomains. Supports unloading assemblies! Also supports loading both managed and native assemblies
Startup hooks allow code to be run *before* the entry point to your application.
New diagnostic tools and APIs
Performance traces can be collected from running processes for analysis
ReadyToRun publishes partially ahead-of-time compiled native images. This means fast startup. Tiered compilation means that code gets re-JIT compiled to optimize for the target machine at runtime
Publish single (large!) .exe file with all dependencies embedded
Tree shaking to remove unused code paths, assemblies and types from the published application.
Native interop improvements - managed C++/CLI, COM, WinRT.
NativeLibrary replaces DllImport and provides a better cross-platform experience
Hardware intrinsics support, e.g. vector instructions
IAsyncDisposable avoids synchronous flushing of streams
Distributed tracing gives correlated logs across processes, including client / server request lifecycle
Zipkin, Application Insights, etc can be used to view traces
Runtime feature detection - detect whether it is possible to emit generated code, and whether it will be jitted or interpreted
Kestrel no longer requires libuv on *nix. Lower overhead in certain scenarios
Static web content can be distributed in class libraries or packages
Pipeline API provides direct access to buffers etc without using Stream. Avoids allocations
Bedrock allows implementing your own client / server code on top of the Kestrel network stack
Support for trailing HTTP headers
Non-HTML exception pages! Also pluggable support for custom exception responses (e.g. JSON)
Compression improvements over HTTPS
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Ben Owen @ #NDCOslo 🇧🇻
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


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

Become a Premium Member ($3.00/month or $30.00/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!