26
2
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
27
2
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
28
2
What's new for .NET in Ubuntu 26.04 (devblogs.microsoft.com)
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
29
6
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
30
3
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
31
3
submitted 4 months ago* (last edited 4 months ago) by KiwiDevelop@programming.dev to c/dotnet@programming.dev

I kept running into the same issue when writing integration tests for ASP.NET Core APIs — there’s no clean way to assert how many SQL queries an endpoint executes.

Most of the time it ends up being:

  • custom DbCommandInterceptor
  • wiring it into WebApplicationFactory
  • manually counting queries

So I wrapped that into a small library.

Example:

await using var guard = factory.TrackQueries<Program, AppDbContext>();

var client = guard.CreateClient();

await client.GetAsync("/api/orders");

guard.AssertCount(exact: 1);

That’s it — no manual interceptor or log parsing.

What it does:

  • Counts SELECT/INSERT/UPDATE/DELETE queries triggered by HTTP requests
  • Starts counting from CreateClient() (so startup/seeding queries are ignored)
  • Works with any EF Core provider
  • Designed for WebApplicationFactory-based integration tests

GitHub: https://github.com/KiwiDevelopment/KiwiQuery

NuGet: dotnet add package KiwiQuery.EFCore

MIT, very small codebase. Would love feedback — especially if you’re already solving this in a different way.

32
2
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
33
5
submitted 4 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
34
2
submitted 5 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
35
3
36
4
submitted 5 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
37
2
38
9
submitted 6 months ago by cm0002@toast.ooo to c/dotnet@programming.dev

A pull request for the Microsoft .NET Runtime build on Linux to use IO_uring for sockets is showing some massive performance benefits.

Ben Adams of Illyriad Games and a .NET contributor opened the pull request to use IO_uring for sockets on Linux. This implementation is a complete, "production grade" IO_uring socket I/O engine for .NET's System.Net.Sockets layer. With the proposed code it's currently opt-in via the OTNET_SYSTEM_NET_SOCKETS_IO_URING=1 environment variable.

39
5
40
3
.NET 11 Preview 1 is now available! (devblogs.microsoft.com)
submitted 6 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
41
1
submitted 6 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
42
4
submitted 6 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
43
6
submitted 6 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
44
8

In our previous post “Reinventing how .NET Builds and Ships”, Matt covered our recent overhaul of .NET’s building and shipping processes. A key part of this multi-year effort, which we called Unified Build, is the introduction of the Virtual Monolithic Repository (VMR) that aggregates all the source code and infrastructure needed to build the .NET SDK. This article focuses on the monorepo itself: how it was created and the technical details of the two-way synchronization that keeps it alive.

45
5
submitted 7 months ago by nemeski@mander.xyz to c/dotnet@programming.dev
46
4
47
3

about the new and interesting changes and additions in .NET networking space. This time, we are writing about HTTP improvements, new web sockets APIs, security changes and many distinct additions in networking primitives.

48
5
49
3
50
4

AI models have a knowledge cutoff and do not have access to your personal or company data by default.

While context engineering is a broader topic, this post will focus on enabling access to high-quality data through data ingestion pipelines.

… we’re excited to announce the preview release of data ingestion building blocks for .NET.

… how these building blocks empower the .NET ecosystem to build composable data ingestion pipelines for their AI applications.

view more: ‹ prev next ›

.NET

1869 readers
1 users here now

Getting started

Useful resources

IDEs and code editors

Tools

Rules

Related communities

Wikipedia pages

founded 3 years ago
MODERATORS