---
title: "Discussion on \"Not every class needs to be injected\" | Hashnode"
description: "Discussion on \"Not every class needs to be injected\". A trend I see in code that gets written by friends and coworkers is that every class needs to be injected. They all look so surprised when I tell them that they don't have to do that with every class they need. Then they always follow up with: then w..."
url: "https://hashnode.com/posts/not-every-class-needs-to-be-injected/6067470c7f07b6328b5dd666"
---

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

Discussion

# [Not every class needs to be injected](https://kenbonny.net/not-every-class-needs-to-be-injected?utm_source=hashnode&utm_medium=feed)

A trend I see in code that gets written by friends and coworkers is that every class needs to be injected. They all look so surprised when I tell them that they don't have to do that with every class they need. Then they always follow up with: then w...

Mar 19, 2018 · 5 min read · kenbonny.net  
Updated Apr 8, 2021  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)
-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)

## Written by

[Ken Bonny](https://hashnode.com/@KenBonny)

@KenBonny

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

Software craftsman specialising in Microsoft technology

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
