Skip to content
  • English Deutsch

benjamin-abt.com

Performance is a feature | Cloud - AI - Azure - .NET - Sustainability

  • Home
  • Blog
  • Portfolio
    • Overview
    • Workshops & Training
    • Publications
  • Contact
  • Home
  • Blog

Neuerungen in .NET 8

Neuerungen in .NET 8
May 15, 2023 2 min read BEN ABT
.NET

Dieser Artikel stammt aus dem Jahr 2023. Versionen, Werkzeuge und Empfehlungen können sich seitdem geändert haben. Neuere Beiträge findest du unter .NET.

Noch ein halbes Jahr bis zum Release von .NET 8 - Zeit sich anzuschauen, was wir neues erwarten dürfen.

LTS Release

.NET 8 ist erneut ein LTS-Release; wie alle geraden Versionsbezeichner. Das bedeutet:

  • Fixes für die Stabilität
  • Grundlegend keine experimentellen Features
  • Längerer Supportzeitraum für Fixes
  • In der Regeln bessere Kompatibilität zu Paken

Entsprechend halten sich die Neuerungen der Runtime in Grenzen. Framework-Bestandteile wie EF Core oder ASP.NET Core erhalten weit mehr Neueres.

Ganz im Zeichen von Native

.NET Native und Native AOT ist seit .NET 7 mit das wichtigste Feature; und zeitgleich unter der Haube das wohl größte und Ressource-bindenste Feature. Durch .NET Native wird es möglich, dass .NET Assemblies (endlich) wirklich nativen Code darstellen - keinen ILCode mehr.

Das bedeutet auch: Assemblies sind deutlich schwerer zu dekompilieren; die Inhalte sind “besser” geschützt - im Endeffekt als ob man C++ programmieren würde. Dies ist ein Feature, das vor allem Enterprise-Unternehmen sich schon sehr lange wünschen: und nun endlich kommt.

Da nativer Code ohne ILCode auskommt heisst das zeitgleich, dass alle Vorteile des JIT-Compilers zur Runtime nicht mehr enthalten sind.

Neue CLI Features

Seit .NET 8 Preview 3 gibt es einen neuen dotnet workload clean Befehl, mit dem der aktuelle Workspace von Überbleibseln aufgeräumt werden kann.

Neues Verzeichnis für Artifakte

Bisher war es für .NET-Entwickler völlig normal, dass es in jedem Projekt bin und obj Ordner gibt. Und genausolange wünschen sich eigentlich Entwickler, dass diese Ordner in einem zusammenfassenden Unterordner abgelegt werden können.

Dies ist nun durch eine aktuell noch optionale Eigenschaft konfigurierbar , die alle Artifakte in einem .artifacts unterordner zusammen fassen wird; jedoch nicht nur bin/obj, sondern auch Outputs von Publish- bzw. Package-Befehlen.

.artfiacts - Simplified output paths

C# 12

Wie fast alle, zumindest fast alle LTS Versionen gibt es auch diesmal ein erneutes Update der Sprache C#: mit .NET 8 wird C# 12 Einzug halten.

Die wichtigsten Updates von C# 12 sind

  • Primary constructors
  • Optional parameters in lambda expressions
  • Alias any type

Ob alle Features hierbei auch wirklich Teil der Release-Version werden, ist noch nicht final bekannt. Besonders bei den Alias Types hatte man sich erhofft, dass dies “echte Alias” sind wie man sie aus F# kennt (F# Type Abbreviations ) - es handelt sich aber nur um using-Aliase.


.NET 8 wird toll und .NET weiter nach Vorn bringen!

Related articles

Containerizing .NET in 2026 Without a Dockerfile

Oct 20, 2026 - 11 min read

Containerizing .NET in 2026 Without a Dockerfile

Most .NET Dockerfiles repeat the same five steps: restore, publish, select the matching Microsoft runtime image, copy the output and start …

Problem Details in ASP.NET Core and .NET 11

Oct 5, 2026 - 12 min read

Problem Details in ASP.NET Core and .NET 11

builder.Services.AddProblemDetails() registers infrastructure. It does not create an error contract. An ASP.NET Core request can fail during …

Resilience in .NET with Microsoft.Extensions.Resilience

Sep 21, 2026 - 11 min read

Resilience in .NET with Microsoft.Extensions.Resilience

Retries are the most visible resilience strategy and the easiest one to misuse. Repeating a failing call can recover from a short network …


BEN ABT

BEN ABT

Ben is Chief Engineering Officer and Principal Software Engineer at Medialesson.de, with a strong focus on .NET and Microsoft Azure. In his professional role, he designs and builds highly scalable platforms for hybrid and cloud-based scenarios. He also advises companies and C-levels on migrating to the sovereign cloud.

He runs myCSharp.de, the largest and most active German-speaking C# community forum, actively contributes to both his own and external open-source projects and regularly shares his knowledge through his blog, at community events, conferences and as a writer for technical magazines.

Let's Work Together

Looking for an experienced Platform Architect or Engineer for your next project? Whether it's cloud migration, platform modernization or building new solutions from scratch - I'm here to help you succeed.

New Platforms

Modernization

Training & Consulting

Contact Me
X Facebook LinkedIn WhatsApp
Back Next Blog Post

Open for work!

Contact Me
BEN ABT BEN ABT Software Engineer · Microsoft MVP Passionate about .NET, Azure, performance optimization and sustainable software engineering.

Medialesson GmbH Logo

Microsoft MVP Logo

Recent posts

View all
Stop Using nginx as Your Default Static File Server in Docker

Stop Using nginx as Your Default Static File Server in …

Oct 24, 2026
Containerizing .NET in 2026 Without a Dockerfile

Containerizing .NET in 2026 Without a Dockerfile

Oct 20, 2026
Problem Details in ASP.NET Core and .NET 11

Problem Details in ASP.NET Core and .NET 11

Oct 5, 2026
Resilience in .NET with Microsoft.Extensions.Resilience

Resilience in .NET with Microsoft.Extensions.Resilience

Sep 21, 2026
What Matters in ASP.NET Core 11

What Matters in ASP.NET Core 11

Sep 14, 2026

Tags

.NET (192) Csharp (96) ASP.NET Core (48) Azure (41) DevOps (17) Docker (14) Microsoft (14) EF Core (11) Microsoft MVP (11) AI (10) GitHub (10) GitHub Copilot (10) ASP.NET (9) Security (9) Synology (9) Architecture (8) Raspberry (8) Azure Functions (7) Cloudflare (7) Bicep (6)
benjamin-abt.com

About BEN

Benjamin Abt is a Software Engineer, Platform Architect and Microsoft MVP specializing in .NET, Azure, cloud architecture, performance optimization and sustainable software development.

Connect

  • Follow me on GitHub
  • Follow me on LinkedIn
  • Follow me on Mastodon
  • Microsoft MVP profile
  • Follow SchwabenCode on GitHub
  • Follow me on X

Quick Links

  • Portfolio
  • Blog
  • Workshops & Training
  • Publications
  • Get in Touch
  • Sitemap
Open for Work

© Copyright Benjamin Abt & SchwabenCode | 2011 - 2026

Content licensed under CC BY 4.0 unless otherwise noted.

  • Impressum
  • Privacy
  • Contact