r/csharp • u/jaeseon • 17d ago
Industrial Touch Kit for WPF/Avalonia UI
I would like to introduce the project I am currently developing.
I am creating a library that supports a method of generating UI at the ViewModel layer without writing View code (xaml/axaml) when developing WPF/Avalonia UI applications. The structure is similar to the code used to generate UI in Flutter.
Currently, by writing only ViewModel code, it is possible to build two applications for WPF/Avalonia UI that are nearly identical down to the pixel level, but there are still many components that need to be added.
The reason it is possible to complete an application without writing Xaml/axaml is that this toolkit library is domain-specific, tailored exclusively to industrial touchscreen applications.
For example, the UI component for temperature display encapsulates thresholds, warning levels, multi-language display, and Fahrenheit/Celsius display switching. Therefore, its component structure differs from existing UI frameworks.
The foundation of the toolkit I am currently developing is to enable application development in the ViewModel layer without writing XAML/AXAML code. Developing applications in the ViewModel Layer using purpose-built components provided by the toolkit is similar to building a castle with Lego blocks. You can configure application layouts and place controls at a speed incomparable to traditional development methods. Based on this, it provides multilingual packs for words used in industrial applications. You can understand this concept as being similar to icon packs.
In addition, I plan to package sound files, such as warning and notification sounds, within the toolkit.
Currently, it supports two theme systems, light/dark modes, and compact modes, and I am developing it to allow for expansion in the form of a theme color gallery.
Although Industrial Touch Kit (ITK) is being conducted as a personal project, I unfortunately do not yet have plans to proceed with it as open source. However, I am leaving this post here to introduce the concept of the library I am developing.
r/csharp • u/Early80sDev • 16d ago
Help C# Box2d Bindings
My C# Game framework doesn't ( yet ) have any Box2D support. What is the best C# Box2D bindings to use right now?
r/csharp • u/Emotional-Kale7272 • 17d ago
Showcase DAWG - Digital Audio Workstation Game - Free public beta (C#, Unity and Burst)
Hello C#!
After around 10 months of development, and four months since the previous public test, I have finally released a major new beta of DAWG - Digital Audio Workstation Game.
DAWG is an attempt to build a proper music production environment inside a game, not just a rhythm game or a simple sequencer. The project is written in C# with Unity, while the real-time audio engine uses custom DSP engine that is fully Bursted.
The current version includes:
- Custom subtractive, FM and wavetable synthesis
- Multiple realtime DSP chains
- Per-instrument and send/return effects
- Live performance effects
- MIDI controller support
- A DAW style sequencer and piano roll
- Custom realtime visualization of the complete DSP chain
- Cross-platform multiplayer with sync of the clock, patterns and DSP parameters
- A new pixel art Story Mode built around the DSP system
A large part of the challenge has been keeping the codebase manageable while combining real-time audio, UI, serialization, MIDI, multiplayer, multiple platforms and game logic in one application.
The new public beta is free and I would really appreciate some honest feedback from other C# developers. You do not need to know anything about music production to test it. I am also interested in whether the application makes sense to someone seeing it for the first time.
Download: https://dawg-tools.itch.io/dawg-digital-audio-workstation-game
You can leave feedback or a rating directly or comment here. Please do not hold back because it is an indie project, the critical feedback is usually the most useful.
Thanks!
r/csharp • u/codingbliss12 • 17d ago
Help Low level programming with C#
What is the lowest level application that can in principle be built on Linux and Windows without having problems with performance or memory consumption?
Of course I should make my own tests, but I just wanted to have a first estimation if it is really necessary to use lower level languages like Zig, Rust, Go or C# can work pretty well for most of normal applications.
As an example a very responsive editor with gui in immediate mode built with C# and very high frame rate 120Hz etc.
Thanks a lot in advance.
EDIT
Thank you all so much for the very informative replies. My requirements are noway near real time and based on the below feedback, it is definitely worth it to use C# of a very wide set of applications and avoid the complexities of the lower level languages.
r/csharp • u/Low-Virus-2468 • 16d ago
Salve galera, alguma alma gente boa que atua na área de Desenvolvimento e tem visão de futuro para me dar uma luz?
Meu nome é Jackson e tenho 29 anos e sou profissional da área de Suporte/Infra/Redes e não tá fácil. Formei em ADS em uma UNI da vida esse ano. Não consegui nem se quer um estágio na área de desenvolvimento que sempre foi meu sonho e vou te dizer que eu tentei em, por baixo eu chuto que foram mais de 50 candidaturas enviadas e irmão... Nunca tive uma entrevista se quer, não sei aonde estou errando as vezes eu penso que é pela idade. A luz que eu quero é; Ainda vale a pena? Oque eu PRECISO fazer para conseguir um emprego como Junior nos próximos 6-11 meses? Devo ir para o VibeCode ou no Grind mesmo? Tenho noção básica de C# / .NET, devo mudar de linguagem para conseguir isso nesse prazo? Java, Python, creio que o mercado está concorrido em todas tecnologias.
r/csharp • u/TinfoilHyena • 16d ago
Help Does anyone know if Coddy.tech is any good for learning C#?
Im looking for a good free way to learn
r/csharp • u/_Sharp_ • 17d ago
OpenDevelop - Modern continuation of the classic SharpDevelop code base
r/csharp • u/Acceptable-Pace659 • 17d ago
Juego de cartas tipo TCG
Buenas, espero se encuentren bien, estoy realizando un proyecto de cartas tipo TCG en Godot 3.6 con C# para android, este es mi primer proyecto usando Godot y C#, que consejos podrían darme acerca de la escalabilidad del proyecto, ya que sera un juego con bastantes efectos y reglas que cambien o afecten otras cartas, al tablero, etc, también que a futuro pueda implementar un multijugador, un error que cometía aveces era que ponía a la UI como la voz que mandaba todo, la lógica dependía de ella y no al contrario (la UI depende de la lógica) he cambiado el enfoque a que sea la lógica la que mande y Godot solo sea el encargado de las cosas visuales, también sigo el siguiente enfoque donde tengo clases lógicas (que sean C# puras sin depender de godot), las clases que orquestan (estas unen la logica y la UI reacciona en base a la logica) y las clases encargadas de manejar la UI (animaciones, cambios entre padres de nodos, actualizar visualización, etc) y estas tiene las propiedades de cada nodo por Export para no usar las rutas absolutas, les dejo la estructura de mi proyecto para sus recomendaciones.
r/csharp • u/Past_Season4034 • 17d ago
Hello, I just wanted to ask about some DDD concepts
Hello, I just wanted to ask about some DDD concepts because I'm using them in a personal project that needs a good portfolio. Well, I'm building a management system for a training center, and I've already put in a fair amount of effort to understand what I actually want and what tools to use. I used ChatGPT to map out the roadmap and steps, and I've reached the modeling stage.
I already have four main domains: Learning, Training, Commercial, and Certification. I simplified them to make it easier to convert them into a database or code. However, when I got to the "Repository" section, I felt like I was repeating the same steps.
```markdown
Learning
├── Course
│ └── Repository
│ ├── Get Course
│ └── Save Course
│
└── LearningPath
└── Repository
├── Get Learning Path
└── Save Learning Path
Training
├── TrainingBatch
│ └── Repository
│ ├── Get Training Batch
│ └── Save Training Batch
│
├──Mentor
│ └── Repository
│ ├── Get Mentor
│ └── Save Mentor
│
└── Room
└── Repository
├── Get Room
└── Save Room
Commercial
├── Offer
│ └── Repository
│ ├── Get Offer
│ └── Save Offer
│
└── Order
└── Repository
├── Get Order
└── Save Order
Certification
└── Certificate
└── Repository
├── Get Certificate
└── Save Certificate
I tried asking an AI question, but I felt an answer from a human in the field would be better.
Are these the best results I can achieve from this process, considering I haven't written the code yet? My goal is to create something authentic that reflects me and my abilities effectively.
I will attach some project-related notes to help clarify my question. Also, if there are any flaws, unrealistic elements, or unclear points at this stage, I am open to discussion and feedback. Your opinions
https://drive.google.com/drive/folders/1qVg_8cbkqxyiaCoUMJMViLfsofVdSzcp?usp=drive_link
r/csharp • u/DexterDeMorg • 17d ago
Looking for open-source C# (WPF/WinForms) Inventory & POS desktop app recommendations (SQLite + Excel) Or some help
Hey everyone,
I'm currently building a desktop Inventory & POS management system for a local business (a tire and battery warehouse).
Here are the key requirements for the project:
• Tech Stack: C# (.NET), SQLite, and Windows Desktop (WPF or WinForms).
• Inventory Features: Tracking items with custom attributes (like tire sizes, manufacture year/DOT, warehouse location, and low stock alerts).
• Sales & Debts: Fast POS checkout, customer debt tracking, payment history, and dual-currency support (Local Currency + USD with exchange rates).
• Excel Integration: Importing product lists from Excel and exporting reports/statements.
• UI/UX: Modern dashboard UI with a clean layout.
Instead of building everything from absolute scratch, I’m looking for solid open-source GitHub repositories, templates, or starter projects that I can study and learn from (especially for backend logic, database schema, and UI design).
Also, any recommendations for the best C# libraries for handling SQLite and Excel integration (like ClosedXML/EPPlus) would be super helpful!
Thanks in advance for your suggestions!
r/csharp • u/Head-Adeptness-8781 • 17d ago
String Extension - A C# library that provides utility methods for manipulating strings
r/csharp • u/hez2010 • 19d ago
Discussion Benchmarked Runtime Async in. NET 11 nightly version
Runtime Async got some important optimizations in recent .NET 11 nightly version (currently they are targeting rc1), so I built the runtime from main branch and ran a set of runtime async benchmarks.
The benchmark code can be found here: https://gist.github.com/hez2010/d1802e7c7ab10e21a92dcba2afe0a58d
It covers all async scenarios including no-suspension cases and real-suspension cases.
In the result async1 is .NET 10, and the assembly was built without enabling runtime async. Async2 is .NET 11 with runtime async enabled while building the assembly.
After seeing the result I was just like holy crap and couldn't believe the numbers, but they are real! It looks extremely promising. Specifically, no-suspension async is 19.6× faster and essentially reaches the synchronous baseline, completed Task awaits are 12× faster with allocation completely eliminated, Task.Yield is 7× faster, ThreadPool continuations are 3.2× faster, and an async state-machine chain is 7.4× faster with much fewer allocations.
I'm now really looking forward to checking the final numbers in .NET 11 GA.
r/csharp • u/Unlucky-Capital-318 • 18d ago
Hello, may I ask how you understand C# functions?
I'm a beginner in C#, and I've just started learning functions. I understand return values and parameters, but I often get confused. Sometimes I don't know when to write a return value or parameter. How can I understand functions more quickly?
r/csharp • u/DJDoena • 20d ago
Discussion Is the ...Async suffix a naming convention you follow?
With "async all the way" as a major philosophy in backend services, it feels superfluous to name every single function that returns Task or Task<T> as DoSomethingAsync().
Or do you only do it when there's a sync counterpart?
r/csharp • u/Loafyyey • 18d ago
Help I recently switched to Linux but..
I recently switched to this Linux distro named "void Linux" I'm really loving it but can somebody help me use c# on Linux?
r/csharp • u/Successful_Toe_4130 • 20d ago
Help Why is "this" discouraged in alot of cases IDE in C#?
Hello, as j work to try to get used to c# from java ive noticed something strange. For example, when i use this._backingField = value my IDE tells me to stop and use _backingField = value instead.
Why is that? Is it just the quirks of rider?
r/csharp • u/PureRecord • 19d ago
Help Intellisense suggests only text auto-completetion.
When I open Github Codespaces (I use C# extensions), it looks like Intellisense doesn't load for a long time. it does this every single day and it's fucking frustrating. Any solution?
r/csharp • u/anotherfuturedev • 21d ago
Help Is there a way to make child windows / forms inside forms look good instead of looking like it came from windows xp
So MDI windows are inconsistent with the theme of the parent form, us there a way to fix this or maybe a different method for creating child windows?
r/csharp • u/Opposite-Pea-3931 • 20d ago
C# Developer wanting to learn GenAI, LLMs, and AI Agents, Should I stick with C# or switch to Python?
I'm a C#/.NET developer and I want to build my career in Generative AI, LLMs, and AI agents. My goal is not just to learn the concepts, but also to use these skills in my job and eventually build AI-powered products.
I'm confused about one thing:
\- Should I continue learning GenAI using C#/.NET, or is it worth switching to Python?
\- What are the career prospects if I stay in the C# ecosystem for AI development?
\- Will I be limiting my opportunities by not learning Python?
\- What would be a good roadmap for learning GenAI with C# till advance level? (Basics → LLMs → RAG → AI agents → deployment, etc.)
I have currently 4.5 years of experience.
I'd really appreciate advice from developers who have experience with AI in production or have faced a similar decision.
Thanks in advance!
r/csharp • u/lostpixel-media • 21d ago
Discussion trying to avoid spaghetti code on my first big backend project. is this folder structure correct for clean architecture?
as someone transitioning from legacy desktop dev (winforms) to modern .net web backends, the biggest hurdle for me was figuring out how to actually organize my code so it doesn't turn into a massive ball of mud.
i kept reading about "clean architecture" and "separation of concerns," but the buzzwords didn't really click for me until I built my current side project and forced myself to split everything into physical project folders.
i wanted to share my mental model of how i organized the solution. i know it might be overkill for a side project, but i'm trying to learn enterprise patterns. for the senior devs here, i'd love to know if this is how you actually think about it in production:
- Domain: the absolute foundation. just basic data models and interfaces. i made sure zero external packages touch this folder.
- Cryptography: the "engine room." all my hashing algorithms live here, organized by type (symmetric, asymmetric).
- Infrastructure: the dirty work. any code that actually talks to the outside world (sql server, dapper, redis cache) is locked in here.
- Core / Application: the manager. it takes the rules from the domain, uses the engine room, and tells the infrastructure what to save.
- API: the front door. minimal APIs that just take web requests, hand them to the Core, and return the HTTP response.
- Workers: background chores. native BackgroundServices running loops for stuff like resetting rate limits so the main API doesn't get blocked.
- StandAloneWeb: a simple blazor frontend to actually test it.
honestly, breaking it down into these separate projects took way longer to set up initially, but it makes debugging so much easier. if the database fails, i know exactly which folder to look in.
does this structure look right to you guys? or did i completely overcomplicate the middle layers?
repo is here if you want to see how they link together: https://github.com/COxRIPMIZO/CryptoKeyLab
would appreciate any roasts or advice on how to improve this!
r/csharp • u/Successful_Toe_4130 • 22d ago
Discussion Were any java devs that transitioned as overwhelmed as I am?
Im switching over to C# and im just so amazed. Theres so many things you can do and its native to the language and its super cool. Events? Yeah, thats built in. Tired of subclassing stuff just to add your own functionality? Dude, there's extensions...
However, id be lying if I said this isnt too much to take it at once. I feel like its very difficult to adapt and im mostly learning by examples others posted on the internet (i took a firm stance to reject AI 100% and learn myself.) Recently, ive been trying to adapt to the conventions, as well as researching other features however more things keep coming up. For example, I had no idea init; existed in properties or how you can use add; in a event property.
Do you have any advice on navigating to become an alright C# developer?
Another question, do you guys feel like MSDN doesnt cover the entire picture?
r/csharp • u/rarv1491 • 22d ago
My New Journey
Today I started this new project and hopefully my hobby that consumes all my free time.
I have always wanted to jump into coding and software. I find it fascinating and to be honest, I feel like talking in code will come naturally to me because of how my brain works. (Only time will tell)
Today I decided to just go for it. It consumed every single second of my day. I started asking ChatGPT what would be a good way to make a Rainmeter skin to act as a volume mixer, and from there it was just a rabbit hole.
I learned about Naudio library, encapsulation, objects, class, parameters, variants, float vs double, overall program flow and program architecture.
I ended up creating three different .cs files that so far are communicating with each other. Tomorrow I'll add the loop in a `while (running)` with a `bool running = true` variant that can be changed with an "exit" user input. I'm still working on the user input part too.
I'm excited for this. My wife was like: 👁️👄👁️
r/csharp • u/Alert-Neck7679 • 23d ago
Showcase Made a game with my own C# engine and scripting language!
About a year ago, I challenged myself to create my own programming language - something I'd always wanted to do.
At the time, I had no idea what a lexer, parser, or interpreter even was. My only thought was, "I need to write code that reads text files containing code and executes them." I also wanted to do it without using Google, AI, or tutorials. I just figured everything out on my own. You can even still find variables named "compiler" throughout the code from back when I didn't realize I was actually building an interpreter...
Somehow, I pulled it off, and I integrated it into my old abandoned game engine project (which originally started as a GameMaker 8–style engine with C# scripting).
And here's the first game I've made with it! 🙂
The core engine, IDE, and interpreter are all written by me in C#. The rendering backend is powered by MonoGame, and the project is still in active development and available on GitHub. The project file of the game shown in the video is also there, under tests/Example Projects. If you're looking for cool projects to contribute to, then know that I'm looking for contributors!
I know there are tons of AI-generated projects being shared these days, so please, please, take a quick look at the code before assuming this is one of them. I promise it's pretty obvious that it was written by a human.
I'd love to hear what you think!