First shot at a public #csharp #dotnet 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’ #sourcegenerators using the IIncrementalGenerator to help generate some boiler plate interface implementations. Also provides a #Serilog sink. All compiled libraries are #nuget feeds #WebLogger
#csharp #dotnet #sourcegenerators #serilog #nuget #weblogger
Episode 429 of FreeCodeSession is live!
#sourcegenerators #roslyn #csharp
Episode 428 of FreeCodeSession is live!
#sourcegenerators #roslyn #csharp
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 (https://martinjt.me/2022/05/03/evil-monkeypatching-in-c-with-rosyln-source-generators/) but there are better ways to do most of what they do.
Episode 427 of FreeCodeSession is live!
#sourcegenerators #roslyn #csharp
Episode 426 of FreeCodeSession is live!
#sourcegenerators #roslyn #csharp
Episode 425 of FreeCodeSession is live!
#sourcegenerators #roslyn #csharp
Episode 424 of FreeCodeSession is live!
#sourcegenerators #roslyn #csharp
🎅 Ho ho ho, dear #dotnet 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 ➡ https://tinyurl.com/mvvm-generators
Advent Calendar ➡ https://dotnet.christmas
🎄 Happy Reading and Happy Holidays!
#dotnetchristmas #csharp #mvvm #codegeneration #sourcegenerators
#dotnet #dotnetchristmas #csharp #mvvm #codegeneration #sourcegenerators
🎅 Ho ho ho, dear #dotnet 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 ➡ https://tinyurl.com/mvvm-generators
Advent Calendar ➡ https://dotnet.christmas
🎄 Happy Reading and Happy Holidays!
#dotnetchristmas #csharp #mvvm #codegeneration #sourcegenerators
#dotnet #dotnetchristmas #csharp #mvvm #codegeneration #sourcegenerators
Episode 423 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 422 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 421 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 420 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 419 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 418 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 417 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 416 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 415 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp
Episode 414 of FreeCodeSession is live!
#rocks #mocking #sourcegenerators #roslyn #csharp