Evaluating AI Applications in .NET: Quality, Safety and CI
Evaluate LLM apps in .NET with Microsoft.Extensions.AI.Evaluation: quality and safety evaluators, golden datasets, LLM-as-judge, caching, reports and CI gates.
30 articles about Testing: in-depth .NET and AI guides, senior interview questions and AI news on DotNet AI Hub.
Evaluate LLM apps in .NET with Microsoft.Extensions.AI.Evaluation: quality and safety evaluators, golden datasets, LLM-as-judge, caching, reports and CI gates.
Master function calling in C# with Microsoft.Extensions.AI: AIFunctionFactory, FunctionInvokingChatClient, parallel calls, approvals, security and tests.
Master Microsoft.Extensions.AI: IChatClient, IEmbeddingGenerator, streaming, tool calling, middleware pipelines, DI registration, custom clients and testing.
Clean Architecture in .NET 10 explained: layers, the dependency rule, project layout, use case handlers, validation, mapping, testing and vertical slices.
Build a modular monolith in .NET: module boundaries, per-module schemas, in-process messaging and NetArchTest or ArchUnitNET rules that hold as it grows.
Master ASP.NET Core middleware: the RequestDelegate pipeline, Use, Run, Map and UseWhen, correct ordering, custom and IMiddleware components, errors and tests.
Build fast HTTP APIs with Minimal APIs in ASP.NET Core: route handlers, binding, TypedResults, route groups, filters, .NET 10 validation, OpenAPI and AOT.
Learn .NET Aspire 13: the AppHost resource model, service defaults, dashboard, Redis and PostgreSQL integrations, testing and deploying with aspire deploy.
Ship schema changes safely in .NET: EF Core migrations, bundles, idempotent scripts, CI/CD rollout, expand-contract, backfills, DbUp and FluentMigrator.
Master dependency injection in .NET: service lifetimes, scope validation, captive dependencies, keyed services, open generics, decorators and anti-patterns.
How the .NET release cadence works: LTS vs STS support (STS is now 24 months), end-of-support dates for .NET 8 to 11 and a practical upgrade strategy.
Learn to benchmark .NET code correctly with BenchmarkDotNet: core attributes, memory diagnostics, parameters, baselines and CI regression checks.
Learn ASP.NET Core authorization in depth, covering roles, claims, policy requirements and handlers, resource-based checks, permissions and testing.
Enforce .NET code quality with built-in analyzers, EditorConfig, TreatWarningsAsErrors, dotnet format and third-party static analysis tools.
Integration test ASP.NET Core with WebApplicationFactory, real databases via Testcontainers, Respawn resets, auth mocking and Aspire's testing builder.
A practical guide to unit testing in .NET with xUnit v3, NUnit, MSTest, Microsoft.Testing.Platform, mocking with NSubstitute and Moq, and assertions.
Senior .NET interview questions on Microsoft.Extensions.AI, streaming, function calling, structured output, provider abstraction, retries and testing LLM code.
Architect-level interview questions on Clean, Onion and Hexagonal Architecture covering the dependency rule, ports and adapters and vertical slices.
Lead-level interview questions on modernizing .NET Framework applications, covering the strangler fig pattern, WCF and Web Forms migration, and risk management.
Senior-level SOLID principles interview questions with real .NET examples, over-application pitfalls, testability, DI and refactoring guidance.
Lead-level interview questions on identifying and measuring technical debt, prioritization frameworks, refactoring safely at scale and preventing new debt.
10 senior ASP.NET Core interview questions comparing Minimal APIs and controllers on architecture, performance, Native AOT, testing and migration.
Senior-level questions on sync-over-async deadlocks, lock ordering, TOCTOU races, dump analysis and avoiding shared mutable state.
CI/CD and deployment strategy interview questions for senior .NET engineers: pipeline design, trunk-based dev, blue-green, canary, flags and DORA metrics.
Ten senior-level interview questions on Bicep, Terraform and Pulumi covering state, modules, drift detection, policy as code and testing IaC.
Ten lead-level interview questions on test pyramids, contract testing, Testcontainers, flaky tests, load testing and mutation testing in .NET.
Senior .NET interview questions on the repository and unit of work patterns, generic repository pitfalls, the specification pattern and CQRS reads.
Lead-level interview questions on zero-downtime database migrations, expand-contract, online indexes, safe backfills and running EF Core in pipelines.
Architect-level .NET interview questions on service boundaries, data ownership, API contracts, shared libraries, service templates and independent deployability.
Senior .NET interview questions on BenchmarkDotNet and load testing: microbenchmark design, statistics, CI benchmarks, k6, NBomber and p50/p95/p99 latency.