BrandGhost

Results for C#

Weekly Recap: GitHub Copilot SDK, C# Source Generators, and Design Patterns [Mar 2026]

This week covers building AI developer tools with the GitHub Copilot SDK in C# -- from CLI tools and coding agents to ASP.NET Core AI APIs -- plus deep dives into C# source generators with incremental pipelines and Roslyn syntax trees, and practical guides on observer, singleton, decorator, and factory method design patterns.

Read the whole article

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

Chunking Strategies for RAG with Semantic Kernel in C#: Fixed-Size, Sentence, and Semantic Chunking

Learn chunking strategies for RAG with Semantic Kernel in C#. Compare fixed-size, sentence-boundary, paragraph, and semantic chunking approaches with complete .NET code examples to improve retrieval accuracy in your RAG pipelines.

Read the whole article

Weekly Recap: Semantic Kernel Plugins, GitHub Copilot SDK, and C# Design Patterns [Mar 2026]

This week covers building AI-powered applications with Semantic Kernel and the GitHub Copilot SDK in C#, from custom plugins and RAG to multi-agent patterns. Plus a deep dive into C# design patterns -- Strategy, Prototype, and Factory Method complete guides.

Read the whole article

Weekly Recap: Microsoft Agent Framework, Semantic Kernel, and Builder Patterns in C# [Feb 2026]

This week covers the Microsoft Agent Framework in C# -- from core AIAgent abstractions to AgentSessions and function tools -- plus Semantic Kernel agents and plugins, Builder pattern deep dives, and GitHub Copilot SDK development. Also included: new videos on software engineering planning and hiring insights.

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

Facade Pattern: A Beginner's How-To for Simplified Code

The facade pattern is useful for hiding complexity by moving dependencies behind an API. Let's dive into the facade design pattern in C# in this article!

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