<?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>Asp.net-Core on ByteCrafted</title>
    <link>https://bytecrafted.dev/tags/asp.net-core/</link>
    <description>Recent content in Asp.net-Core 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>Fri, 16 Jan 2026 00:00:00 +0530</lastBuildDate>
    <atom:link href="https://bytecrafted.dev/tags/asp.net-core/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Designing Idempotent APIs in ASP.NET Core</title>
      <link>https://bytecrafted.dev/designing-idempotent-apis-aspnet-core/</link>
      <pubDate>Fri, 16 Jan 2026 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/designing-idempotent-apis-aspnet-core/</guid>
      <description>A practical guide to implementing idempotency in ASP.NET Core APIs. Learn how to prevent duplicate charges, handle race conditions, and build resilient distributed systems using idempotency keys and Redis.</description>
    </item>
    <item>
      <title>Integration Testing ASP.NET Core APIs The Right Way with WebApplicationFactory</title>
      <link>https://bytecrafted.dev/integration-testing-aspnet-core-webapplicationfactory/</link>
      <pubDate>Sun, 16 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/integration-testing-aspnet-core-webapplicationfactory/</guid>
      <description>Learn how to write fast, reliable integration tests for ASP.NET Core APIs using WebApplicationFactory. Complete guide with practical examples for testing endpoints, mocking dependencies, and handling authentication.</description>
    </item>
    <item>
      <title>Implement CQRS in ASP.NET Core Without MediatR</title>
      <link>https://bytecrafted.dev/cqrs-without-mediatr-aspnet-core/</link>
      <pubDate>Mon, 10 Nov 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/cqrs-without-mediatr-aspnet-core/</guid>
      <description>Master CQRS in ASP.NET Core without MediatR. Step-by-step guide to building a simple, dependency-free dispatcher with real-world examples.</description>
    </item>
    <item>
      <title>ASP.NET Core Response Compression with Brotli & Gzip</title>
      <link>https://bytecrafted.dev/aspnet-core-response-compression-brotli-gzip/</link>
      <pubDate>Thu, 23 Oct 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/aspnet-core-response-compression-brotli-gzip/</guid>
      <description>Learn how to enable Brotli and Gzip response compression in ASP.NET Core in minutes. Includes production best practices, security tips, and real-world performance data.</description>
    </item>
    <item>
      <title>Hybrid Caching Strategies Beyond MemoryCache in ASP.NET Core</title>
      <link>https://bytecrafted.dev/hybrid-caching-strategies-aspnet-core/</link>
      <pubDate>Mon, 20 Oct 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/hybrid-caching-strategies-aspnet-core/</guid>
      <description>Learn how to design hybrid caching strategies in ASP.NET Core that go beyond MemoryCache. Explore layered caching, Redis integration, distributed caching patterns, and performance tuning for SaaS applications.</description>
    </item>
    <item>
      <title>EF Core Interceptors for Secure, Per-Tenant Audit Logging</title>
      <link>https://bytecrafted.dev/ef-core-saas-audit-logging-savechanges-interceptors/</link>
      <pubDate>Fri, 03 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/ef-core-saas-audit-logging-savechanges-interceptors/</guid>
      <description>Use EF Core Interceptors to automatically create isolated, per-tenant audit logs. A practical, production-ready guide for securing .NET SaaS applications.</description>
    </item>
    <item>
      <title>5 ASP.NET Core DI Scope Mistakes Developers Must Avoid</title>
      <link>https://bytecrafted.dev/aspnet-core-di-scope-mistakes/</link>
      <pubDate>Fri, 26 Sep 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/aspnet-core-di-scope-mistakes/</guid>
      <description>Avoid common ASP.NET Core DI scope mistakes like DbContext misuse, singleton leaks, and middleware bugs with practical production fixes.</description>
    </item>
    <item>
      <title>Should You Use `UseRouting()` or `MapGet()` First?</title>
      <link>https://bytecrafted.dev/aspnetcore-userouting-vs-mapget-order/</link>
      <pubDate>Tue, 23 Sep 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/aspnetcore-userouting-vs-mapget-order/</guid>
      <description>A practical guide to understanding why UseRouting() must run before MapGet() in ASP.NET Core. Avoid common 404 errors and learn the correct middleware order for predictable behavior.</description>
    </item>
    <item>
      <title>SaaS Middleware Anti-Patterns: What *Not* to Do in ASP.NET Core</title>
      <link>https://bytecrafted.dev/aspnet-core-saas-middleware-anti-patterns/</link>
      <pubDate>Fri, 19 Sep 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/aspnet-core-saas-middleware-anti-patterns/</guid>
      <description>Avoid the most dangerous middleware mistakes in your ASP.NET Core SaaS apps. Learn what *not* to do with singleton lifetimes, database calls, tenant logic, and more.</description>
    </item>
    <item>
      <title>Code Reviews That Grow Developers</title>
      <link>https://bytecrafted.dev/code-reviews-grow-developers/</link>
      <pubDate>Tue, 16 Sep 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/code-reviews-grow-developers/</guid>
      <description>&lt;section class=&#34;tl-dr&#34; aria-labelledby=&#34;tldr-heading&#34;&gt;
  &lt;h3 id=&#34;tldr-heading&#34;&gt;TL;DR&lt;/h3&gt;
  &lt;div&gt;
    &lt;p&gt;Code reviews should teach, not just catch bugs. Stop nitpicking syntax and start building autonomous developers. Focus on architectural patterns, ask guiding questions instead of giving orders, and eliminate multi-team approval bottlenecks that delay delivery.&lt;/p&gt;
&lt;p&gt;Good reviews create learning opportunities that scale your team&amp;rsquo;s expertise.&lt;/p&gt;

  &lt;/div&gt;
&lt;/section&gt;


&lt;p&gt;Code reviews shouldn&amp;rsquo;t be about catching syntax errors or enforcing personal preferences. They&amp;rsquo;re your best tool for spreading architectural knowledge and building stronger development teams. But most teams get this wrong, creating bureaucratic bottlenecks instead of learning opportunities.&lt;/p&gt;</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>Why Middleware Beats DI for SaaS Extension Points</title>
      <link>https://bytecrafted.dev/middleware-vs-di-saas/</link>
      <pubDate>Sun, 24 Aug 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/middleware-vs-di-saas/</guid>
      <description>Dependency Injection is powerful, but for multi-tenant SaaS applications, custom middleware gives you earlier control, better visibility, and early request context access.</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>
    <item>
      <title>Unit & Integration Testing for ASP.NET Middleware</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/middleware-testing/</link>
      <pubDate>Sun, 20 Jul 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/middleware-testing/</guid>
      <description>Learn how to test ASP.NET Core middleware with unit tests, integration tests, and mocks to ensure reliable and maintainable web applications.</description>
    </item>
    <item>
      <title>Dependency Inversion in C#: Flexible Code with ASP.NET Core</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/dependency-inversion-principle-aspnet-core-di/</link>
      <pubDate>Sun, 13 Jul 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/dependency-inversion-principle-aspnet-core-di/</guid>
      <description>Learn the Dependency Inversion Principle in C# with ASP.NET Core DI to write flexible, maintainable, and testable code for real-world applications.</description>
    </item>
    <item>
      <title>Add &amp; Modify HTTP Headers in ASP.NET Core Middleware</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/add-modify-http-headers-aspnet-core-middleware/</link>
      <pubDate>Sat, 05 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/add-modify-http-headers-aspnet-core-middleware/</guid>
      <description>Add, modify, and secure HTTP headers in ASP.NET Core middleware. Covers dynamic CORS, security headers, and correct middleware ordering.</description>
    </item>
    <item>
      <title>Debug ASP.NET Core Middleware Execution Flow</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/middleware-order-debug-pipeline-flow/</link>
      <pubDate>Fri, 04 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/middleware-order-debug-pipeline-flow/</guid>
      <description>Learn how to fix ASP.NET Core middleware order issues and debug execution flow to ensure your pipeline runs correctly and efficiently.</description>
    </item>
    <item>
      <title>Correct Middleware Order in ASP.NET Core Apps</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/middleware-order-best-practices/</link>
      <pubDate>Thu, 03 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/middleware-order-best-practices/</guid>
      <description>Learn the recommended middleware order in ASP.NET Core to build secure, fast, and reliable request pipelines for modern production apps.</description>
    </item>
    <item>
      <title>13 Practical Tips for ASP.NET Core HTTP Logging</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/http-logging-middleware-tips/</link>
      <pubDate>Wed, 02 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/http-logging-middleware-tips/</guid>
      <description>Discover 13 micro tips to implement effective HTTP logging in ASP.NET Core middleware for cleaner, maintainable, and observable applications.</description>
    </item>
    <item>
      <title>ASP.NET Core Request Limits with IP and MemoryCache
</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/request-throttling-middleware-memorycache-ip-limits/</link>
      <pubDate>Wed, 02 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/request-throttling-middleware-memorycache-ip-limits/</guid>
      <description>Learn how to implement IP-based request throttling in ASP.NET Core using MemoryCache to protect APIs and improve application reliability.</description>
    </item>
    <item>
      <title>Understanding dotnet dev-certs https: Local HTTPS for .NET Development</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/dotnet-dev-certs-https-local-development/</link>
      <pubDate>Tue, 01 Jul 2025 00:00:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/dotnet-dev-certs-https-local-development/</guid>
      <description>Learn how to use dotnet dev-certs https to manage local HTTPS certificates for .NET development. See essential commands, troubleshooting tips, and best practices for secure, frictionless local development.</description>
    </item>
    <item>
      <title>DRY API Responses in ASP.NET Core</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/clean-aspnet-core-api-response-patterns/</link>
      <pubDate>Thu, 26 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/clean-aspnet-core-api-response-patterns/</guid>
      <description>Create cleaner, DRY API responses in ASP.NET Core to enhance code maintainability, readability, and overall application quality.</description>
    </item>
    <item>
      <title>Request & Response Body Logging in ASP.NET Core</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/logging-request-response-bodies-aspnet-core-middleware/</link>
      <pubDate>Wed, 25 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/logging-request-response-bodies-aspnet-core-middleware/</guid>
      <description>Discover techniques for request and response body logging in ASP.NET Core middleware to enhance debugging, monitoring, and code reliability.</description>
    </item>
    <item>
      <title>Handle Request Cancellation in ASP.NET Core</title>
      <link>https://bytecrafted.dev/posts/aspnet-core/handling-request-cancellation/</link>
      <pubDate>Sun, 22 Jun 2025 02:30:00 +0530</pubDate>
      <guid>https://bytecrafted.dev/posts/aspnet-core/handling-request-cancellation/</guid>
      <description>Learn how to handle request cancellation in ASP.NET Core, from browser to database, ensuring responsive, reliable, and efficient applications.</description>
    </item>
    <item>
      <title>Enhance ASP.NET Core Routes with Custom Constraints</title>
      <link>https://bytecrafted.dev/aspnet-core-route-constraints-beyond-regex/</link>
      <pubDate>Fri, 20 Jun 2025 02:30:20 +0530</pubDate>
      <guid>https://bytecrafted.dev/aspnet-core-route-constraints-beyond-regex/</guid>
      <description>Learn how to implement custom route constraints in ASP.NET Core to handle complex URL patterns when regex alone isn’t enough.</description>
    </item>
  </channel>
</rss>
