Talk | 
BASTA! Spring 2022
 | 22.02.2022

Web-APIs mit async/await: Wobei hilft’s und wie funktioniert’s?

.NET bietet uns mit async/await einen sehr einfachen Weg, um I/O-Operationen asynchron durchzuführen. Insbesondere unsere Web-APIs arbeiten ja mit viel Netzwerk-I/O. Doch was bedeutet es eigentlich wirklich, etwas asynchron auszuführen? Was passiert dort im Hintergrund? Warum ist asynchroner I/O überhaupt besser als synchroner? Was ist denn überhaupt dieser Task, auf den mein Code wartet? Ist das nicht eigentlich ein Thread? Und warum baden die Threads in .NET überhaupt in einem Pool?

Diese Fragen und einige mehr wird Ihnen der .NET- und Backend-Experte Sebastian Gingter in dieser Session beantworten und darüber hinaus auf Best Practices sowie einige Tipps und Tricks eingehen. Nach diesem Talk haben Sie das notwendige Handwerkszeug beisammen, um Ihre Web-APIs an den richtigen Stellen durch asynchrone Operationen zu optimieren.

Sebastian Gingter ist Consultant bei Thinktecture. Er ist Microsoft MVP und seine Spezialgebiete sind Generative AI im Businessumfeld sowie Backend-Systeme mit ASP.NET Core.

Event

BASTA! Spring 2022
21.02.22  
- 25.02.22 
@ Frankfurt
 (DE)
Basta

Links & Materialien

Mehr Beiträge zu .NET Core, API, ASP.NET Core

Hallo, .NET Developer!

Du begeisterst Dich für .NET-basierte Cloud-Native-Lösungen?

Du möchtest, dass Deine Expertise zum Einsatz kommt und von einer Expertenschaft gechallenged wird? Du weißt, dass nur durch Research auch während der Arbeitszeit neue Technologien erlernbar sind und erst damit Innovation möglich wird?

Aufzeichnung

No Data Found

No Data Found

Weitere Artikel zu .NET Core, API, ASP.NET Core

Database Access with Sessions
.NET
KP-round

Data Access in .NET Native AOT with Sessions

.NET 8 brings Native AOT to ASP.NET Core, but many frameworks and libraries rely on unbound reflection internally and thus cannot support this scenario yet. This is true for ORMs, too: EF Core and Dapper will only bring full support for Native AOT in later releases. In this post, we will implement a database access layer with Sessions using the Humble Object pattern to get a similar developer experience. We will use Npgsql as a plain ADO.NET provider targeting PostgreSQL.
15.11.2023
Old computer with native code
.NET
KP-round

Native AOT with ASP.NET Core – Overview

Originally introduced in .NET 7, Native AOT can be used with ASP.NET Core in the upcoming .NET 8 release. In this post, we look at the benefits and drawbacks from a general perspective and perform measurements to quantify the improvements on different platforms.
02.11.2023
.NET
KP-round

Optimize ASP.NET Core memory with DATAS

.NET 8 introduces a new Garbage Collector feature called DATAS for Server GC mode - let's make some benchmarks and check how it fits into the big picture.
09.10.2023
.NET CORE
pg

Incremental Roslyn Source Generators: High-Level API – ForAttributeWithMetadataName – Part 8

With the version 4.3.1 of Microsoft.CodeAnalysis.* Roslyn provides a new high-level API - the method "ForAttributeWithMetadataName". Although it is just 1 method, still, it addresses one of the biggest performance issue with Source Generators.
16.05.2023
.NET
sg

.NET 7 Performance: Regular Expressions – Part 2

There is this popular quote by Jamie Zawinski: Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems."

In this second article of our short performance series, we want to look at the latter one of those problems.
25.04.2023
ASP.NET Core
favicon

Architektur-Modernisierung: Migration von WCF zu gRPC mit ASP.NET Core – ein pragmatischer Ansatz

Viele Projekte mit verteilten Anwendungen in der .NET-Welt basieren noch auf der Windows Communication Foundation (WCF). Doch wie kommt man weg von der "Altlast" und wie stellt man seinen Code auf sowohl moderne als auch zukunftssichere Beine? Eine mögliche Lösung ist gRPC.

13.04.2023

Unsere Webinare

Unsere Artikel

Mehr über uns