xaferoxafero.hashnode.dev·Apr 6, 2024Generating C# code programmaticallyRecently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi...DiscussC#
Julian Ewers-Petersblog.ewers-peters.de·Feb 16, 2024Add automatic route registration to your .NET MAUI appIntroduction In December of 2023, I introduced the epj.RouteGenerator package which provides a facility to have route identifiers for .NET-based frontend applications auto-generated for you, taking away a few pain points with string-based route navig...Discuss·1.3K readsdotnet
Julian Ewers-Petersblog.ewers-peters.de·Dec 19, 2023Introducing Route Generator for .NETIntroduction Modern .NET applications have adopted the concept of routes for navigation. Usually, these routes are string-based, which has a couple of implications. One of the problems is the volatility of route names, which I am addressing in this b...Discuss·2 likes·1.5K readssourcegenerators
İbrahim Uludağdotdev.com.tr·Dec 13, 2023Source GeneratorsSource Generators are part of Roslyn feature that automatically generates code during the compilation process. Why Source Generators Alternatıve to Reflection It is compile time not runtime Unblock AOT trimming It is just code Demo The code ...DiscussC#
Pavlo Datsiukpavlodatsiuk.hashnode.dev·Nov 23, 2023Efficiency Unleashed: C# Source Generators and the Future of MAUI AppsHarnessing the Power of C# Source Generators for MAUI Development In the dynamic realm of .NET development, the rise of Source Generators, a Roslyn feature, has been noteworthy, especially with the latest .NET iterations. These generators empower dev...Discuss·56 readsmaiu
Yassine FERNANEProfrntech.fr·Nov 16, 2023Source Generators par l'exemple : IIncrementalGeneratorEncore les Source Generators, il en a pas assez ? Alors, oui, c'est un sujet assez vaste. Et à vrai dire, ma roadmap ne fait que s'allonger à mesure que je creuse le sujet. J'envisage encore d'aborder les tests sur notre code généré, le debugging et...Discuss·1 like·74 reads.Net avancésourcegenerators
Yassine FERNANEProfrntech.fr·Aug 5, 2023Les Source Generators par l'exemple : ISourceGeneratorDans la première partie de cette série de billet sur les Source Generators nous avons défini ce qu'ils étaient et dans quel cas nous pourrions les utiliser, sans donner d'exemple de code. C'était volontaire, pour éviter d'avoir un article trop long. ...Discuss·1 like·82 reads.Net avancésourcegenerators
Yassine FERNANEProfrntech.fr·Jul 24, 2023Introduction aux Source GeneratorsPour ce billet, j'ai eu l'envie d'aborder le sujet des Source Generators. En effet, j'ai dans l'idée de créer un petit package pour générer automatiquement des DTOs, ainsi que le mapping entre domain model et DTOs. Et pourquoi pas aller plus loin en ...Discuss·2 likes·128 reads.Net avancésourcegenerators
Julian Ewers-Petersblog.ewers-peters.de·Feb 3, 2023Easily control the executability of Commands using MVVM Source GeneratorsIntroduction Welcome to the third part of my mini-series about MVVM Source Generators for C# .NET and the awesomeness of the MVVM Community Toolkit. So far, we have seen how we can save ourselves from writing too much boilerplate code when applying t...Discuss·10 likes·8.5K readsMVVM Goodness in .NETMVVM
Julian Ewers-Petersblog.ewers-peters.de·Jan 9, 2023MVVM Source Generators: Advanced ScenariosIntroduction Welcome to the second article of my mini-series about MVVM Source Generators for C# .NET. In the previous post, I discussed the basics and most important features that the MVVM Community Toolkit provides, specifically attributes that can...Discuss·4.8K readsMVVM Goodness in .NETMVVM