Source Generator in .NET

Implement Builders easily with Source Generator in .NET

I created a YouTube video on Source Generator in which I showcased one possible implementation. However, I feel that I didn’t fully highlight its capabilities. In this blog post, I aim to demonstrate how to use the Source Generator to automatically create builders for a given class. Check the YouTube video and the source code here For our Builder Generator implementation, let’s start from scratch. Create a new class library project, name it SourceGenerator, add the necessary NuGet package references, and add a new class called AutoBuilderGenerator as shown in the code snippet below ...

February 28, 2024 · 4 min · Mohamad Dbouk
CodeWhisperer: Amazon Answer to GitHub Copilot

CodeWhisperer: Amazon Answer to GitHub Copilot

Hey friends, have you heard the latest news about AWS? Amazon has just released CodeWhisperer, an AI tool that you can use inside your IDE. This new tool is similar to GitHub Copilot, but it’s free for individuals, and it has some additional features that make it stand out. In this blog post, we’ll take a closer look at CodeWhisperer and see how it compares to its competitors. Me trying to code without CodeWhisperer ...

April 15, 2023 · 6 min · Mohamad Dbouk