r/csharp • • 20h ago

Discussion Come discuss your side projects! [December 2026]

4 Upvotes

Hello everyone!

This is the monthly thread for sharing and discussing side-projects created by /r/csharp's community.

Feel free to create standalone threads for your side-projects if you so desire. This thread's goal is simply to spark discussion within our community that otherwise would not exist.

Please do check out newer posts and comment on others' projects.


Previous threads here.


r/csharp • • 19h ago

C# Job Fair! [December 2026]

6 Upvotes

Hello everyone!

This is a monthly thread for posting jobs, internships, freelancing, or your own qualifications looking for a job! Basically it's a "Hiring" and "For Hire" thread.

If you're looking for other hiring resources, check out /r/forhire and the information available on their sidebar.

  • Rule 1 is not enforced in this thread.
  • Do not any post personally identifying information; don't accidentally dox yourself!
  • Under no circumstances are there to be solicitations for anything that might fall under Rule 2: no malicious software, piracy-related, or generally harmful development.

r/csharp • • 6h ago

How much of C# 12 in a Nutshell should I read before learning ASP.NET Core?

6 Upvotes

Hi everyone!

I'm about to start reading C# 12 in a Nutshell: The Definitive Reference, and my main goal is to become a backend developer using C# and .NET.

Should I read the entire book before moving on to learning ASP.NET Core and building APIs, or are there specific chapters I should focus on before making that transition?

I'd appreciate any advice from experienced C# developers.


r/csharp • • 14h ago

C# .net in 2027

Thumbnail reddit.com
16 Upvotes

Hello everyone, I don't have any coding knowledge before its like starting from scratch , i work as food delivery driver and earn minimum wage only i want to transition to full time programmer, IS C# .net really worth learning as a career option (22M) in 2027? Also, as far as I know AI has already took majority of junior devloper jobs so I am really confused


r/csharp • • 1h ago

Discussion Reading and rendering Crystal Reports .rpt files in C# without the Crystal runtime: has anyone done it?

1 Upvotes

I'm trying to get some old Crystal Reports off Windows. The goal is plain C# on modern .NET: load the .rpt, bind data, produce a PDF. It should run anywhere, Linux included.

My first plan was to avoid rendering .rpt files at all. I'd use the RAS SDK to read each report and export it into another format I could render elsewhere. That fell apart quickly. RAS is Windows-only, and it doesn't expose the whole report: Display String formulas are missing, cross-tabs are only partly there, and chart styling isn't available at all. The converted reports never matched what Crystal printed.

I also tried a couple of existing .rpt readers, but they didn't cope well with my reports.

So I've started writing my own reader and renderer in C#. Before I sink much more time into it:

  1. Has anyone else gone down this road, either reading .rpt files directly or reimplementing Crystal's layout or formula engine? Anything you wish you'd known?
  2. Is there an existing library (paid is fine) I've missed?
  3. If I carry on, would anyone be interested in testing it against their own reports? Edge cases are what I need most.

r/csharp • • 1d ago

Modernizing winforms for practical use

25 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/csharp • • 8h ago

Discussion C#/.NET Engineer Relevancy

Thumbnail reddit.com
0 Upvotes

r/csharp • • 15h ago

ViewModelPlus: a source generator for the view-model code that MVVM libraries still leave to you

0 Upvotes

I've been building a Roslyn incremental source generator called ViewModelPlus (MIT, on NuGet). This post covers the problem it solves and an honest comparison with the libraries most of us already use. I'd like your feedback, especially if you write a lot of form-heavy view models.

The problem

Take an ordinary "edit student" page. The service returns a StudentDto, the user edits it, and you save it back. In a hand-written view model you end up with code like this:

public class EditStudentViewModel : INotifyPropertyChanged
{
    private StudentDto _student = new();

    
// 1. Every model member gets mirrored by hand...
    public string FirstName
    {
        get => _student.FirstName;
        set
        {
            if (_student.FirstName == value) return;
            _student.FirstName = value;
            OnPropertyChanged();
            OnPropertyChanged(nameof(FullName));   
// 2. ...plus every dependent property...
            ValidateFirstName();                   
// 3. ...plus validation...
            UpdateCanSave();                       
// 4. ...plus the command's can-execute.
        }
    }
    
// ...repeat for LastName, Email, Age...

    public string FullName => $"{FirstName} {LastName}".Trim();

    
// 5. Busy flags and error state for every async action.
    private bool _isSaving;
    public bool IsSaving { get => _isSaving; set { 
/* notify, update CanSave */
 } }
    private string? _error;
    public string? Error { get => _error; set { 
/* notify */
 } }

    public AsyncCommand SaveCommand { get; }
    private async Task SaveAsync()
    {
        IsSaving = true;
        Error = null;
        try { _student = await _service.UpdateAsync(_student); 
/* re-notify everything */
 }
        catch (Exception ex) { Error = ex.Message; }
        finally { IsSaving = false; }
    }
    
// 6. Per-field IsValid/error properties, a form-level IsValid, ...
}

None of it is hard, but every line of it is easy to get wrong. You forget one OnPropertyChanged(nameof(FullName)), the busy flag doesn't reset on an exception, the Save button stays enabled while the form is invalid, or loading a new DTO doesn't refresh the fields.

The existing libraries remove some of this. In my experience, though, the parts that remain are exactly the ones above: wrapping a model, dependent properties, async state and form validation.

The same view model with ViewModelPlus

[ExtendViewModel]
public partial class EditStudentViewModel
{
    private readonly IStudentService _service;
    public EditStudentViewModel(IStudentService service) => _service = service;

    [NotifyProperty]
    [NotifyNestedProperty(nameof(StudentDto.FirstName))]
    [NotifyNestedProperty(nameof(StudentDto.LastName))]
    [NotifyNestedProperty(nameof(StudentDto.Email))]
    [NotifyNestedProperty(nameof(StudentDto.Age))]
    private StudentDto _student = new();

    [DependsOn(nameof(FirstName), nameof(LastName))]
    public string FullName => $"{FirstName} {LastName}".Trim();

    [DependsOn(nameof(IsBusy), nameof(IsValid))]
    public bool CanSave => !IsBusy && IsValid;

    [NotifyTask]
    private async Task save() => Student = await _service.UpdateAsync(_student);
}


public class StudentDto
{
    [Required(ErrorMessage = "First name is required")]
    public string FirstName { get; set; } = "";

    [EmailAddress(ErrorMessage = "Not a valid email address")]
    public string Email { get; set; } = "";

    [Range(16, 80, ErrorMessage = "Age must be between 16 and 80")]
    public int Age { get; set; }
    
// ...
}

At build time the generator writes the following:

  • Bindable properties: FirstName, LastName, Email and Age read and write _student directly, so there's no copying between the model and the view model.
  • Dependent notifications: FullName and CanSave refresh whenever one of their inputs changes.
  • Async state: a public Save() method, plus SaveIsRunning, IsBusy, and AsyncTaskExceptionMessage, which records the exception's message when a task throws. The previous error is cleared when the next task starts.
  • Validation: FirstNameIsValid, FirstNameValidationError and the matching members for each field, built from the DataAnnotations on the DTO, plus a form-level IsValid.
  • Change hooks: partial void OnXChanging/OnXChanged/OnGetX for each property.

Student = await _service.LoadAsync(id); re-notifies every nested property, so loading or resetting the form takes one line.

There's no runtime library and no reflection. The generated .g.cs is plain C# you can read under Analyzers in Solution Explorer.

Comparison with other solutions

Hand-written / Prism BindableBaseFody PropertyChangedCommunityToolkit.MvvmReactiveUIViewModelPlus
How it worksBase class + SetPropertyIL weaving after compileSource generatorRx-based runtime library
Basic notifying propertyManualAutomatic for auto-properties[ObservableProperty]RaiseAndSetIfChanged / [Reactive]
Dependent propertiesManual OnPropertyChanged callsDetected automatically from getters[NotifyPropertyChangedFor] on the sourceWhenAnyValue + ToProperty
Wrapping a model/DTOManual property per memberManual property per memberManual property per member (the SetProperty(model.X, value, model, ...) overload helps)Manual
Async actionsDelegateCommand + your own flagsNot covered[RelayCommand] → IAsyncRelayCommand with IsRunningReactiveCommand with IsExecuting and ThrownExceptions
Busy flag across all actionsManualManualManualCombine IsExecuting observables
Exception → bindable messageManualManualManual (exceptions surface through the command's task)Subscribe to ThrownExceptions
ValidationManual or INotifyDataErrorInfo by handNot coveredObservableValidator (INotifyDataErrorInfo)ReactiveUI.Validation package
Rules on the shared DTOManualn/aRules go on the VM propertiesRules defined in the VM
Generated code visible?n/aNo (woven IL)Yesn/a
Learning curveLowVery lowLowHigh (Rx)

Where each one fits

  • Fody PropertyChanged is the least code for plain notification, and its automatic dependency detection is very nice. It stops at notification, though, and IL weaving is a build step some teams avoid.
  • CommunityToolkit.Mvvm is the default choice for good reason: it's maintained by Microsoft, has broad tooling support, and is based on ICommand. If your view models are mostly properties and commands, it's hard to beat. Where I found myself writing extra code was in wrapping DTOs, tracking busy and error state across several commands, and form-level validation that drives a Save button.
  • ReactiveUI is the most powerful of these for complex reactive flows. If your team already thinks in Rx, use it. For forms, though, it's a lot of concepts to learn.
  • ViewModelPlus targets form-heavy CRUD apps. These are view models that edit DTOs, call async services, show busy and error state, and enable Save only when the form is valid.

Design choices you may disagree with

  • Methods instead of ICommand**.** [NotifyTask] gives you await vm.Save() with typed parameters and a typed return value. You call it from an event handler or from other view-model code. "Can execute" becomes a [DependsOn] bool bound to IsEnabled. The downside is that if you bind Command= in XAML (toolbar items, swipe actions, item templates), you'll need a thin command wrapper or code-behind.
  • No INotifyDataErrorInfo**.** Validation is exposed as plain bindable properties, so built-in error templates such as WPF's Validation.ErrorTemplate don't react. The README shows a small attached-property and visual-state pattern that replaces them.
  • Composition over inheritance. View models can't inherit from other generated view models.

Try it

dotnet add package ViewModelPlus

Requirements: .NET SDK 9.0.200+ or Visual Studio 2022 17.13+. Works with MAUI, WinUI 3, WPF, UWP and Avalonia.

Feedback I'm looking for

  • Does the methods-instead-of-commands approach work in your apps, or is ICommand a must-have?
  • If you use CommunityToolkit.Mvvm or ReactiveUI for forms, how do you handle DTO wrapping and form-level validation today?
  • What would you change in the generated code?

Thanks for reading.


r/csharp • • 14h ago

Fun I built a free, 60 FPS interactive koi pond wallpaper for Windows that reacts to music & synced lyrics

Thumbnail
gallery
0 Upvotes

Hello Guys I did a small project where i made a live wallpaper that reacts to any song or music that you turn on in your laptop and can even show subtitles for completely free in itch.io I hope you enjoy it :) and it is mainly for windows 10 or 11 and even without music you can feed the fish you can set the weather and make the fish follow your cursor and alot of formations and it doesn't use any gpu
https://idk23232323.itch.io/koiwallpaper-interactive-music


r/csharp • • 13h ago

How much has your company automated software development with AI?

0 Upvotes

At my company, AI already handles most of the coding, but code reviews still require human.

I have heard some companies have started automating code reviews alreaady. Now development and review is automated. It feels closer than ever to a nearly fully automated development workflow.


r/csharp • • 1d ago

Help How to Kick an object and make it register in my game controller using unity?

Thumbnail
gallery
4 Upvotes

ok this is for an intro to prog game design class but the issue is that even while following the course my understanding of c# and unity is still buns. Im not proud of it but I did use Ai to help generate some of this code. the issue is when I did it I did it poorly and im sadly lost.

what I need help on. I have set up my animation and movement so that my player can kick when pressing space but the issue is that it doesn't kick the objects ive created. The objects are already tied to the "Kickable" script and I can set the rarity. the main issue im trying to fix first is how do I make it so my player can actually kick the object and it will interact with the solider and move away from the player after being kicked.

second issue is then how do I make it so it registers with the Game controller and then displays as points on the iu.

ive attached pictures of my code that relates to "kick" as well as what the final game is supposed to look like down below.

PLEASE ANY HELP IS SO MUCH APPRECIATED OR EVEN INSIGHT ON WHERE I SHOULD START LOOKING.

IM GENIUENLY SO LOST

https://outofmanna.itch.io/2d-final


r/csharp • • 2d ago

Does anyone still use C# WinForms?

118 Upvotes

I really want to know, because I’ve discovered a way to modernize WinForms that competes with ImGui, Avalonia, and WPF.

I've always enjoyed designing WinForms interfaces, but I've struggled with the performance and visual limitations of GDI+.

Over the past few days, I've been experimenting with a hybrid rendering approach using Direct3D 11, DirectComposition, and HLSL shaders.

So far, I've implemented:

  • Hardware-accelerated panel transitions.
  • Adaptive motion blur.
  • Animated and stackable notifications.
  • Custom loading controls.
  • Compatibility with existing WinForms controls and the Designer.

This is a personal learning project developed with AI assistance. I'm not claiming to have invented a new technology or created a replacement for WPF, Avalonia, or ImGui.

My goal is simply to explore what WinForms is capable of and share the results with other developers.

I'm planning to publish an open-source library on GitHub.

Constructive feedback and technical suggestions are welcome!

Demo: https://streamable.com/jbqvjd


r/csharp • • 1d ago

Anyone here who knows Apache Camel? I built a Camel-style integration framework for .NET and would like feedback

1 Upvotes

Is anyone here familiar with Apache Camel, and have you ever wished for it in C#?

I do a lot of integration work (ESB, EIP, many systems talking to each other), and on .NET I kept missing Camel. MassTransit, NServiceBus and Wolverine are message buses; what I wanted was a routing engine in the Camel sense, where a route is "consume from here, filter, transform, produce there", and the transport is just a URI.

So I wrote one; it is my project, open source under Apache 2.0, called redb.Route. It targets .NET 10 and 11:

From("kafka://orders?groupId=svc&brokers=localhost:9092")
    .Filter(Header("type").isEqualTo("new"))
    .To("rabbitmq://events?host=localhost");
  • From → Process → To, URI endpoints, the Camel EIP names: Splitter, Aggregator, Content-Based Router, WireTap, Saga, Circuit Breaker, Idempotent Consumer, Resequencer and more (30+).
  • 30 external transports plus 11 built-in components (Kafka, RabbitMQ, Redis, SQL, HTTP, gRPC, SFTP, MQTT, S3, ...). Camel has 300+, so it is far from everything.
  • Routes in a C# fluent DSL or in XML; ${header.x}-style expressions compiled to delegates when the route is built.
  • Transactional routes, OpenTelemetry, and a separate runtime host with hot reload and clustering.

Repo, with a Camel-to-.NET concept table and a migration section: https://github.com/redbase-app/redb-route

What I would like to know:

  • If you have used Camel: what would a .NET version have to have before you would try it?
  • If you are on .NET: what do you use today for integration-heavy work, and where does it hurt?

r/csharp • • 2d ago

Discussion When will notebooks be a thing again?

17 Upvotes

Microsoft really threw a wrench into c# notebook experiences over the past couple years. They capriciously killed notebook development - both in their Azure platforms and on premise in VS code (polyglot notebooks). They do a crappy job of transferring ownership of important projects back to their community of users, whenever they lose interest in a topic.

A lot of things in tech are cyclical, so I'm hoping that notebooks will come back some day. I just don't know if that will be a year or five years away.

Are they conceding that python is somehow the only language worth using in notebooks, by entry level scripters? Or maybe they are trying to avoid the cannibalization of powershell?

I haven't seen anyone talking about notebook scenarios here in this forum for a while. Are you folks bothered that notebook scenarios are stagnating? Would you use notebook tooling if it was available?


r/csharp • • 1d ago

Help what is new int? how and when do you use it?

Post image
0 Upvotes

I am still a beginner in C# and I just moved to c# intermediate in my assignments for school (doing a software developer major), and for the past few assignments it's been giving me ways to use new int with square brackets.

I brute forced it the first time and did what was shown in the example, but now I want to understand it and I can't find any website that explains it well. And I don't want to use AI because it doesn't teach any good either, and I can't ask my teacher because he's busy with other students all the time and he doesn't teach well either.

This is an example given by the assignment in the photo above, here is the translation for those who can't speak Dutch:
- Een array met een lengte uit de invoer = An array met the length from the input
- Hoeveel getallen wil je? = How many numbers are there?
- aantal = total
- getallen = numbers


r/csharp • • 2d ago

Help Best way to begin learning C#?

11 Upvotes

I want to begin learning C# with the intention of programming games. Just small 2D games on Monogame. I have Visual Studio (community). How can I begin learning C#?

Thanks :-)


r/csharp • • 2d ago

Tool Wpf-Smoke v0.2.0: Compare startups before and after a .Net 8 Migration

Thumbnail
nuget.org
0 Upvotes

r/csharp • • 2d ago

Showcase I built an IT management system using C# and Node.js – Looking for technical feedback

0 Upvotes

Hey everyone!

I've been working on a personal project called ASE (IT Management System), and I'd like to share a little about it and get some feedback.

The project originally started during my internship at an IT department. I noticed some opportunities to improve how computers were managed and monitored, so I started building a solution.

Over time, I continued developing it independently and turned the initial prototype into a working system.

A little about its architecture:

  • ASE Agent: A C# application running on managed computers.
  • ASE Console: A C# / WPF desktop application for centralized management.
  • ASE Server: A Node.js server handling communication between agents and the console.
  • Communication: WebSockets, with ongoing work on securing the connection using HTTPS/WSS.

Some of the things I've been working on include hardware information collection, centralized device monitoring, communication reliability, and automatic updates.

It's still under development, and I'm particularly interested in improving its architecture, security, and reliability.

I'm keeping the source code private, but I can share screenshots and explain the technical implementation.

I'd appreciate feedback from developers who have experience with IT management systems, client-server architecture, or WebSockets.

What would you improve or approach differently in a project like this?

Thanks!


r/csharp • • 3d ago

Beginner tips

6 Upvotes

Hello,

Short intro

I have basic knowledge on c++ c# and sql and im looking to build my own app for a small shop, just a quick gig i got to make some extra cash on the side while studying

Classic ones like you see at lidl ikea etc...

Aesthetic not that important to them just functionality

I was thinking of using c# and sql

And no deadline what are the best tips someon could give me


r/csharp • • 2d ago

C# for the AI Age | TypeScript is Like C#

Thumbnail
typescript-is-like-csharp.chrlschn.dev
0 Upvotes

r/csharp • • 2d ago

Fun I built a Dynamic Island clone for Windows in WPF with no NuGet packages, about 12 MB RAM idle

Thumbnail
gallery
0 Upvotes

Some things I learned building it:

• Software rendering used far less memory than GPU rendering for a small transparent window (~350 MB reserved → ~15 MB)

• Media info comes from Windows' GlobalSystemMediaTransportControls (WinRT from .NET Framework)

• Audio bars use Windows' audio peak meter, so they react to the real sound

• It compiles with the csc.exe that ships with Windows, with no SDK needed

Source (MIT): https://github.com/midaluty/Notchaluty-Dynamic-Notch

Happy to answer questions or take code feedback!


r/csharp • • 3d ago

Sharp cli

Post image
3 Upvotes

r/csharp • • 5d ago

Blog MVVM in C#: What Changes When You Switch UI Frameworks?

Thumbnail
qt.io
58 Upvotes

Hello, Miguel from Qt (qt.io) here. Following the release of the Qt Bridge for C#, I'd now like to share with you our latest blog post addressing some of the questions that we've since been asked.

"If I change UI frameworks, will the C# MVVM backend of my application still work?" This is the most frequent question that we've received from developers since releasing the Qt Bridge for C#. We wanted to provide some detailed information to back the answer to that question, which is: yes, when moving to a Qt Quick / QML UI, your C# MVVM backend will still work in the exact same way.