Explore the newsletters

143 blogs found
Getting Started With Dapr for Building Cloud-Native Microservices in .NET

Getting Started With Dapr for Building Cloud-Native Microservices in .NET

Learn what Dapr is, how the sidecar architecture works, understand building blocks and components, and set up Dapr with .NET Aspire for your .NET microservices. Code examples in .NET to publish events with Dapr to a message queue (RabbitMQ, Kafka), how to consume events from a message queue with Dapr, how to send HTTP requests to REST services with Dapr (service invocation) and state management.

How to Build Production-Ready Projects With Claude Code

How to Build Production-Ready Projects With Claude Code

Learn a proven 10-step workflow for building production-ready software with AI assistance. Includes detailed prompts for requirements analysis, architecture design, finding functional and non-functional requirements, backend and frontend implementation, code review, and deployment automation.

The Real Cost of Returning the Identity Value in EF Core

The Real Cost of Returning the Identity Value in EF Core

Learn why EF Core SaveChanges becomes slow when inserting thousands of rows when returning identity values and how BulkInsert and BulkInsertOptimized from Entity Framework Extensions deliver up to 23x faster performance in SQL Server.

How to Add JWT Authentication to SignalR Hubs in ASP.NET Core

How to Add JWT Authentication to SignalR Hubs in ASP.NET Core

Learn how to secure SignalR hubs with JWT Bearer authentication, role-based and claim-based authorization in ASP.NET Core. Pass JWT tokens via query string for SignalR hub. Build a real-time stock price streaming hub with per-user subscriptions using IAsyncEnumerable, connect from JavaScript and .NET clients with accessTokenFactory, and apply security best practices including CORS, access token logging, token expiration handling, and message size limits.

Getting Started With Event Sourcing in .NET With Marten and PostgreSQL

Getting Started With Event Sourcing in .NET With Marten and PostgreSQL

Learn how to implement Event Sourcing in .NET with Marten library and PostgreSQL. Building a Shopping Cart application with events, streams, aggregates, commands, and projections step by step. Create inline and async projections to build event sourcing read models with Marten.

New Features in .NET 11 Preview 3

New Features in .NET 11 Preview 3

Explore what's new in .NET 11 Preview 3: C# 15 union types (discriminated unions), closed hierarchies, closed enums, collection expression arguments, Runtime Async V2 with cleaner stack traces, file-based apps multiple file support with file include, System.Text.Json PascalCase naming and ignore defaults, EF Core 11 updates (RemoveDbContext, pooled factories, ExcludeForeignKeyFromMigrations), and cryptographically signed container images.

Synchronous vs Asynchronous Communication in Microservices: How to Choose the Right Approach

Synchronous vs Asynchronous Communication in Microservices: How to Choose the Right Approach

Learn when to use synchronous (HTTP, gRPC, GraphQL) and asynchronous (RabbitMQ, Kafka, Azure Service Bus, Azure Event Hubs) communication in microservices. Point-to-point vs. publish/subscribe integration pattern for asynchronous communication. How to use a hybrid approach and combine synchronous and asynchronous communication. a real-world decision checklist when deciding what type of communication to use.

.NET Aspire Integration Testing Best Practices for Distributed Applications

.NET Aspire Integration Testing Best Practices for Distributed Applications

Learn 7 best practices for writing integration tests in .NET Aspire apps and distributed microservices. Replace WebApplicationFactory and TestContainers with DistributedApplicationTestingBuilder, handle multi-service testing, database cleanup, and common pitfalls. Testing microservices that use PostgreSQL, Redis and call another service via REST HTTP.

Building Event-Driven Microservices with Azure Service Bus in .NET

Building Event-Driven Microservices with Azure Service Bus in .NET

Learn how to create an Azure Service Bus in the Azure Portal, create queues, topics, and subscriptions. How to use Azure Service Bus with .NET Aspire and deploy to Azure. How to use Azure Service Bus Emulator with Aspire locally. How to publish and consume messages with Azure Service Bus in event-driven microservices. When to use Azure Service Bus, Azure Event Hubs and Azure Event Grid.

Improve Your .NET and Architecture Skills

Join my community of 27,000+ developers and architects.

Each week you will get 1 practical tip with best practices and real-world examples.

Learn how to craft better software with source code available for my newsletter.

Join 27,000+ developers already reading
No spam. Unsubscribe any time.