EF Core and SQL Server Temporal Tables: Querying Reliable Data History
Use EF Core and SQL Server temporal tables to preserve row history, inspect data at a specific point in time, and safely recover from incorrect updates.
Use EF Core and SQL Server temporal tables to preserve row history, inspect data at a specific point in time, and safely recover from incorrect updates.
Design endpoint, outbound HTTP, database, and server timeouts in ASP.NET Core to control resource usage and prevent slow dependencies from blocking the API.
Learn how to accept gzip and Brotli requests safely in ASP.NET Core APIs with decompressed-size limits, streaming JSON, cancellation, and validation.
Learn how to combine in-process and distributed caching with ASP.NET Core HybridCache while reducing duplicate database work during concurrent cache misses.
Learn how to choose between scoped DbContext, IDbContextFactory, and pooling in ASP.NET Core through a practical background-processing problem.
A practical guide to identifying and preventing CSRF attacks in ASP.NET Core applications that use cookie authentication for browser-based APIs.
Learn how to correlate traces, metrics, and logs in ASP.NET Core with OpenTelemetry and diagnose a slow API using a realistic example.
Solve intermittent logouts and invalid cookies in multi-instance ASP.NET Core applications by designing a persistent and securely shared Data Protection key ring.
Learn how to build safer and more scalable ASP.NET Core file uploads with server-side validation, quarantine storage, malware scanning, and authorized downloads.
Learn how to design ASP.NET Core background workers with bounded queues, scoped dependencies, cancellation, error handling, and graceful shutdown.
Learn how to combine JWT validation, claim-based policies, and resource-based authorization to protect ASP.NET Core APIs reliably.
Learn how ASP.NET Core middleware ordering affects security, routing, authentication, authorization, error handling, and request performance.
A practical guide to designing EF Core read queries that transfer less data, use indexes effectively, and remain predictable as datasets grow.
Learn how to create searchable and operationally useful ASP.NET Core logs with message templates, scopes, EventId, JSON output, and sensible log levels.
Learn how to propagate CancellationToken through ASP.NET Core requests, database calls, HTTP clients, and hosted services for responsive cancellation.
Learn how to use ASP.NET Core Output Caching to speed up frequently requested endpoints while controlling cache keys, expiration, invalidation, and data exposure.
Learn how to protect EF Core data from lost updates with concurrency tokens, conflict handling, controlled retries, and bulk update checks.
Learn how to use ASP.NET Core rate limiting middleware, choose the right algorithm, partition traffic, and return useful 429 responses.
Learn how to build secure, predictable, and traceable ASP.NET Core API errors with ProblemDetails and centralized exception handling.
Learn how to use ASP.NET Core Health Checks to monitor application liveness, readiness, and critical dependencies safely.
Learn how to manage ASP.NET Core settings with strongly typed options, validate them at startup, and handle environment-specific configuration safely.
When deploying an ASP.NET Core application to IIS, DLL files may be locked by the running application and cannot be overwritten. This often results in Access Denied or “file is being used by another process” errors. This article explains how app_offline.htm gracefully stops the application, releases locked deployment files and allows a new publish to be copied safely.
Find real bottlenecks with performance budgets, traces, BenchmarkDotNet, and allocation measurements instead of relying on speculative micro-optimization.
Solve the consistency gap between database commits and message publication with Transactional Outbox, then process redelivered events safely with idempotent consumers.
Learn how to evolve an ASP.NET Core API without breaking deployed clients by combining versioning, deprecation, contract tests, and a measurable migration plan.
The “Unable to resolve service for type ... while attempting to activate ...” error is one of the most common Dependency Injection problems in ASP.NET Core applications. This article explains missing service registrations, nested dependencies, DbContext configuration, service lifetimes and common architectural mistakes with practical examples.
GitHub has introduced the GitHub Copilot SDK for Java, allowing developers to integrate AI agents directly into server-side Java applications. The SDK supports agent sessions, custom tools, structured responses, Jakarta EE and Spring environments, Java concurrency features, and different AI model providers through BYOK configurations.
Build production-like integration tests with WebApplicationFactory and a disposable SQL database.
A production REST API must do much more than return successful HTTP responses. It must handle SQL Server outages, slow external services, duplicate requests, concurrent stock updates and traffic spikes in a controlled way. This guide uses .NET 10 and ASP.NET Core to explain centralized error handling, retry, circuit breaker, idempotency, SQL transactions, optimistic concurrency, rate limiting, health checks, OpenTelemetry and the Transactional Outbox pattern through a realistic order API.
Use timeouts, retries, circuit breakers, and idempotency to build REST APIs that behave predictably in production.
Build the layers, dependency rules, and a realistic order use case for an ASP.NET Core Clean Architecture solution.