.NET Options Validation in Application Startup
Learn how to validate .NET options at application startup using DataAnnotations and ValidateOnStart() for fail-fast configuration.
Jaliya Udagedara — Software engineer and technical blogger sharing practical insights, fixes, and deep dives on Azure, .NET, cloud services, and developer tooling, with a strong focus on real-world problem solving and Microsoft ecosystem technologies.
45 articles from this blog
Learn how to validate .NET options at application startup using DataAnnotations and ValidateOnStart() for fail-fast configuration.
Learn how to run Linux containers on WSL using C# with the new Microsoft.WSL.Containers SDK, including setup and code examples.
Explores C# 15's new closed class hierarchies feature, solving switch exhaustiveness issues with sealed type hierarchies.
Learn to deploy from GitHub Actions to Azure without secrets using Microsoft Entra ID Workload Identity Federation (WIF).
Guide to connecting .NET apps to Azure DocumentDB (MongoDB) using Entra ID Managed Identity instead of passwords.
Building deterministic multi-agent orchestrations with Microsoft Agent Framework and .NET Durable Functions for controlled agent coordination.
Explores hosting Microsoft Agent Framework on Azure Functions using Durable Task Scheduler (DTS) as the backend, highlighting setup, benefits, and dashboard features.
Guide to hosting Microsoft Agent Framework agents on Azure Functions with .NET, using Durable Functions for state persistence.
EF Core 11.0 now allows mapping temporal period columns to CLR properties, improving SQL Server Temporal Tables support.
EF Core 11.0 introduces JsonPathExists and JsonContains for querying JSON columns without raw SQL.
Explains how to use Microsoft Agent Framework's middleware in .NET to intercept agent runs, function calls, and chat client calls.
Guide to creating AI agents with Microsoft Agent Framework 1.0.0 in .NET, including tool definitions and LLM integration.
Tracking Azure Content Understanding token usage with custom APIM policies for multi-tenant billing.
Overview of the new Azure Content Understanding Client Library for .NET, simplifying REST API usage with a cleaner SDK experience.
EF Core 11.0 introduces a single command to create and apply migrations, streamlining development workflow.
EF Core 11.0 fixes issues with using complex types as JSON columns in entity hierarchies using TPT or TPC inheritance mapping strategies.
Explains the new C# 15 feature 'Collection Expression Arguments' for passing constructor parameters like capacity or comparers within collection initializers.
A technical guide on setting up Azure Private Endpoints to securely connect to a MongoDB Atlas cluster over a private network.
Explains how to send messages to Azure Service Bus directly from Azure API Management using the new send-service-bus-message policy.
A guide to implementing Dependency Injection in .NET 10 Isolated Azure Durable Functions using the TaskEntity<T> base class.