Tag: dotnet
All the articles with the tag "dotnet".
-
Don't use navigation properties in EF Core
How avoiding navigation properties in EF Core eliminates N+1 queries and makes data dependencies explicit.
-
Handling Enum Values as Strings in C# API Models
A practical pattern for working with enums in API request models - storing as strings while keeping type-safe enum logic throughout your codebase.
-
EF Core Migrations Quick Reference
A comprehensive quick reference guide for managing Entity Framework Core migrations, including common commands and best practices for database schema updates.
-
Serilog Correlation IDs for background tasks in .NET Core
How to implement and manage correlation IDs in background tasks using Serilog in .NET Core applications for better logging traceability.
-
Testing ProblemDetails responses in ASP.NET Core
A comprehensive guide to testing ProblemDetails responses in ASP.NET Core integration tests, ensuring proper error handling and RFC 7807 compliance.
-
Serilog setup for .NET Core worker services
A detailed guide on implementing Serilog logging in .NET Core worker services and Windows Service applications, with configuration examples and best practices.
-
Excel exports in .NET Core using ClosedXML
A practical guide to implementing Excel file exports in .NET Core applications using ClosedXML library, with code examples and best practices.
-
Overriding services ASP.NET Core integration tests using ConfigureTestServices
Learn how to effectively override services in ASP.NET Core integration tests using ConfigureTestServices, with practical examples and testing patterns.
-
Test-specific AppSettings configuration in ASP.NET Core integration tests
How to properly configure and manage test-specific application settings in ASP.NET Core integration tests, ensuring isolated and reliable test environments.
-
HTTP Retry with Flurl and Polly in .NET Core
Implementing resilient HTTP requests in .NET Core applications using Flurl and Polly libraries, with examples of retry policies and error handling.
-
Dynamic SQL queries: string concatenation vs SqlKata
A comparison of approaches to building dynamic SQL queries in .NET applications, contrasting string concatenation with SqlKata's query builder for safer and more maintainable code.
-
Type-safe appsettings configuration in .NET Core
Implementing strongly-typed configuration in .NET Core applications with built-in validation, using options pattern and data annotations.
-
ASP.NET MVC5 Feature Folders Structure
How to organize ASP.NET MVC5 projects using feature folders for better maintainability and separation of concerns, with practical examples and implementation details.
-
Rhino Security and StructureMap Integration Guide (Archive, 2015)
A comprehensive guide to integrating Rhino Security with StructureMap in .NET applications for robust security management.
-
.NET Database Development with FluentMigrator (Archive, 2014)
A comprehensive guide on implementing database versioning with FluentMigrator in .NET projects, including automated migrations, version control integration, and cross-database provider support.