BrandGhost

C# & .NET

Articles

How to Create Your First C# Source Generator (Step-by-Step)

How to Create Your First C# Source Generator (Step-by-Step)

Learn how to create a C# source generator with .NET 10. Step-by-step guide covering project setup, IIncrementalGenerator implementation, and packaging.

Read the whole article

Autofac ComponentRegistryBuilder in ASP.NET Core - How To Register Dependencies (Part 3)

Learn how to use Autofac ComponentRegistryBuilder in ASP.NET Core! We'll see how we can move closer to getting the C# plugin architecture support we want!

Read the whole article

Iterator Benchmarks That Shocked With Unexpected Results

I wanted to create a follow-up post in my series on IEnumerables, iterators, and collections focusing on performance characteristics. When checking out the runtime performance and memory characteristics between these materialized collections and iterator benchmarks, I was very surprised! Check out this article for performance benchmark characteristics and some curious finds.

Read the whole article

How to Explain Autofac Modules & Code Organization For Newbies

Organizing code into Autofac modules can make maintaining code much easier and improve extensibility! It all starts with the Autofac module class. Check it out!

Read the whole article

Dependency Injection with Autofac: Not as Difficult as You Think

Looking to get started using dependency injection with Autofac in your projects? Here's a quick primer on what it is and how to get going for your next project.

Read the whole article

An error has occurred. This application may no longer respond until reloaded. Reload