r/moderndotnet • • Oct 01 '26

events & meetups Monthly Thread: Local .NET User Group Meetups

5 Upvotes

Promote your local .NET user group / meetups here.

Please include:

  • Location and Time
  • Topic
  • Link to the specific event
  • Anything else that is pertinent for attendees to know

You do not need to be the organizer of the meetup, just an enthusiast!

Also, if you need help launching a local .NET Meetup this is one of the things the .NET Foundation can help with! Please see .NET Meetups @ .NET Foundation


r/moderndotnet • • 4d ago

events & meetups Monthly Thread: Local .NET User Group Meetups

4 Upvotes

Promote your local .NET user group / meetups here.

Please include:

  • Location and Time
  • Topic
  • Link to the specific event
  • Anything else that is pertinent for attendees to know

You do not need to be the organizer of the meetup, just an enthusiast!

Also, if you need help launching a local .NET Meetup this is one of the things the .NET Foundation can help with! Please see .NET Meetups @ .NET Foundation


r/moderndotnet • • 10h ago

Comparing Background Job Library Performance Across .NET

7 Upvotes

I've seen some perf posts on background job libraries recently and wanted to dig into it a bit myself alongside my own BackWave package. Results below.

Setup: 7 libraries on one Postgres 17, the same 40 worker slots each, 5 rounds in rotated order, M1 Max with Postgres in Docker. So it's a local run. Look at the ratios more than the absolute numbers.

LibraryDrain noop (jobs/s)Drain 10 ms (jobs/s)Unpaced (jobs/s)p50 @ 50/s (ms)p50 @ 500/s (ms)
Acta14,6953,0045,7707.86.4
BackWave (opt-ins)13,8752,6617,6025.55.6
BackWave (4 groups)7,9842,4904,4275.66.4
BackWave (defaults)6,4532,2284,7426.66.6
Wolverine5,6192,9303,2866.79.7
MassTransit4,6692,0441,93411.312.6
Quartz.NET1,2311,08789820.831.8
TickerQ8697311,79812.49.0
Hangfire60158136418.3couldn't keep up
JobMaster767465couldn't keep upn/a

tl;dr

  • Acta is the fastest at draining a backlog, on its default settings, with its audit log on. Even with my two opt-in settings, BackWave gets to about 0.94x. With BackWave's defaults it's roughly half. Acta writes about 127 completions per round trip, and that design is the inspiration for my own opt-ins. Absolute beast, well done u/Glittering_Welcome73!
  • BackWave comes second in the drains and has the lowest median latency at a steady rate. Under unpaced load it builds a backlog, and Acta's p99 is better at 2k and 4k jobs/s.
  • Latency clocks aren't the same for everyone. Acta, MassTransit, Quartz, and TickerQ stop at handler return. BackWave, Hangfire, and JobMaster stop later, at the durable success write, so the comparison leans against BackWave. At an equal 6k jobs/s, BackWave with opt-ins had p50 4.8 ms / p99 46 ms against Acta's 15 ms / 115 ms. Full details in the post below.
  • Wolverine (6.67, Postgres queue transport) keeps up with Acta on 10 ms jobs and had the best p99 of the group at 50 jobs/s (13.9 ms). It's a message bus rather than a job scheduler, and it needs tuning for this: on its defaults it drains about 79 jobs/s (20 messages per poll, then a 250 ms pause). I ran it at 1,000 per poll, 4 listeners, a 25 ms poll, and LISTEN/NOTIFY on, picked from a grid. Every send goes through its durable outbox (about 9 ms per send here), so unpaced it tops out around 3.3k jobs/s.
  • TickerQ 10.4.0 ran 3 to 13 jobs out of 20k twice under load, in every round, on its default settings too. The write-up shows the trace.

On JobMaster, since I know the docs show much bigger numbers: I don't think we disagree. Their headline 7k to 29k/s figures are scheduling rates across multiple worker containers. Their completion figures are in the tens to hundreds per second. JobMaster also pauses each slot 500 ms after every job on the Medium lane, by design. So 40 slots top out around 76 jobs/s, and that's what I measured. On the Critical lane I saw about 267/s. This table only counts completed jobs.

Full write-up with every setting, the method, and the caveats: https://backwave.app/docs/advanced/benchmark-results

The harness is public if you want to rerun it or tell me I configured your library wrong: https://github.com/Back-Wave/BackWave/tree/main/benchmarks


r/moderndotnet • • 1d ago

csharp Unions vs Discriminated Unions in .Net

Thumbnail
planetgeek.ch
8 Upvotes

r/moderndotnet • • 1d ago

Rust (the game) moving to a custom .NET 11/NativeAOT engine

Thumbnail
rust.facepunch.com
49 Upvotes

The result: The new rendering is fully GPU driven with meshlets, bindless textures, GPU culling with two-pass occlusion, GPU LOD selection with crossfades, and mesh shaders on supported hardware. For the first time in its existence, Rust is GPU bound, not CPU bound. The only graphics API we support is Vulkan, and all shaders have been completely rewritten from scratch. Practically everything uses .NET 11 and, where it makes sense, NativeAOT. Code runs faster than even the fastest, most optimised native SIMD code in the old code base. Input lag and frame pacing have been prioritised from the foundations to achieve what we believe is one of the lowest input-to-display latencies ever achieved, which you notice the instant you first move your mouse.


r/moderndotnet • • 2d ago

Creé PostGiqh, una extensión gratuita para probar APIs desde Visual Studio 2026

Post image
1 Upvotes

Hola, soy desarrollador .NET y creé PostGiqh para enviar y organizar peticiones HTTP sin salir de Visual Studio.

Tiene pestañas, colecciones, entornos y soporte para JSON, XML, multipart y autenticación Bearer, API Key y OAuth 2.0 con PKCE.

Soy quien desarrolla la extensión y me gustaría recibir comentarios: ¿qué función les resultaría más útil en un cliente HTTP integrado al IDE?

https://marketplace.visualstudio.com/


r/moderndotnet • • 3d ago

Curbing AI-Coded C# and F# Slop with .NET Slopwatch

Thumbnail
aaronstannard.com
11 Upvotes

.NET Slopwatch has been around for a while now, but after a particularly nasty incident in which I caught Opus 5.5 using dynamic to bypass a bunch of type safety constraints inside some EF Core value converters, I thought it was worth writing a tutorial on using it.


r/moderndotnet • • 4d ago

What problems do you face when working with agents on .net application?

0 Upvotes

I am working on creating skills for dot net projects. So I want your views on what problems you face while working on dot net apps with AI agents


r/moderndotnet • • 5d ago

Modernizing winforms for practical use

4 Upvotes

Update: I'm building a hardware-accelerated WinForms UI framework with drag-and-drop animations.

Following the feedback on my previous post, I've been working on an experimental framework called LukFrameDX.

Here's what I've implemented so far:

  • Direct3D 11, Direct2D and DirectWrite rendering.
  • 76 customizable and combinable button animations.
  • Automatic panel entrance animations.
  • Independently animated nested panels.
  • Visual Studio Designer integration.
  • Single DLL distribution with no additional NuGet dependencies.

All the entrance animations shown in this video can be configured directly through the Properties window.

The project is still in early development, and I'm using AI-assisted development while learning more about graphics programming and framework architecture.

I'd love to hear your feedback. What features would make a framework like this useful for your projects?


r/moderndotnet • • 6d ago

Would you use a Visual Studio wizard to set up OAuth sign-in for an ASP.NET Core app?

Thumbnail gallery
1 Upvotes

I’ve been trying this out on one of my own ASP.NET Core projects. Screenshots attached. Would it have saved you time the last time you set up OAuth, or would you stick with your current approach?


r/moderndotnet • • 6d ago

Does anyone still use C# WinForms?

Thumbnail reddit.com
0 Upvotes

r/moderndotnet • • 8d ago

I Ran an LLM Written in F# on a Commodore 64

Thumbnail
youtube.com
7 Upvotes

r/moderndotnet • • 7d ago

🔥 If You Had to Build a Windows Forms App That Users Would Actually WANT to Explore, What Domain Would You Choose?

Thumbnail reddit.com
0 Upvotes

Trying to avoid another CRUD/data-entry application.

If your goal was to build a WinForms app that people genuinely enjoy exploring, what domain would you pick?

Looking for unconventional ideas.


r/moderndotnet • • 8d ago

I built my own extensible cloud environment inspired by .NET Aspire

Post image
7 Upvotes

TL;DR: I've built my own extensible cloud environment, inspired by .NET Aspire, with the ambition of bringing development, deployment, and operations together around a common resource model.

https://marinasundstrom.github.io/CloudShell/

Background

Earlier this year, I started experimenting with agent-assisted software development. For quite some time, I had been thinking: "What if I could take the ideas behind the Microsoft Aspire dashboard and use them to build a more customizable environment?"

Having worked extensively with distributed applications and occasionally with Azure, I thought it would be interesting to explore what it would take to build my own cloud environment.

The goal has been to build something that can serve both as a local development environment, similar to Aspire, and as a deployment target running on another machine. Rather than treating development and hosting as two entirely separate concerns, I wanted to explore how they could share a common application model.

A resource-oriented architecture

Like many other cloud platforms, CloudShell is built around the concept of resources.

The Resource Manager, which runs within the Control Plane, manages resources, their relationships, and their dependencies. Resource providers implement the behavior associated with different types of resources.

The architecture is designed to be extensible. Anyone can implement their own resource providers and corresponding UI integrations.

You could even integrate your smart toaster if you wanted to.

Defining resources

CloudShell supports two approaches to declaratively defining resources:

  • Code-based definitions — using builders and language-specific APIs to construct a resource graph.
  • Document-based definitions — using resource templates in YAML or JSON, which serve as a common, language-independent interchange format.

Both approaches describe the same underlying resource model. Defining resources in code allows you to take advantage of programming language features such as composition, abstraction, and reuse, while resource templates provide a portable, serializable representation of the environment.

Resource templates are conceptually similar to Docker Compose files or Kubernetes manifests. Or does anyone remember Project Tye?

We also have the concept of Launchers, which are language-specific bindings that allow you to define your distributed application in a programming language of your choice.

There is currently experimental support for C#, Java, Go, Python, JavaScript, and TypeScript.

A launcher constructs a resource graph, translates it into a resource template, launches a CloudShell Control Plane, and applies the template.

The idea is that CloudShell itself should not be tied to a particular programming language or development ecosystem.

Built-in resources

CloudShell comes with a number of built-in resource types, covering both application workloads and infrastructure.

These include network primitives, container apps, ASP.NET Core applications, SQL Server, RabbitMQ, and support for application workloads written in various programming languages.

Container apps are the recommended resource type for deploying applications. They provide an abstraction for running and scaling containerized workloads, regardless of the language or technology used to implement them.

The intention is to describe an application and its supporting infrastructure as a connected system rather than as a collection of isolated processes.

Observability and operations

CloudShell also provides integrated tools for working with running applications, including:

  • Logs
  • Distributed traces
  • Metrics
  • Resource inspection and management

The idea is to bring together the tools needed to understand what is happening within a distributed application, alongside the resources that make up the environment itself.

There are plenty of sample applications in the repository demonstrating different aspects of the platform.

Revisiting the user experience

After spending some time focusing on other projects, I recently returned to CloudShell to revisit its user experience.

I've borrowed some design cues from Aspire, while adapting the interface to the broader ambition of building a cloud-native environment that goes beyond local development.

A development environment is typically something you start and stop alongside your code. A hosted environment, on the other hand, has an independent lifecycle and needs to provide a persistent operational view of the system.

I want CloudShell to accommodate both of these scenarios without making them feel like entirely different products.

CoreShell — the foundation of the UI

At the heart of CloudShell's user interface is another project of mine called CoreShell.

CoreShell is a toolkit for defining the extensible structure of an application. You could think of it as something resembling a CMS (Content Management System), or perhaps an abstraction a level below that.

The idea is to decouple the application structure from its presentation, allowing functionality to be contributed through extensions rather than being hardcoded into a particular UI.

There is currently a sample application demonstrating an integration with Fluent UI and Blazor.

CloudShell serves as a practical application of these ideas.

Connecting my projects

Although I work on several independent software projects, I don't necessarily see them as isolated experiments. There is a broader direction behind what I'm building, and I often find opportunities to bring these projects together.

I've already been using CloudShell to host applications and services that I've developed as part of my other projects. Similarly, CoreShell provides a reusable foundation for building extensible application interfaces and is now an integral part of CloudShell.

These crossovers allow me to explore how different technologies and architectural ideas work together in practice. One project can become the infrastructure, tooling, or foundation for another. In turn, the experience of using these technologies helps inform their continued development.

Rather than building everything around a single predetermined product, I'm gradually developing an ecosystem of technologies that complement each other while remaining useful independently.

The individual projects are exploratory, but there is an intention behind how they fit together.

What's next?

CloudShell is still experimental, and there are several areas I want to explore further:

  • A more intuitive development workflow. How should the environment behave when resources change, applications are rebuilt, or parts of the system need to be restarted? How do you manage the lifecycle of an environment while actively developing an application?
  • Further UI improvements. Making it easier to navigate resources, understand relationships, and perform operational tasks.
  • Expanding practical use. Continuing to integrate CloudShell with my other projects, moving beyond individual sample applications towards hosting and operating more complete systems.
  • Going beyond local development. Exploring deployment, persistent environments, configuration management, application updates, and the operational challenges of hosting distributed applications.
  • Extensibility. Making it easier for others to implement their own resource providers and UI integrations.

Final thoughts

I'm not necessarily trying to build a replacement for Aspire, Kubernetes, Azure, or any other established platform.

For me, this is an exploration of what a more unified experience for developing, hosting, and operating distributed applications could look like.

It's also been an opportunity to explore how agent-assisted development enables an individual developer to experiment with software systems of this scope, while pursuing architectural ideas and building technologies that can be reused across projects.

AI has helped me accelerate the realization of ideas that I've been thinking about for quite some time. The projects themselves are part of a broader, ongoing exploration of software architecture, distributed systems, developer tooling, and application development.

CloudShell is still experimental, and there is plenty of work left to do.

I'd be interested to hear what others think, particularly those working with distributed applications, self-hosted infrastructure, or internal developer platforms.

How much of your local development model would you like to carry over into your actual hosting environment? And where do you think the separation between development and operations should be?

Website: https://marinasundstrom.github.io/CloudShell/

GitHub: https://github.com/marinasundstrom/CloudShell


r/moderndotnet • • 11d ago

Has awaiting inside if statements conditions / function parameters always been the norm?

Thumbnail reddit.com
2 Upvotes

r/moderndotnet • • 12d ago

How do you set up your Agentic .NET Environment?

13 Upvotes

Hi everyone!

We've seen quite a few discussions about using Skills, MCP servers, Aspire, and other tools to improve agentic development. There are plenty of individual building blocks out there, but I'm interested in how people put everything together.

How do you set up your overall development environment to enable AI agents to consistently produce high-quality .NET code?

I'm particularly interested in things like:

  • Tooling: What tools, MCP servers, Skills, Plugins, CLI tools, and other integrations do you give your agents access to when it comes to .NET development, and why?
  • Context: How do you provide architectural guidelines, coding conventions, domain knowledge, and project-specific context and keep this up to date and sync it through your business?
  • Guardrails: How do you prevent agents from introducing bad patterns, unnecessary abstractions, security issues, or architectural drift?
  • Feedback loops: What automated checks do you use? Tests, linters, analyzers, code reviews, build validation, etc.?
  • Evaluation: How do you determine whether the code produced by an agent is actually good? Do you have specific quality criteria or evaluation processes?

More fundamentally:

What does "good code" actually mean when it's written by an LLM, and how do you steer an agent towards producing it consistently? Do you even still care about the code? If not, considering you are still responsible for what you produce and deploy, what makes you feel confident enough in your development process that you don't care about it anymore?

I'm interested in real-world setups! What does your workflow look like, what has worked well, and what have you tried that didn't work?

Would be great to hear about both personal projects and production environments.


r/moderndotnet • • 12d ago

C# 15 on a Commodore 64 🕹️

8 Upvotes

ecords, unions and pattern matching, compiled ahead of time to native 6502 code. No VM, no GC. The whole game, SID music included, is 37 KB on a 1 MHz machine from 1982.

github.com/OnurGumus/zero-csharp


r/moderndotnet • • 12d ago

CsCheck skills - 0.1.1 but ambitious

7 Upvotes

Coverage + Mutation testing + CsCheck - in a loop

You can help turn this into a powerful tool

https://github.com/AnthonyLloyd/CsCheck/blob/master/plugins/cscheck/README.md


r/moderndotnet • • 12d ago

TantivyDotNet 1.0 RC: embedded full-text search for .NET on top of Tantivy, looking for API feedback

Thumbnail reddit.com
4 Upvotes

r/moderndotnet • • 12d ago

.NET 10 control plane with EF Core and PostgreSQL, looking for contributors to implement an OpenAPI draft

0 Upvotes

Waylorn is an AGPL-3.0 control plane for industrial infrastructure. The backend is .NET 10 minimal APIs with EF Core and PostgreSQL, with a Rust safety gate and a Next.js and Expo front end.

The front end is built against a draft OpenAPI contract, and the .NET API doesn't implement all of it yet. Missing routes include approvals, command preflight, audit search, asset reliability and events. I've split these into small issues labelled good first issue.

I'd especially value review of the endpoint structure, concurrency handling (assets use a version field) and test layout. The repo has a test project for HTTP and domain tests.

Disclosure: AI-assisted development, human-reviewed.

Repo: https://github.com/AbdulNafaySarmad1/Waylorn


r/moderndotnet • • 13d ago

Technical assessment at karat c# .net backend engineer

0 Upvotes

Hi All,

If anyone have given a technical assessment .net c# on karat, please tell me what to expect on the platform

Example the IDE experience, the intellisence, use of AI or a human will be there. The recruiter just said it will not be genetic leet code rather tailored to job detail. Twi sections coding and system design