---
title: "Discussion on \"Source Code Generation based Dependency Injection for .NET Core\" | Hashnode"
description: "Discussion on \"Source Code Generation based Dependency Injection for .NET Core\". Introduction\nThe .NET team recently introduced several improvements in .NET Core that use code generation, including:\n\nLogging\n\nRegular Expressions\n\nJSON Serialization\n\n\nGenerating code at compile time offers benefits in performance, memory usage, an..."
url: "https://hashnode.com/posts/source-code-generation-based-dependency-injection-for-net-core/68d63da77cad493ff25b0129"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Source Code Generation based Dependency Injection for .NET Core](https://aschommer.hashnode.dev/source-code-generation-based-dependency-injection-for-net-core?utm_source=hashnode&utm_medium=feed)

Introduction The .NET team recently introduced several improvements in .NET Core that use code generation, including: Logging Regular Expressions JSON Serialization Generating code at compile time offers benefits in performance, memory usage, an...

Sep 26, 2025 · 9 min read · aschommer.hashnode.dev  
Read the article

-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)
-   [#roslyn](https://hashnode.com/tag/roslyn)
-   [#code-generation](https://hashnode.com/tag/code-generation)

## Written by

[Andreas Schommer](https://hashnode.com/@aschommer)

@aschommer · Meerbusch, NRW

  
[View profile](https://hashnode.com/@aschommer)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
