<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5" -->

---
title: Before Your .NET API Goes to Production, Check These 8...
description: A production readiness checklist for ASP.NET Core APIs covering eight practical steps: adding logs/metrics/traces (with Seq, Serilog, OpenTelemetry, or the...
canonical: https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Before Your .NET API Goes to Production, Check These 8 Things | daily.dev
og:description: A production readiness checklist for ASP.NET Core APIs covering eight practical steps: adding logs/metrics/traces (with Seq, Serilog, OpenTelemetry, or the...
og:url: https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5
og:image: https://api.daily.dev/og/posts/H5sVp9Eu5.png
og:image:alt: Before Your .NET API Goes to Production, Check These 8 Things
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Before Your .NET API Goes to Production, Check These 8 Things

**[Waseem .NET Newsletter](https://daily.dev/sources/mwaseemzakir)** · 8 min read · 15 upvotes · 1 comments

## Summary

A production readiness checklist for ASP.NET Core APIs covering eight practical steps: adding logs/metrics/traces (with Seq, Serilog, OpenTelemetry, or the Grafana Loki/Prometheus/Tempo stack), hiding Swagger/OpenAPI docs outside development, configuring CORS explicitly instead of AllowAnyOrigin, planning API versioning before breaking clients, decoupling file storage behind an interface rather than hardcoding an SDK like AWS S3, standardizing error responses using ASP.NET Core's ProblemDetails, adding health checks (readiness/liveness) for containerized deployments, and applying built-in rate-limiting middleware. It also notes the minio/minio GitHub repository was archived and made read-only on April 25, 2026.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://mwaseemzakir.substack.com/p/before-your-net-api-goes-to-production>

## Questions this post answers

### When was the minio/minio GitHub repository archived?

The minio/minio GitHub repository was archived on April 25, 2026 and is now read-only, meaning no further code changes, issues, or pull requests can be accepted. Anyone considering MinIO for a new project should account for this before depending on the open-source repository going forward.

_Developers evaluating self-hosted S3-compatible storage can track changes like this via daily.dev._

### How do I return consistent error responses from an ASP.NET Core API?

Use the built-in ProblemDetails feature, enabled via builder.Services.AddProblemDetails() plus app.UseExceptionHandler() and app.UseStatusCodePages(). This produces a standard JSON shape with type, title, status, detail, and can be extended with custom fields like code and traceId, giving clients a stable, predictable contract instead of inconsistent ad-hoc error formats across endpoints.

_Teams standardizing API error handling can keep up with ASP.NET Core patterns through daily.dev._

### How do I add rate limiting to an ASP.NET Core API?

ASP.NET Core includes built-in rate-limiting middleware supporting fixed-window, sliding-window, token-bucket, and concurrency limiters. A fixed-window example uses AddRateLimiter with AddFixedWindowLimiter, setting a PermitLimit and Window, then applying it via app.UseRateLimiter() and RequireRateLimiting on routes. Limits should be chosen per endpoint cost and validated with load testing, not guessed.

_Backend developers tuning API traffic limits can follow ASP.NET Core updates on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@pdfopsdev** · 0 upvotes

> fwiw the built-in rate limiter is per instance, so 4 replicas quietly means 4x your limit. and if you partition by IP behind a proxy, forwarded headers have to run first or every client looks like the load balancer.

## Similar posts on daily.dev

- [Green Dashboard, Dead Application — Daily DevOps & .NET](https://daily.dev/posts/green-dashboard-dead-application-daily-devops-net-utgxsxuen) · We Are .NET · 1 upvotes · 0 comments
- [Health Checks in ASP.NET Core: A Complete Guide \(.NET 10\)](https://daily.dev/posts/health-checks-in-asp-net-core-a-complete-guide-net-10--uvhi3t78q) · Code with Mukesh · 14 upvotes · 1 comments
- [Deploying ASP.NET Core Web API to Azure and Docker](https://daily.dev/posts/deploying-asp-net-core-web-api-to-azure-and-docker-cvbz8psyb) · We Are .NET · 2 upvotes · 0 comments
- [Why ASP.NET Core Feels Fast Locally but Slow in Production](https://daily.dev/posts/why-asp-net-core-feels-fast-locally-but-slow-in-production-mtgpu8lqk) · C\# Corner · 42 upvotes · 0 comments
- [Creating a Production-Ready CRUD Application in ASP.NET Core](https://daily.dev/posts/creating-a-production-ready-crud-application-in-asp-net-core-1mfpkrepl) · Telerik · 0 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#.net](https://daily.dev/tags/.net), [#observability](https://daily.dev/tags/observability), [#aspnet](https://daily.dev/tags/aspnet)

[View this post on daily.dev](https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Before Your .NET API Goes to Production, Check These 8 Things","url":"https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5"},"datePublished":"2026-09-19T06:42:05.192Z","dateModified":"2026-09-19T06:42:27.353Z","description":"A production readiness checklist for ASP.NET Core APIs covering eight practical steps: adding logs/metrics/traces (with Seq, Serilog, OpenTelemetry, or the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fa57ca4685c2668400ae135cf39d5cf7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fa57ca4685c2668400ae135cf39d5cf7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Waseem .NET Newsletter","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Waseem .NET Newsletter","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/a10ec420048a48bf86f6889f2de88180","url":"https://daily.dev/sources/mwaseemzakir"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"architecture,.net,observability,aspnet","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Waseem .NET Newsletter","item":"https://daily.dev/sources/mwaseemzakir"},{"@type":"ListItem","position":3,"name":"Before Your .NET API Goes to Production, Check These 8 Things"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5","comment":[{"@type":"Comment","text":"fwiw the built-in rate limiter is per instance, so 4 replicas quietly means 4x your limit. and if you partition by IP behind a proxy, forwarded headers have to run first or every client looks like the load balancer.","datePublished":"2026-09-21T18:06:52.132Z","url":"https://daily.dev/posts/H5sVp9Eu5#c-MVt0HKRhl","author":{"@type":"Person","name":"PDFops","url":"https://daily.dev/pdfopsdev","image":"https://media.daily.dev/image/upload/s---8isRBKc--/f_auto/v1782922291/avatars/avatar_orjMeK8QKaaVZwGq7ScPz?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/before-your-net-api-goes-to-production-check-these-8-things-h5svp9eu5#faq","mainEntity":[{"@type":"Question","name":"When was the minio/minio GitHub repository archived?","acceptedAnswer":{"@type":"Answer","text":"The minio/minio GitHub repository was archived on April 25, 2026 and is now read-only, meaning no further code changes, issues, or pull requests can be accepted. Anyone considering MinIO for a new project should account for this before depending on the open-source repository going forward. Developers evaluating self-hosted S3-compatible storage can track changes like this via daily.dev."}},{"@type":"Question","name":"How do I return consistent error responses from an ASP.NET Core API?","acceptedAnswer":{"@type":"Answer","text":"Use the built-in ProblemDetails feature, enabled via builder.Services.AddProblemDetails() plus app.UseExceptionHandler() and app.UseStatusCodePages(). This produces a standard JSON shape with type, title, status, detail, and can be extended with custom fields like code and traceId, giving clients a stable, predictable contract instead of inconsistent ad-hoc error formats across endpoints. Teams standardizing API error handling can keep up with ASP.NET Core patterns through daily.dev."}},{"@type":"Question","name":"How do I add rate limiting to an ASP.NET Core API?","acceptedAnswer":{"@type":"Answer","text":"ASP.NET Core includes built-in rate-limiting middleware supporting fixed-window, sliding-window, token-bucket, and concurrency limiters. A fixed-window example uses AddRateLimiter with AddFixedWindowLimiter, setting a PermitLimit and Window, then applying it via app.UseRateLimiter() and RequireRateLimiting on routes. Limits should be chosen per endpoint cost and validated with load testing, not guessed. Backend developers tuning API traffic limits can follow ASP.NET Core updates on daily.dev."}}]}
```

