Adding strongly typed defaults to .NET configuration
Add strongly typed defaults to the .NET configuration pipeline while keeping the normal precedence and override behavior of other configuration providers.
Add strongly typed defaults to the .NET configuration pipeline while keeping the normal precedence and override behavior of other configuration providers.
Source generation can register injectable Minimal API endpoint classes and map their routes without runtime scanning or manual composition.
Switching to Native AOT shouldn’t change how you write your business logic. It should change how the Lambda is hosted, built and serialized around it.
Lambda functions created with Kralizek.Lambda.Templates can expose invocation, record and source-specific telemetry before application code adds a single span. Here is how that telemetry fits into OpenTelemetry locally with Aspire and wh...
Constructor injection keeps Minimal API handler tests focused as endpoint dependencies grow.
How to design your code for union types before C# actually supports them.
AWS provides the Lambda runtime primitives. AWSLambdaSharpTemplate V6 adds an opinionated .NET programming model for handlers, scopes, contexts and event-source semantics.
Use NuGet Trusted Publishing with GitHub Actions to publish packages without storing a long-lived API key.
Source generation can remove repetitive service-module registration from ASP.NET Core applications without relying on runtime reflection.
Most ASP.NET Core projects generate OpenAPI from code. This post explores the opposite approach: treating the spec as the source of truth for Minimal APIs.
AWS SSO is a great alternative to static access keys, but expired sessions can break local Aspire startup in confusing ways. Let’s automate renewing a session.
gRPC services and clients rely on protobuf contracts to align on the shape of requests and responses. NuGet can make sharing these contracts more convenient.
Manual registration of Minimal API endpoints can clutter your ASP.NET Core apps. This article explores how to automate it for a cleaner setup.
Bypassing JWT validation in .NET integration tests with custom tokens and a test-only authentication setup.
Testcontainers and Respawn can make testing ASP.NET Core endpoints using Entity Framework Core easier and more reliable.
Reliably testing components using Entity Framework Core can be quite problematic. Targeting a real database comes with its own challenges. Let’s solve that!
Tailoring AutoFixture’s customizations to the need of each test can cause a lot of code to be repeated. Let’s avoid that by using generic attributes.
Learn how to use IAM roles to secure AWS applications in development with ASP.NET Core. Enhance security with limited permissions and IAM roles.
Let’s take a look at the Annotation Framework being developed by AWS to streamline the development of Lambda functions in C#.
A guide on how to set up a CI pipeline on CircleCI to build, test, pack and publish a package on NuGet and GitHub Packages.
A quick overview on the new patterns added in C# 10 and C# 11: extended property patterns, list patterns and expanded targets for the constant string pattern.
Lambda functions can be used to quickly respond to events happening in your ecosystem. Being quick isn’t an execuse to give up on best practices.
Lambda functions are an incredible tool but it can be tiresome to align its programming model to that of other .NET tools. That can be fixed!
Integrating a powerful local emulator of AWS services like LocalStack with Microsoft Tye gives .NET developers a powerful development tool that increases their local productivity.
The WebApplicationFactory can be used to create an instance of an ASP.NET Core application hosted within the test process and execute all the tests against it. We will use it to test GRPC services.
The WebApplicationFactory can be used to create an instance of an ASP.NET Core application hosted within the test process and execute all the tests against it.
NUnit constraints can be used when verifying invocations in Moq to create powerful and clear expressions.
Tye is an experimental tool Microsoft is working on to facilitate the development of solutions with many services.
An overview about the different patterns available in C# up to version 9.0 of the compiler, improvements to the to the switch statement and the new switch expression introduced in C# 8.0.