Eric Williams · @ewilliams
1 followers · 7 posts · Server techhub.social

First shot at a public open source project. This originally served some business needs for a proprietary platform and has proven useful in other areas. Also includes my first ‘relatively successful’ using the IIncrementalGenerator to help generate some boiler plate interface implementations. Also provides a sink. All compiled libraries are feeds

github.com/ewilliams0305/WebLo

#csharp #dotnet #sourcegenerators #serilog #nuget #weblogger

Last updated 2 years ago

Jason Bock · @jasonbock
155 followers · 206 posts · Server mstdn.social
Jason Bock · @jasonbock
155 followers · 206 posts · Server mstdn.social
MartinDotNet · @Martindotnet
578 followers · 577 posts · Server hachyderm.io

If you find yourself using a source generator in your own solution, so that you can add an attribute to a class with a tonne of parameters and have it generate the source, consider whether there is a better way.

Generics, inheritance, or just... WRITE THE DAMN CODE.

Generator code is hard to read in raw form, hard to debug, etc.

Source Generators are useful, especially for shit posting (martinjt.me/2022/05/03/evil-mo) but there are better ways to do most of what they do.

#dotnet #sourcegenerators

Last updated 3 years ago

Jason Bock · @jasonbock
155 followers · 206 posts · Server mstdn.social
Jason Bock · @jasonbock
155 followers · 206 posts · Server mstdn.social
Jason Bock · @jasonbock
155 followers · 206 posts · Server mstdn.social
Jason Bock · @jasonbock
155 followers · 206 posts · Server mstdn.social
Julian Ewers-Peters · @ewerspej
3 followers · 11 posts · Server hachyderm.io

🎅 Ho ho ho, dear developers! The season's upon us and it's time to open door #20 of the advent calendar!

My latest blog post is part of the dotnet.christmas calendar by Dustin Moris and is about MVVM Source Generators for C# .NET. Check it out:

Blog Post ➡ tinyurl.com/mvvm-generators
Advent Calendar ➡ dotnet.christmas

🎄 Happy Reading and Happy Holidays!

#dotnet #dotnetchristmas #csharp #mvvm #codegeneration #sourcegenerators

Last updated 3 years ago

Julian Ewers-Peters · @ewerspej
4 followers · 12 posts · Server hachyderm.io

🎅 Ho ho ho, dear developers! The season's upon us and it's time to open door #20 of the advent calendar!

My latest blog post is part of the dotnet.christmas calendar by Dustin Moris and is about MVVM Source Generators for C# .NET. Check it out:

Blog Post ➡ tinyurl.com/mvvm-generators
Advent Calendar ➡ dotnet.christmas

🎄 Happy Reading and Happy Holidays!

#dotnet #dotnetchristmas #csharp #mvvm #codegeneration #sourcegenerators

Last updated 3 years ago

Jason Bock · @jasonbock
102 followers · 96 posts · Server mstdn.social
Jason Bock · @jasonbock
70 followers · 83 posts · Server mstdn.social
Jason Bock · @jasonbock
70 followers · 83 posts · Server mstdn.social
Jason Bock · @jasonbock
70 followers · 83 posts · Server mstdn.social
Jason Bock · @jasonbock
70 followers · 83 posts · Server mstdn.social
Jason Bock · @jasonbock
47 followers · 33 posts · Server mstdn.social
Jason Bock · @jasonbock
47 followers · 33 posts · Server mstdn.social
Jason Bock · @jasonbock
47 followers · 33 posts · Server mstdn.social
Jason Bock · @jasonbock
47 followers · 33 posts · Server mstdn.social
Jason Bock · @jasonbock
30 followers · 9 posts · Server mstdn.social