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 • • 26d 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

๐Ÿ”ฅ 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 • • 16h ago

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

Thumbnail
youtube.com
1 Upvotes

r/moderndotnet • • 1d 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 • • 4d ago

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

Thumbnail reddit.com
2 Upvotes

r/moderndotnet • • 4d ago

How do you set up your Agentic .NET Environment?

11 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 • • 4d ago

C# 15 on a Commodore 64 ๐Ÿ•น๏ธ

7 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 • • 5d 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 • • 5d 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 • • 5d 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 • • 5d 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


r/moderndotnet • • 7d ago

microsoft Microsoft's ONNX Runtime and Agent Framework both pulled from GitHub due to Python versions being hijacked with malware

Thumbnail github.com
28 Upvotes

So if you've noticed that https://github.com/microsoft/onnxruntime is missing, you are not alone! Apparently the Python flavors of these packages, distributed alongside the .NET ones, have been infected with malware: https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi

Same is true for the Microsoft Agent Framework: https://github.com/microsoft/agent-framework/ <- currently missing! Due to... you guessed it: compromised Python packages https://www.ox.security/blog/breaking-hijacked-releases-of-microsofts-official-agent-framework-steals-azure-and-ci-credentials/

Credit to Indy Singh for surfacing all this on X: https://x.com/migueldeicaza/status/2123895258471612735


r/moderndotnet • • 6d ago

[Show & Tell] eQuantic.UI: Write UI components once in C# and compile to vanilla JS (no WASM) on the web or native GPU pixels via Metal/Vulkan (no WebView/Skia)

6 Upvotes

Hey r/csharp,

I have been working on an open-source UI SDK called eQuantic.UI, and I wanted to share the architecture and get some feedback from the community.

The goal is simple: write UI components once in C# using a strongly-typed declarative vocabulary (Box, Row, Column, Text, etc.) and let the SDK compile each target to its real native path, without relying on JavaScript, CSS, Dart, Swift, or platform manifest files.

How it works under the hood:

  • Web (No WASM): At build time, the compiler uses Roslyn to transpile your C# components into optimized vanilla JavaScript and atomic CSS. It supports server-side rendering (SSR) with client hydration and built-in RPC calls via [ServerAction], avoiding the heavy .NET WASM runtime download.
  • Desktop & Mobile (No WebView, No Skia): On macOS, iOS, Android, and Windows, the same component tree renders directly on the GPU through Photon (a custom rendering engine built on Metal and Vulkan).
  • Transactional Email: The subset of components an email client supports compiles into email-safe HTML tables with inline styles, along with a plain-text version from the exact same tree.
  • Zero Node.js friction: You only need the .NET 10 SDK installed. The TypeScript/bundling toolchain ships embedded inside the NuGet SDK package, so there is no npm install, no webpack/vite config, and no manual Info.plist or AndroidManifest.xml setup.

Quick Start:

Bash

dotnet new install eQuantic.UI.Templates
dotnet new equantic-app -n MyApp
cd MyApp && dotnet run

(You can also use dotnet new equantic-native to spin up a native GPU window.)

The project is licensed under MIT and is currently in active preview (0.2.0-preview.* on NuGet). I would love to hear your thoughts on the approach, API design, or any edge cases you see with AST-to-JS transpilation and custom GPU rendering.

GitHub repository (with architecture docs and samples):https://github.com/eQuantic/equantic-ui


r/moderndotnet • • 6d ago

Learning to Implement JWT in .NET as a Beginner

Thumbnail reddit.com
2 Upvotes

Hey guys! I'm a beginner to web and .NET development.

Cross posting my post from r/dotnet (idk if that's allowed).

Questions, comments, and suggestions are welcome!

No AI has been used in writing the article


r/moderndotnet • • 6d ago

Alguien me puede recomendar cursos de YouTube para aprender asp.net ?

Thumbnail reddit.com
1 Upvotes

r/moderndotnet • • 7d ago

Follow-up to my tenant isolation question: I made the build fail if anyone bypasses EF Core query filters

Thumbnail reddit.com
1 Upvotes

r/moderndotnet • • 7d ago

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

Thumbnail
reddit.com
1 Upvotes

r/moderndotnet • • 8d ago

I built AiDotNet to show the world that it is possible for .NET to do AI better than Pytorch

19 Upvotes

I wanted to showcase the project I have been working on for the past 4 years and the progress I have made so far. The work is mostly completed but I have some remaining performance issues that I want to focus on some model families such as audio AI models. I was hoping to get some feedback and overall show everyone how easy it is to use this library to create AI models with basically no experience necessary. You could literally pass in input and output such as data you have such as stock prices and output such as the actual prices that you would like to predict and you receive a fully trained AI model you could easily host with AiDotNet.Serving or save locally and run it on demand.

I would love to get your thoughts on my passion project and a reminder that it is 100% C# and open source so feel free to contribute if you would like. We have our website at www.aidotnet.dev with easy examples and guides.

Here is an easy example of how to use the library and the configuration options you get:

using AiDotNet;
using AiDotNet.Data.Loaders;
using AiDotNet.Models.Results;
using AiDotNet.Regression;
using AiDotNet.Tensors.LinearAlgebra;

// Five days of closing prices for a fictional stock.
double[] days = [ 1, 2, 3, 4, 5];
double[] prices = [100, 102, 104, 106, 108];

// Give the builder the examples and let it learn the trend.
var model =
await new AiModelBuilder<double, Matrix<double>, Vector<double>>()
.ConfigureModel(new SimpleRegression<double>())
.ConfigureDataLoader(DataLoaders.FromArrays(days, prices))
.BuildAsync();

// Ask the trained model what price it expects on day 6.
var daySix = new Matrix<double>(new double[,] { { 6 } });
double predictedPrice = model.Predict(daySix)[0];

Console.WriteLine($"Predicted closing price for day 6: ${predictedPrice:F2}");

Tested with AiDotNet 0.234.0 on .NET 10. It prints:

Predicted closing price for day 6: $110.00

This is a super easy example but with ConfigureModel here are over 2,100 model types in the library. To get a feel for the range, the repo includes examples for finding objects in a photo, adapting an existing language model to your own material, and packaging a trained model for another app to use. Browse the examples

What youโ€™re seeing in the 17-second video. We trained the same LSTM model in AiDotNet and PyTorch. Each got a separate turn on the same laptop graphics card, starting from the same model settings and seeing the same examples in the same order. Both had eight practice updates before the clock started. The two recordings play side by side at actual speed.

After 4,096 training updatesAiDotNetPyTorch
Time on a GeForce GTX 1660 Ti2.60 seconds15.00 seconds
Correct answers on 320 new signals302301

r/moderndotnet • • 9d ago

Akka.Reminders: a Reliable, High-Speed, Durable, Distributed Scheduler for .NET

Thumbnail
petabridge.com
25 Upvotes

I've spent about a year incubating a new distributed scheduling engine for Akka.NET that we've intended to use to replace Quartz.NET with, and it's finally available for release as a stable Akka.NET module as part of Akka.NET v1.5.75: Akka.Reminders.

It supports Sqlite, SQL Server, and Postgres - can dispatch about 25k reminders per second running Pg in a docker container.

The way the scheduler distributes work is by pushing it to Akka.Cluster.Sharding entity actors, which are naturally spread throughout the cluster and do all of the actual processing. Akka.Reminder's job is to keep track of which reminders are due for which entity, wake them up, and re-deliver those reminders until they are successfully ACK'ed by the entity responsible for processing them.

We have customers in sectors like banking using this for clearing tens of thousands of orders at market open and have been happy with it for many months, plus we run the 100% local + Sqlite version of this inside https://netclaw.dev/ for powering in-process / local agent reminders there, with thousands of instances deployed in the wild already. It works!


r/moderndotnet • • 9d ago

Live Discussion Today (17:00 UTC): .NET 11, AI, and how they are reshaping the frameworks we use daily

Post image
3 Upvotes

We're hosting an open ABP Community Talks session today at 17:00 UTC to discuss what's actually changing with .NET 11 and how AI is impacting modern .NET application frameworks. Feel free to join the live Q&A and share your take on where the ecosystem is heading:

https://kommunity.com/volosoft/events/abp-community-talks-202607-net-11-ai-and-the-future-of-net-bec4a5a8


r/moderndotnet • • 9d ago

discuss How many of you are stuck on older .NET Runtimes and why?

12 Upvotes

How many of are you are still rocking .NET Framework or much older versions of .NET / .NET-Core, older than say .NET 10?

What's keeping you on it?

Asking because I'm wondering if, realistically, I can drop .NET Framework support on new versions of my libraries. I suspect the answer is "not yet"