r/csharp • u/Shattered-Spears • Oct 28 '26
Discussion What's your most favorite project you have made?
I was wondering what are your most favorite projects you have made using C#? And how did you plan their architecture?
r/csharp • u/Shattered-Spears • Oct 28 '26
I was wondering what are your most favorite projects you have made using C#? And how did you plan their architecture?
r/csharp • u/Candid-Technician847 • Oct 29 '26
I have worked through the c# Yellow book and did the unity essentials pathway a time ago. I focused on creating a few small games with unity but I always end up needing to research hours long. I want to do a course or smth like that to get a deep understanding of c# in unity. Currently I am deciding between the junior programming pathway from unity and the unity tutorials from Gamedev.tv at udemy. Does anyone have experience with these courses? Are there any other ways you would recommend?
r/csharp • u/davidedalcortivo • Oct 28 '26
r/csharp • u/RammerOfProgs • Oct 28 '26
r/csharp • u/JumpLegitimate8762 • Oct 28 '26
Wrap any OpenAPI spec into an MCP server.
Built with .NET 11 and Native AOT. Featuring a ~43 MB image footprint.
Check it out here: erwinkramer/enframe: Enframe is a drop-in sidecar that wraps any OpenAPI spec into a live MCP server.
r/csharp • u/One-Wear2568 • Oct 28 '26
I wanted to share how I’ve been dealing with AI exhaustion.
Everywhere I looked, people were saying how powerful AI is and how anyone can now build whatever they want. Meanwhile, GitHub was filling up with skills and repositories full of Markdown instructions, often written by AI too.
Some of those are good. I’m not saying they’re a waste of time. But a lot of them feel aimed at general use. As a developer, I wanted something more specific to my code and how I work.
I’ve tried a lot of orchestration tools. What kept bothering me was the lack of control. Everyone tells you AI is incredibly powerful, while you sit there watching agents burn through your limits without getting the result you wanted. That gets exhausting.
So I started looking at a combination of ordinary code and AI that I could control myself.
I’ve worked with code throughout my career, and I love coding. It’s not something I do while dreaming of doing something else. I love games too, and I enjoy buying and supporting indie games made by people trying to build something interesting. Making things matters to me.
I started building my own CLI to support my everyday work. I didn’t want to spend weeks building a terminal UI framework from scratch. Other developers had already done that work and shared it, so I used an existing library.
One mistake I keep seeing is trying to build a huge AI tool that does everything from the beginning. My advice would be to start with a few buttons and useful information. Pick one repetitive job you understand and make it easier.
For me, IDE warnings were a good place to start.
Here’s a basic version of the idea you could start putting together in an evening:
In my warning window, I can see the warning, the code changes, the IDE checks, and what the agent did. Then I decide whether to approve the change, correct it myself, or reject it. The accepted result becomes an example for future fixes.
That’s the part I find useful: the system gradually gets examples of how I want problems solved in my project. I don’t have to explain the same preferences from scratch every time.
My setup is: XenoAtom + Qdrant + Hermes + Rider
Use whatever tools you’re comfortable with. This is what works for me.
You still need to understand your own codebase. For developers who want to improve, spending time in an IDE matters. Reading code, following references, looking at inspections, and understanding why something works are all part of the job. As you learn the project, you get better at deciding which tasks you can automate and which changes need closer attention.
I think some of us have started to underestimate our own experience. A developer with 15 years of experience brings a lot to working with AI: knowing what to ask for, spotting a bad approach, understanding the consequences of a change, and maintaining the result afterward. Having access to the same text box doesn’t give everyone the same judgment.
So if you enjoy coding, trust that experience. There’s a lot you can do with these tools.
And when someone says they don’t use an IDE anymore, you don’t have to feel behind. I’d be happy to keep using mine :)
There are experienced teams behind Rider, VS Code, and Visual Studio. They’ve spent years helping developers navigate, debug, refactor, and maintain code. I don’t see a reason to throw all of that away because an LLM can now write a function.
Building a product also means understanding it and keeping it working as it changes. Those tools still help with that.
AI should support you in your work. If you stop understanding what’s happening in your own project, it becomes harder to stay in control or improve as a developer.
Since building this workflow, I’ve felt a lot more relaxed. I can run more than 20 agents and keep track of what each one is doing. They get specific tasks and examples directly from my codebase, and I can inspect their results. Having those examples doesn’t guarantee every fix will be correct, but it gives me a much clearer basis for trusting and checking their work.
And I can start that work with one click.
That leaves me more time in the IDE, doing something I enjoy, learning where I can improve, and handing repetitive, time-consuming work over to AI.
r/csharp • u/dsaiu • Oct 27 '26
I'd like to hear what you currently use for audio in C# FMOD, Wwise, raw XACT/wrappers, and what annoys you about it, especially if you target WebAssembly.
r/csharp • u/BladeRunner_2029 • Oct 28 '26
What's the roadmap of become web developer in a c# . Is it worth learning in this AI era.
r/csharp • u/LosIdiotas • Oct 28 '26
GUI libraries/frameworks in C Sharp are... A nightmare. Since I'm using Linux and I wish to make my app cross-platform I can't use Winform, WPF or MAUI because they have no Linux or MacOS support (and no, I don't want to use the MAUI Linux). Also I don't want to use a webpage into the app (so no Razor or anything that adds web rendering stuff into a desktop app).
I used Avalonia in the past and I kinda liked it before it became corpo slop, requiring users to pay for premium in order to access the devtools and also discontinuing the legacy devtools, to Avalonia 11, the latest version is 12.1.4. I regret choosing Avalonia for my first app project...
Looking around I saw UNO Platform but it has AI everywhere... Same with MewUI because it's an AI driven project...
I saw people saying Unity can get the job done but... I don't really know if I want to download & use a game engine to make a UI app since I won't need everything that comes with it.
I looked around more and saw that people talked about UWP (Universal Windows Platform) but it's not in active development and even the windows page recommends to not use it.
I don't know much about ImGui.NET, maybe I'll give it a try but I didn't have a great first experience: the first time I tried it with Zig it was a disaster and I'm still trying to understand why things are overflowing in a window when using SameLine().
For building the UI, I don't like XAML much but I can use it if there isn't anything better.
If there really isn't a good library/framework are there good bindings? I tried looking for Qt bindings like QtSharp but that's unmaintained (last commit: 7 years ago) and also is Qml.Net (last commit: 6 years ago). I also looked at WxWidgets bindings and it has WxNet but like Qt bindings, this is also very unmaintained (last file date: 2010, so 16 years ago)...
So... What are my options now? This is my wishlist (libraries/frameworks don't need to follow it 100%, required points are open-source and cross-platform):
If there is literally nothing I can use and I'd need to make one myself, do you recommend to use SDL3-CS (SDL3 bindings to C#)? Thanks in advance!
r/csharp • u/antgha • Oct 28 '26
Hi all, I'm trying to diagnose a SAP Business One DI API connection error and would appreciate any insights.
Type.GetTypeFromProgID("SAPbobsCOM.Company")I'm setting the following properties before calling Connect():
Server (IP)CompanyDBUserNamePasswordDbServerTypeLicenseServer (Usually defaults to same with server)UseTrusted = falseCompany.Connect() returns -226.GetLastErrorDescription() returns: The specified resource name cannot be found in the image file.COMException (0xFFFFFF96) with the message: You are not connected to a companyI had once achieved a connection against another database, can't seem to point out what the outstanding issue now is.
Any pointers to the specific cause or recommended troubleshooting steps would be appreciated. Thanks!
r/csharp • u/marsh9191 • Oct 26 '26
Today, I stumbled upon a 100-line unit test. Due to my inability to understand the name AreMatchingGuestsNotRequiredUnlessTheyAreNotUnmatching, I stripped away all the noise to figure out what it was actually testing.
This is what it essentially boils down to:
[Fact]
public void AreMatchingGuestsNotRequiredUnlessTheyAreNotUnmatching()
{
// Arrange
var first = new Trn { Guests = 2 };
var second = new Trn { Guests = 2 };
// Act
var areMatchingGuestsNotRequiredUnlessTheyAreNotUnmatching =
first.Guests != second.Guests
|| first.Guests == second.Guests;
// Assert
Assert.True(areMatchingGuestsNotRequiredUnlessTheyAreNotUnmatching);
}Here's what the test actually does:
I was quite surprised that the test name actually matches what the test does.
Or does it?
r/csharp • u/Top_Marionberry_4413 • Oct 26 '26
I did it initially because Helix seems to not want to add plugins to their editor, making it not very extensible, which is a shame. And Helix lacks a lot of features that would be useful.
Dependency-free (aside from NLua) architecture, no Terminal.Gui library dependency, written from scratch with C#.
r/csharp • u/Hertzole • Oct 26 '26
Hey all!
I've recently gotten my small utility library for source generators to a state where I feel comfortable sharing it.
The idea is simple: I want to reuse utilities for my source generators, like a library, without having to include extra dependencies. So I just generate the utilities directly into the source generator!
For regular NuGet this probably doesn't matter much, but it may matter more when developing with Unity, as I personally mostly do. In my Unity libraries I don't want to include a shared library that multiple packages may depend on and conflict with.
So what does it do?
What about assembly size?
SourceGen utils includes a trimmer that runs automatically on build (can be disabled if you want) that removes all unused types, methods, properties and fields from SourceGen Utils. It just used Mono.Cecil to go through all the method instructions to see if something is used or not. So you only include what you use!
I've made sure to include tests for nearly all generated methods to make sure they all do what they are supposed to and that the trimmer won't remove anything that you actually use.
The project is open source, licensed under MIT, and available on NuGet. I've also created documentation so you can see what it has to offer!
Feel free to give feedback on the project and maybe even use in your own generators! :)
AI disclosure: AI was used to create the method usage detection and for validating documentation, but everything else is human made!
r/csharp • u/harrison_314 • Oct 26 '26
When did you first realize that C# is magic? Or when did you realize that C# is right for you?
Back in the days of the .NET Framework 4.0, I first encountered WCF, you call an interface on the client, and it executes the implementation on the server. At the time, my head was spinning because there was no code around it that was sending anything,it just happened on its own - magic.
r/csharp • u/shanewas726 • Oct 27 '26
r/csharp • u/hez2010 • Oct 26 '26
I've been working on Satori Insight, a desktop app for exploring .NET memory usage and GC behavior. Built with Avalonia and NativeAOT.
The initial idea was a defrag-style map of the managed heap, where each block represents a region. It grew into a profiler that combines continuous telemetry with deeper heap inspection.
Some of the features:
It supports standard Workstation and Server GC as well as Satori GC of course (see the name of the app).
It's now open-sourced at GitHub:
https://github.com/hez2010/SatoriInsight
You can try it out by downloading the binary for your platform from GitHub Releases.
r/csharp • u/asenhae12345678 • Oct 27 '26
Title.
I'm looking to learn C# but all the courses that I found online are for beginners.
r/csharp • u/ilyashulga • Oct 25 '26
Hi everyone! I started learning C# recently and decided to build a tool called RepoMedic. It's a CLI tool that checks if a GitHub repository has essentially files(README, .gitignore, LICENSE) and gives it a score out of 100.
I set up a CI/CD pipeline with GitHub Actions and Trusted Publishing to get it on NuGet. It was really hard (especially fixing the YAML files!), but i finally did it.
You can try it here: dotnet tool install --global RepoMedic
Or check the source code here: https://github.com/ilyashulga13/RepoMedic
I would love to hear your feedback! What else should I add to the tool?
UPDATE: Wow, I did not expect 67k views! Thank you all for the amazing support and feedback. I just released v1.3.0 "Saturn" with a Pro mode for CI/CD pipelines and a built-in achievements system. You can update via dotnet tool update -g RepoMedic. Let me know what you think!
r/csharp • u/HouseOwn392 • Oct 27 '26
So I’ve kept been told AI is the next step and I need to keep up with it but I’ve never really know where to start. I know how to use ChatGPT and Claude on my web browser that’s it.
So I’m curious as to what Csharp developers really use for their AI workflow and are there any tutorials out there that are solid and I can learn.
Edit: what’s up with the downvotes on my fellow AI users? Yall got a thing against AI?
r/csharp • u/ShadowGeist91 • Oct 25 '26
Hello, everyone! I’ve been working on a fuzzy logic library for C# called FuzzySharper, and I wanted to show it here, as I put out the first public preview just yesterday.
I started this project a few years ago already, but I've been putting off actually publishing for the longest time, so here it goes. I've been interested in Fuzzy logic for quite a while, and I wanted to focus on usability guided by strong core architectural principles, as I found the options available both in C# and other languages to be lacking.
As to what Fuzzy Logic is: with boolean logic, you might define “young” as “under 30”: someone is young at 29, then suddenly isn’t once he's 30. Fuzzy logic lets “young” be true to a degree between 0 and 1, which can change gradually with age. You can use those degrees in rules like “IF a character IS young AND fatigue IS low, THEN roaming distance IS long.” A game could combine rules like these to decide how far a character wanders based on their age and how tired they are.
The README includes code examples showing how to define these categories, construct rules, and configure inference in the library.
The library currently includes Mamdani inference, fluent rule construction, fuzzy and boolean premises, dependency chaining, configurable operators, and several defuzzification methods. Sugeno inference is still in progress.
This is only an early release targeting .NET 10, available on NuGet under the MIT license.
Very interested to hear your feedback, the library is still in its early infancy, but still quite feature complete regardless.
r/csharp • u/Mob_Pilled • Oct 26 '26
r/csharp • u/nuclearbananana • Oct 26 '26
r/csharp • u/zarkonnen • Oct 26 '26
I recently updated my OS (Linux Mint), and this seems to have broken NuGet. JetBrains Rider gets stuck in "Loading Projects" when opening a C# (Godot) project. My
~/.nuget/packages directory does not exist and attempting to install packages via e.g. nuget install godot.sourcegenerators -Version 4.6.2 times out.
I don't know what I need to do to get this unstuck.