#software-quality
7 articles tagged with #software-quality
Secure coding basics - OWASP Top 10 (2017) for .NET developers
OWASP Top 10 2017 risks are translated into practical .NET safeguards for injection, authentication, access control, XSS, deserialization, dependencies and logging.
Resilient HTTP calls with Polly - retry, timeout and circuit breaker
Polly 5.x adds retry, timeout and circuit breaker policies around HTTP calls, with guidance on composition, transient failures, idempotency and safe handling of writes.
Structured logging with Serilog - why plain text logs are not enough
Structured logging with Serilog replaces ambiguous text with searchable properties, consistent message templates, correlation context and safer ASP.NET Core operations.
How to test ASP.NET Core Web API with in-memory TestServer?
This guide tests an ASP.NET Core Web API with an in-memory TestServer, covering host setup, HTTP requests, dependency boundaries and fast feedback without a deployed service.
Integration tests vs unit tests - where to draw the line
Unit and integration tests serve different boundaries, feedback loops and maintenance costs, with practical guidance for choosing test types and organising a .NET solution.
Remove dead code - why and how to find it safely
Dead code increases cognitive load and deployment risk, so this guide explains how to find candidates, confirm they are unused and remove them safely with history as a backup.
Avoid sequential coupling and circular dependencies - with examples
Sequential coupling and circular dependencies create hidden constraints, so constructor injection, builders, interfaces and events make code easier to test, change and evolve.