<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Clean-Architecture on ByteCrafted</title>
    <link>https://bytecrafted.dev/tags/clean-architecture/</link>
    <description>Recent content in Clean-Architecture on ByteCrafted</description>
    <image>
      <title>ByteCrafted</title>
      <url>https://bytecrafted.dev/favicons/android-chrome-512x512.png</url>
      <link>https://bytecrafted.dev/favicons/android-chrome-512x512.png</link>
    </image>
    <generator>Hugo -- 0.155.2</generator>
    <language>en</language>
    <lastBuildDate>Mon, 05 Jan 2026 00:00:00 +0530</lastBuildDate>
    <atom:link href="https://bytecrafted.dev/tags/clean-architecture/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Why Most Service Layers Make Code Worse</title>
      <link>https://bytecrafted.dev/why-most-service-layers-make-code-worse/</link>
      <pubDate>Mon, 05 Jan 2026 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/why-most-service-layers-make-code-worse/</guid>
      <description>Why service layers often turn into transaction scripts, create anemic domain models, and make testing harder. A senior-engineer perspective on orchestration vs business logic.</description>
    </item>
    <item>
      <title>The Real Difference Between Domain and Application Layer in Clean Architecture</title>
      <link>https://bytecrafted.dev/domain-vs-application-layer-clean-architecture/</link>
      <pubDate>Sat, 22 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/domain-vs-application-layer-clean-architecture/</guid>
      <description>Understand the practical difference between Domain and Application layers in Clean Architecture with real ASP.NET Core examples. Learn where business logic belongs.</description>
    </item>
    <item>
      <title>Building Maintainable EF Core Repositories Without Generic Hell</title>
      <link>https://bytecrafted.dev/building-maintainable-ef-core-repositories-without-generic-hell/</link>
      <pubDate>Thu, 13 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/building-maintainable-ef-core-repositories-without-generic-hell/</guid>
      <description>Avoid generic repository anti-patterns in EF Core. Learn how to build maintainable, domain-specific repositories with clear boundaries, better testability, and no over-engineering.</description>
    </item>
    <item>
      <title>How to Structure Your ASP.NET Core API for Clean Testing</title>
      <link>https://bytecrafted.dev/how-to-structure-aspnet-core-api-clean-testing/</link>
      <pubDate>Fri, 07 Nov 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/how-to-structure-aspnet-core-api-clean-testing/</guid>
      <description>Learn how to structure your ASP.NET Core API for clean, testable code. Discover the right folder layout, dependency direction, and WebApplicationFactory setup with practical C# examples.</description>
    </item>
    <item>
      <title>Why I Avoid Static Helpers in Modern C# Projects</title>
      <link>https://bytecrafted.dev/avoid-static-helpers-csharp/</link>
      <pubDate>Tue, 30 Sep 2025 09:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/avoid-static-helpers-csharp/</guid>
      <description>Static helper classes in C# look convenient, but they cause tight coupling, testing headaches, and global state issues. Here’s why I avoid them in modern .NET projects and what I do instead.</description>
    </item>
    <item>
      <title>ASP.NET Core: Auth with Middleware or Filters?</title>
      <link>https://bytecrafted.dev/aspnetcore-auth-middleware-vs-filters/</link>
      <pubDate>Fri, 12 Sep 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/aspnetcore-auth-middleware-vs-filters/</guid>
      <description>ASP.NET Core authentication explained: choose between middleware or filters for optimal security, maintainability, and performance.</description>
    </item>
    <item>
      <title>3 Signs Your Code Needs Middleware</title>
      <link>https://bytecrafted.dev/3-signs-your-code-needs-middleware-aspnet-core/</link>
      <pubDate>Thu, 21 Aug 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/3-signs-your-code-needs-middleware-aspnet-core/</guid>
      <description>Learn when to use ASP.NET Core middleware instead of filters or services. Spot code duplication, request handling issues, and tight coupling early.</description>
    </item>
    <item>
      <title>Why Constructor Injection Matters in Clean Architecture</title>
      <link>https://bytecrafted.dev/aspnet-core-constructor-injection-clean-architecture/</link>
      <pubDate>Mon, 18 Aug 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/aspnet-core-constructor-injection-clean-architecture/</guid>
      <description>Learn why constructor injection is the first step in implementing clean architecture, enabling maintainable, testable, and decoupled C# code.</description>
    </item>
    <item>
      <title>Applying OOP in ASP.NET Core</title>
      <link>https://bytecrafted.dev/oop-pillars-aspnet-core/</link>
      <pubDate>Sun, 10 Aug 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/oop-pillars-aspnet-core/</guid>
      <description>Learn how to apply the four pillars of object-oriented programming, encapsulation, inheritance, abstraction, and polymorphism, in real-world ASP.NET Core applications with practical code examples.</description>
    </item>
  </channel>
</rss>
