Shahab Ganji
banner
shahab-the-guy.dev
Shahab Ganji
@shahab-the-guy.dev
The guy who happened to be a software engineer!💻

Loves ⚽️🥋🚴‍♂️🎾⛷️and 📸

C# && Roslyn enthusiast. Passionate about DDD, CQRS, and Event Sourcing!

✍🏼 https://shahab-the-guy.dev
📹 https://www.youtube.com/@shahab-the-guy
📸 https://www.instagram.com/shahab_the_guy
`DiagnosticSuppressor` shines, when we want a dynamic behavior for enabling/disabling a `DiagnosticAnalyzer`. Here I am covering them and of course with tests 😉

👉🏼 bit.ly/4p8d99a or scan the QR code!

#Roslyn #DiagnosticAnalyzer #DiagnosticSuppressor #SourceGenerator #csharp #dotnet
November 16, 2025 at 12:00 PM
We are live, don’t miss out the show with @rlittlesii.bsky.social and me!

📺 (YouTube) 👉 www.youtube.com/watch?v=mPkg...
July 19, 2025 at 4:20 PM
At Microsoft build, a new way to run C# applications was introduced, check out my latest post to get familiar with it:

📝 bit.ly/4kopAeU

#csharp #build #Build2025 #MVPbuzz #dotnet #csproj #programming #softwaredevelopment #dotnet10
May 27, 2025 at 9:17 AM
Happy Persian new year! May it be less of anything representing a BBoM, and they've been transforming into well-defined bounded contexts, working autonomously under your control.

#Nowruz #PersianNewYear #software #development
March 20, 2025 at 9:01 AM
Suppress or enforce? In C#, you can silence warnings OR make sure critical ones can’t be ignored! Learn how to configure diagnostics and take control of your code analysis. ⚡

📚👉🏼 https://bit.ly/4bVU7gJ

#CSharp #Roslyn #CodeAnalysis #SourceGenerator #dotnet
March 16, 2025 at 9:01 AM
Hosted a session at #MicrosoftZwroToHero community! Great start, amazing experience 😊
March 7, 2025 at 7:33 PM
As a software engineer, just ranting about a wrong approach in a given context is not enough, we should provide options and alternatives! It applies to #diagnostic #analyzers, they should not just make noise, but providing #code #suggestion!

bit.ly/41eh0ay

#sourcegenerator #csharp #dotnet
February 26, 2025 at 8:31 AM
What about having an interface and then an abstract class as a value provider?
The source generator could implement the interface with returning a default instance, for those classes marked with [ReferenceDefault], not shared though!
February 24, 2025 at 5:42 PM
I still see some of my friends using connection strings to connect to resources on Azure when doing either development or even when the application is deployed; However, there are better and secure ways to achieve like using ManagedIdentity, or authenticating your machine!

bit.ly/4hPHYvY
February 23, 2025 at 12:30 PM