Home Archive Cosmos DB patterns, agents, and API performance – .NET News Daily Issue #495 (Jul 13, 2026)

Editor's note

I kept this one deliberately mixed, which is usually where the most practical reading stacks come from. The new Azure Cosmos DB design patterns piece stands out because data modeling mistakes are expensive to unwind, and the partition-key follow-up gives you a concrete recovery path. I also liked the Agent Framework coverage from both Microsoft and the community, plus the BenchmarkDotNet article for its reminder that performance work needs measurement, not guesswork.

Enjoying the newsletter? Your feedback helps us grow and reach more developers.

Share your testimonial →

Today's Articles

See our new Azure Cosmos DB Design Patterns

https://devblogs.microsoft.com/cosmosdb/see-our-new-azure-cosmos-db-design-patterns/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Design patterns are where good data modeling lives or dies. In a NoSQL database like Azure Cosmos DB, the difference between a schema that scales to millions of operations per second and one that figh...

How to Test Vertical Slice Architecture

https://milanjovanovic.tech/blog/how-to-test-vertical-slice-architecture?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

The most common question I get about vertical slice architecture isn't about structure. It's "where do my tests go?" The layered-architecture testing habits (mock the repository, test the service) don...

️ Modernizing .NET — Part 32: When Four Architectures Coexist

https://medium.com/@michael.kopt/%EF%B8%8F-modernizing-net-part-32-when-four-architectures-coexist-edf4776399ad?source=rss------dotnet-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

A framework migration can use layered design, modular boundaries, middleware flow, and service contracts without treating them as rivals.

The Complete .NET 11 Developers Guide to the Agentic Web Part 2

https://medium.com/data-science-collective/the-complete-net-11-developers-guide-to-the-agentic-web-part-2-2ccc490d4d2b?source=rss------csharp-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

We’re going to pick up from part 1 and delve into the Microsoft Agent Framework. Continue reading on Data Science Collective »

.NET 8 vs .NET 6: Should You Upgrade?

https://www.faciletechnolab.com/blog/dotnet-8-vs-dotnet-6-upgrade-guide/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

.NET 8 vs .NET 6 compared. Support timelines, performance gains, and breaking changes. A practical guide to deciding when and how to upgrade.

Modernize .NET applications in the GitHub Copilot app

https://devblogs.microsoft.com/dotnet/modernize-dotnet-in-github-copilot-app/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Upgrading a .NET application isn't a single prompt. Every upgrade begins with understanding your application, evaluating dependencies, planning the work, applying code transformations, fixing build fa...

gRPC vs REST APIs: Performance, Scalability, and Use Cases Compared

https://www.c-sharpcorner.com/article/grpc-vs-rest-apis-performance-scalability-and-use-cases-compared/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Compare gRPC vs REST APIs: explore performance, scalability, use cases, architectural differences, data formats, and when to choose each.

Need a different partition key in Azure Cosmos DB? Pick the right approach

https://devblogs.microsoft.com/cosmosdb/need-a-different-partition-key-in-azure-cosmos-db-pick-the-right-approach/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Once you create a container, its partition key is fixed at creation, and you can’t change it in place. However, if your original key starts causing problems like cr

Building Event-Driven Systems with Apache Kafka and .NET

https://www.c-sharpcorner.com/article/building-event-driven-systems-with-apache-kafka-and-net/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Build scalable, real-time event-driven systems with Apache Kafka and .NET. Learn core concepts, implementation, and best practices for robust distributed applications.

How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era

https://neuecc.medium.com/how-to-write-the-fastest-code-with-benchmarkdotnet-in-c-in-the-ai-era-6a585e634488?source=rss------csharp-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

In the AI era, just as tests are essential as the legs that let an AI agent run its loop, profilers matter too, because they supply the…

Agent Skills for .NET Is Now Released

https://devblogs.microsoft.com/agent-framework/agent-skills-for-net-is-now-released/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

You can now give your .NET agents reusable packages of domain expertise - instructions, reference documents, and scripts they load only when a task needs them - through a stable, production-ready API....

AWS Bedrock with .NET: Cost Tracking via Inference Profiles

https://medium.com/@ajaykumar1807/aws-bedrock-with-net-cost-tracking-via-inference-profiles-02f25f780ad6?source=rss------dotnet-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

The Problem: Your AI Bill Grew, But You Cannot Explain It

Microsoft Agent Framework for .NET (part 1): what it is, how it works, and when to use it

https://www.code4it.dev/blog/introduction-microsoft-agent-framework-dotnet/?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Microsoft Agent Framework is Microsoft’s production-oriented framework for building AI agents and multi-agent workflows in .NET and Python. Let’s see how it works, why Microsoft created it...

Set LogLevel of Blazor

https://steven-giesel.com/blogPost/1cfa82eb-1108-4355-8815-615b094bf9ec?utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Blazor is a bit talkative when it comes to the Developer Console. PageSpeed Insights for example does complain: Browser errors were logged to the console The fix is easy.

Using AI to Generate Better Unit Tests for Bug Reproduction in .NET

https://blog.stackademic.com/using-ai-to-generate-better-unit-tests-for-bug-reproduction-in-net-831f38e92df8?source=rss------dotnet-5&utm_source=dotnetnews.co&utm_medium=referral&utm_campaign=the-net-news-daily-issue-495

Turn bug reports into reliable unit tests using the AI Continue reading on Stackademic »

Jasen's take on today's picks

See our new Azure Cosmos DB Design Patterns

Strong reference material for Cosmos teams that need proven modeling approaches instead of learning partitioning lessons the hard way.

How to Test Vertical Slice Architecture

Useful look at testing in vertical slice systems, especially if layered-architecture habits keep leaking into feature-based codebases.

️ Modernizing .NET — Part 32: When Four Architectures Coexist

A practical modernization angle: multiple architectural styles can coexist during migration without turning every choice into doctrine.

The Complete .NET 11 Developers Guide to the Agentic Web Part 2

Agentic web coverage is growing fast; this continues the .NET angle with Microsoft Agent Framework specifics.

.NET 8 vs .NET 6: Should You Upgrade?

A sensible upgrade comparison focused on support windows, performance, and migration risk rather than hype.

Modernize .NET applications in the GitHub Copilot app

Interesting GitHub Copilot workflow for modernization work that is usually too broad for a single prompt anyway.

gRPC vs REST APIs: Performance, Scalability, and Use Cases Compared

Good side-by-side refresher on protocol tradeoffs when teams default to REST without revisiting internal service requirements.

Need a different partition key in Azure Cosmos DB? Pick the right approach

Worth bookmarking if a bad Cosmos partition key is already hurting you and an in-place change is off the table.

Building Event-Driven Systems with Apache Kafka and .NET

Introductory but useful for teams moving from request-response apps toward event-driven .NET services with Kafka.

How to Write the Fastest Code with BenchmarkDotNet in C# in the AI Era

A welcome emphasis on BenchmarkDotNet and profiling discipline, especially when AI-generated optimizations need verification.

Agent Skills for .NET Is Now Released

Reusable agent skills are a meaningful step if you're trying to keep agent capabilities modular and production-friendly.

AWS Bedrock with .NET: Cost Tracking via Inference Profiles

Cost attribution for AI workloads matters, and this tackles a real operational gap with Bedrock in .NET.

Microsoft Agent Framework for .NET (part 1): what it is, how it works, and when to use it

Solid primer on what Microsoft Agent Framework is for and when it actually fits a .NET solution.

Set LogLevel of Blazor

Small fix, but the kind of Blazor polish that helps with diagnostics noise and page quality tooling.

Using AI to Generate Better Unit Tests for Bug Reproduction in .NET

Interesting use of AI for reproducing bugs through tests, where the value is reliability more than novelty.

Related issues

📬 Get daily .NET content delivered to your inbox