<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Safwan Rusli</title>
    <description>The latest articles on Forem by Safwan Rusli (@safwan_rusli_c07e0e21d057).</description>
    <link>https://forem.com/safwan_rusli_c07e0e21d057</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3648909%2Fe38a4b29-78ed-4126-978f-5ee9afee87ab.jpg</url>
      <title>Forem: Safwan Rusli</title>
      <link>https://forem.com/safwan_rusli_c07e0e21d057</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/safwan_rusli_c07e0e21d057"/>
    <language>en</language>
    <item>
      <title>I got tired of setting up the same .NET architecture every project for 31 times, so I built a clean starter template kit</title>
      <dc:creator>Safwan Rusli</dc:creator>
      <pubDate>Sat, 06 Dec 2025 08:18:54 +0000</pubDate>
      <link>https://forem.com/safwan_rusli_c07e0e21d057/i-got-tired-of-setting-up-the-same-net-architecture-every-project-for-31-times-so-i-built-a-clean-2c3j</link>
      <guid>https://forem.com/safwan_rusli_c07e0e21d057/i-got-tired-of-setting-up-the-same-net-architecture-every-project-for-31-times-so-i-built-a-clean-2c3j</guid>
      <description>&lt;p&gt;Every time I started a new .NET project, I ended up repeating the same setup:&lt;br&gt;
Clean Architecture folder structure&lt;br&gt;
Layer separation (API → Application → Infrastructure → Domain) and Common layer&lt;br&gt;
EF Core migrations&lt;br&gt;
Generic services&lt;br&gt;
CRUD patterns&lt;br&gt;
Boilerplate configs and wiring&lt;/p&gt;

&lt;p&gt;It usually took 1–2 days just to get everything into a clean, production-ready state before writing real features.&lt;/p&gt;

&lt;p&gt;So I created my own reusable starter template to speed up development and reduce the “setup tax”.&lt;/p&gt;

&lt;p&gt;It’s not a framework — just a clean, opinionated structure with examples, generic services, and documentation that explains how everything fits together.&lt;/p&gt;

&lt;p&gt;Instead of keeping it private, I thought:&lt;br&gt;
“Why not share it so other developers can benefit — and maybe improve it?”&lt;/p&gt;

&lt;p&gt;👉 GitHub Repository:&lt;br&gt;
&lt;a href="https://github.com/safwancicem85/dotnet-clean-architecture-template" rel="noopener noreferrer"&gt;https://github.com/safwancicem85/dotnet-clean-architecture-template&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please don’t hesitate to drop suggestions, issues, or ideas.&lt;br&gt;
I really appreciate any recommendations the community can give.&lt;/p&gt;

&lt;p&gt;Here’s an architecture visualization I’m experimenting with:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkc6ds2rybtcml4em32fs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkc6ds2rybtcml4em32fs.png" alt="API Layer" width="443" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fga8q3jy0a7d9sfxhxj9t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fga8q3jy0a7d9sfxhxj9t.png" alt="Another Layer" width="457" height="705"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;👉 Declaimer: the uploaded images are the structure of full template.&lt;/p&gt;

&lt;p&gt;I’d love to hear suggestions or improvements from the .NET community!&lt;/p&gt;

</description>
      <category>csharp</category>
      <category>cleancode</category>
      <category>programming</category>
      <category>backend</category>
    </item>
  </channel>
</rss>
