25.05.2022 |
- 10:30 Uhr
- Pawel Gerr
Webinar: Roslyn Source Generators in .NET 6
In diesem Webinar lernen Sie, wie Sie einen Incremental Roslyn Source Generator implementieren, welcher mit .NET 6 verfügbar wurde.
Zuerst sehen wir uns einen Roslyn Source Generator in Aktion an und werden anschließend gemeinsam einen implementieren.
Das Webinar richtet sich an alle im .NET-Umfeld, die nach einer Möglichkeit suchen, den "boilerplate code" zu reduzieren. Kenntnisse mit anderen Code Generatoren und Reflection sind von Vorteil, aber keine Voraussetzung.
Mehr Beiträge zu .NET Core
Pawel Gerr
Pawel Gerr ist Architekt und Consultant bei Thinktecture. Er hat sich auf .NET Core Backends spezialisiert und kennt Entity Framework von vorne bis hinten.
Moderation
Marco Frodl
Marco Frodl ist Consultant bei der Thinktecture AG und versteht sich als ein IT-Dolmetscher zwischen Developern und Anwendern.
Agenda
- Roslyn Source Generator in Aktion
- Implementierung
- Q&A
Recording des Webinars
Slidedeck zum Webinar
Kommende Webinare: jetzt kostenlos anmelden
Aktuelle Webinar-Aufzeichnungen
Boris Wilhelms | 03.11.2022 | 10:30 Uhr
Boris Wilhelms | 16.11.2022 | 10:30 Uhr
Christian Weyer | 30.11.2022 | 10:30 Uhr
Weitere Artikel zu .NET Core
.NET
Blazor WebAssembly in Practice: Maturity, Success Factors, Showstoppers
ASP.NET Core Blazor is Microsoft's framework for implementing web-based applications, aimed at developers with knowledge of .NET and C#. It exists alongside other frameworks such as ASP.NET Core MVC. About two and a half years after the release of Blazor WebAssembly and based on our experiences from many customer projects at Thinktecture, we want to have a close look at the following questions: What is the current state of the framework? How can you successfully use Blazor? And where does it have limitations?
24.11.2022
.NET
Blazor WebAssembly: Debugging gRPC-Web with Custom Chrome Developer Tools
If you are working with Blazor, gRPC is a big issue for transferring data from APIs to clients. One issue of developing with gRPC-Web is debugging the transmitted data because the data is in an efficient binary message format. In this article, I will show you how to solve this problem with the help of my NuGet.
17.11.2022
.NET
Entity Framework Core: User-defined Fields and Tables
The requirement to store additional fields, unknown at development time, in a relational database is not new. Nonetheless, none of the projects I know of are willing to change the database structure at runtime. What if there is a project which needs dynamically created fields and doesn't want or cannot use entity–attribute–value model or switch to No-SQL databases?
20.09.2022
.NET
Incremental Roslyn Source Generators in .NET 6: Adapt Code Generation Based on Project Dependencies – Part 5
The Roslyn Source Generator, implemented in the previous articles of the series, emits some C# code without looking at the dependencies of the current .NET (Core) project. In this article our
DemoSourceGenerator
should implement a JsonConverter
, but only if the corresponding library (e.g. Newtonsoft.Json) is referenced by the project.08.07.2022
.NET
Dependency Injection Scopes in Blazor
The dependency injection system is a big part of how modern ASP.NET Core works internally: It provides a flexible solution for developers to structure their projects, decouple their dependencies, and control the lifetimes of the components within an application. In Blazor - a new part of ASP.NET Core - however, the DI system feels a bit odd, and things seem to work a bit differently than expected. This article will explain why this is not only a feeling but indeed the case in the first place and how to handle the differences in order to not run into problems later on.
31.05.2022
.NET
Incremental Roslyn Source Generators in .NET 6: Increasing Performance through Harnessing of the Memoization – Part 4
In Part 1 of this series we've implemented a simple Incremental Source Generator. Although we looked at all mandatory phases of an
IIncrementalGenerator
, still, the consideration was quite superficial. One of the biggest advantages of the new API, which makes the Source Generator an incremental one, is the built-in memoization, i.e. caching. To take full advantage from it, we have to make some preparations so Roslyn knows what to cache and how to compare the results of each phase.10.05.2022