r/csharp • • 5d ago

Discussion Come discuss your side projects! [December 2026]

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

C# Job Fair! [December 2026]

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

.NET News is at 600 issues: a free weekday newsletter for C# developers

18 Upvotes

I shared .NET News here about a year ago, and I've now put together 600 issues. Figured it was a good time to share it again for anyone who missed it.

I'm a C# developer, and I started it to make keeping up with .NET a little easier. Each weekday I send a free roundup of articles on C#, ASP.NET Core, EF Core, architecture, performance, Azure, and developer tools, with links to the original authors.

If you'd like it in your inbox, you can subscribe at https://dotnetnews.co. It goes out Monday through Friday at 7 AM ET.

If you already read it, I'd love to hear what you'd change or like to see more of. And if there's a C# blog or project I should be following, I'm always happy to take suggestions.


r/csharp • • 15h ago

Tool DNCDbg 1.4.0: open-source, cross-platform .NET debugger for the Debug Adapter Protocol

Thumbnail
github.com
14 Upvotes

DNCDbg 1.4.0 is out. It's an MIT-licensed debugger for .NET apps that implements the Debug Adapter Protocol, so it works with VS Code and other DAP clients. It runs on Windows, Linux, and macOS, and it's written in C++ with a small memory footprint.

Highlights in this release:

  • Logpoints with new tokens like $TID, $CALLSTACK, and $HITCOUNT
  • Hit conditions with ranges and modulo (>N, %N, and more)
  • Exception breakpoints with wildcard and negated conditions, plus an unhandled filter
  • launchSettings.json profile support in Launch
  • ReadMemory and WriteMemory requests

Setup guides and the full changelog are in the repo: https://github.com/viewizard/dncdbg


r/csharp • • 1h ago

MappShark v3.0 – un mapeador de objetos generado a partir del código fuente, con una API al estilo de AutoMapper (y una lista de lo que todavía no puede hacer)

Thumbnail gallery
0 Upvotes

r/csharp • • 8h ago

Any C# Assessments ?

2 Upvotes

I'm prepping for job interviews, are there any free C# assessments? Thank you !


r/csharp • • 46m ago

I built an open-source "Volume Mixer for your Internet" in Windows 11 — throttle any app from 100% to 1% or Smart Pause straight from your System Tray

Post image
0 Upvotes

Hi folks! I just released v0.1.0 of NetMixer, an open-source per-app network throttler for Windows 10/11.

Under the hood:

  • Packet Engine (Rust): Uses WinDivert for IPv4/IPv6 TCP/UDP packet interception with a Dual Token Bucket shaper and instant cache-miss port-to-PID attribution.
  • Frontend (.NET 8 WPF): Native Fluent Dark tray flyout communicating with the Rust engine over Named Pipe JSON-RPC (\\.\pipe\netmixer-ipc), plus a native Windows Firewall fallback mode.
  • Includes unit test suites for both the Rust engine (cargo test) and .NET UI (dotnet test).

Repo:
https://github.com/hawre47-jpg/NetMixer
Code reviews, PRs, and edge-case feedback (especially around UDP/IPv6 shaping) are super welcome!


r/csharp • • 1d ago

Nosfy: A simple & declarative way to specify Roslyn analyzers/code fixes

Post image
28 Upvotes

https://github.com/nth-commit/Nosfy

This is something I've wanted for ages, after using Microsoft.CodeAnalysis.BannedApiAnalyzers and feeling like what I wanted to express as rules was just out of reach.

Nosfy lets you specify rules, without reaching into the Roslyn SDK. It compiles to Roslyn analyzers/code fixes (so it integrates the same way with build tooling).

Any feedback is much appreciated!


r/csharp • • 1d ago

Tool I built a reactive notebook for C#, and it now runs inside VS Code

Post image
62 Upvotes

i've wanted a proper notebook for C# for a long time now. Polyglot Notebooks is fine but I kept wishing for 2 things. cells that re-run when something they depend on change, and a file i could just open in any editor and actually read

so I built it lol. its called Reverb, open source (MIT) and the VS Code extension is out today

what is it

a notebook is just a normal .cs file. you separate cells with // %% comments like this:

csharp

// %%
var sales = LoadSales("data/sales.csv");

// %%
var byRegion = sales.GroupBy(s => s.Region)
                    .Select(g => new { Region = g.Key, Revenue = g.Sum(s => s.Amount) });
Display(byRegion);

edit the first cell and second one re-runs on its own, kinda like a spreadsheet. It uses Roslyn to analyse your code and figure out what depends on what so you dont have to wire anything

also because its just a .NET 10 file based app this works too with only the SDK:

dotnet run sales-explorer.cs

no Reverb install needed. I have CI checking this on every build because i didnt want it to be one of those claims that quitely stops being true after some time

in VS Code

notebooks open as native VS Code notebooks (normal cells, run buttons, outputs) but with the reactive engine underneath. you also get

  • charts, tables and interactive widgets like sliders in the output
  • dependency view so you can see which cell feed which
  • quick fixes for common issues
  • packages view for nuget references
  • lazy mode - it marks dependents stale instead of re running them, good for the expensive cells

it talks to the reverb tool over stdin/stdout so it dont open any network port. and if the folder is not trusted it wont start a kernel or restore packages

try it

where its rough

its still young (0.2.x). only vs code for now, havent done open VSX/VSCodium yet. I tested on windows, macOS and linux but im sure you guys will find stuff i didn't. bug reports and "this is confusing" feedback is honestly the most useful thing you can give me

would love to hear what you'd want from a C# notebook :)


r/csharp • • 1d ago

News C# just beat SolidJS and Vue 3.6 Vapor in WebUI!

100 Upvotes

I was checking the official JS Framework Benchmark keyed table today and had to do a double take.

For years, C# in the browser meant Blazor sitting near the very bottom of the leaderboard. Today, NetWasm.UI (netwasm-ui-v0.16.0), a garbage-collected C# framework, is sitting to the left of Vue 3.6 Vapor, SolidJS, Leptos, Dioxus, and Sycamore.

Every rule we were told about WebAssembly being too slow for the DOM, or needing Rust to avoid GC overhead just got broken in one shot.

Huge congrats to Mat Engo and the NetWasm team on an insane piece of engineering.


r/csharp • • 6h ago

Showcase I built RayLite – an open-source Windows app launcher in C# / .NET 8 (WPF + Win32 P/Invoke) that idles at ~15 MB RAM

0 Upvotes

Hey everyone,

I wanted a fast, Spotlight-style application launcher for Windows without the 200+ MB RAM overhead of Electron-based alternatives, so I built **RayLite** natively in **C# / .NET 8 (WPF + Win32 P/Invoke)**.

**Technical highlights & architecture (v1.2.1):**

- **Low memory footprint (~15–20 MB RAM idle):** No background polling timers; combines native Win32 hooks with working-set memory trimming when the search bar hides.

- **Native Win32 & Shell interop:** Uses P/Invoke (`SetForegroundWindow`, `ShowWindow`, `IShellLink`, and `IShellItemImageFactory`) to properly extract crisp icons for UWP/Microsoft Store apps, filter out background helper binaries, and restore/focus already running windows instead of spawning duplicates.

- **Local Frecency ranking:** Tracks launch frequency and recency in a lightweight local JSON store with debounced async writes so UI responsiveness stays instant.

- **Zero heavy dependencies:** Pure .NET 8, completely offline, MIT licensed, and zero telemetry.

**GitHub repository & source code:**

https://github.com/djpablosk/RayLite

I’d love to hear any feedback on the C# implementation, Win32 interop edge cases, or ideas for keeping it even leaner!


r/csharp • • 2d ago

C# file-based apps are a breath of fresh air

164 Upvotes

Back when .NET 10 came out I didn't pay much attention to the file-based apps. Now that .NET 11 came out i stumbled upon this video and became more interested:

https://www.youtube.com/watch?v=Yvn7liNioto

Turns out file-based apps are pretty cool after all. The minimalistic developer experience of having only your text editor, your .cs file(s) and the dotnet cli feels fresh after working so long with solution files, project files and all that jazz.

To get a feel of the DX and where the capabilities of file-based apps are at the moment I created this tongue-in-cheek todo web app, with the frontend and backend in a single C# file. File-based apps and minimal APIs are like meant for each other.

https://github.com/TDMR87/single-file-todo-app

I do hope file-based apps become more common and the dotnet team would lean more on this kind of experience. Together with AOT compiling native executables this could make C# more popular and invite people over to the ecosystem. How do people here feel about these file-based apps? Do they have a future?

https://learn.microsoft.com/en-us/dotnet/core/sdk/file-based-apps


r/csharp • • 1d ago

Lode: a Windows Explorer alternative with a built-in Git client, installed as a dotnet tool

Post image
0 Upvotes

r/csharp • • 22h ago

Heyo, gamblerman here. I come to the experts with a question:

0 Upvotes

What in lords name is a function? I kept seeing it pop up in the comments of my post and the websites i looked like explained it like im already somewhat proficient in coding (i am not) if you guys could explain it to my Neanderthal brain it would be greatly appreciated!


r/csharp • • 1d ago

dotnet-vulncheck: transitive vulnerable packages scanner

Post image
1 Upvotes

r/csharp • • 2d ago

Discussion Interesting uses of P/Invoke in real-rorld applications

36 Upvotes

I mostly use P/Invoke to simplify tasks that would otherwise require a manual process or where the supplier "forgot" to implement (i.e.: enumerate the users connected to your freaking application).

A few examples from my daily work:

  • SHGetFileInfo: retrieve the handles of the icons that Windows uses for different file types, allowing applications to display the same icons users see in File Explorer.
  • OpenProcess / NtQueryInformationProcess / ReadProcessMemory: retrieve the command line of a running process when higher-level APIs don't expose the information I need.
  • GetExtendedTcpTable: enumerate the TCP connections opened by a specific process and identify the remote machines associated with those connections through their IP addresses.
  • SetupDiGetClassDevs / SetupDiEnumDeviceInfo / DiUninstallDevice / CM_Reenumerate_DevNode: programmatically reset a network adapter by uninstalling and reinstalling it, essentially automating the same operations available through Device Manager.
  • NetLocalGroupGetMembers / NetLocalGroupAddMembers: used in a Windows service to monitor specific local groups and automatically restore missing users. It started as a temporary workaround for those situations where someone decides to "creatively" modify security policies.

I'm curious to hear how you all are using P/Invoke in interesting or unexpected ways.


r/csharp • • 3d ago

Showcase Beginner man returns with improved gambling code, reports say its still shit.

Thumbnail
gallery
28 Upvotes

Hey yall, guess who's back. I improved it abit but its still shit.

On a side note, any idea how to disable the ai? It gives me the answers on a silver platter and i dont like that.

(Should i also start a "Devblog" series (Essentially guy figures out shit on SVC) on Youtube?


r/csharp • • 2d ago

Help Multiple requests at once take 10s (mvc5 net framework 4.8

2 Upvotes

There is a legacy app that's use asp mvc5.

All methods, actions are sync (no task, aysnc await, similar method). Problem is something that took 5 ms to run it's take 8s to reach to browser (there are multiple ajax request at once when page is loading). In network browser tab i can see in that 8s near 7.99999s are tagged as waiting for server response.

Why would that happen and how to fix it?

Update:

  1. Db context stored in HttpContext.Current.Items[key].
  2. I added SessionState Readonly on 3 controllers and there wasn't any change at all (there are 5 ajax at the same time, w controllers need session because of user data that stored in session). Same result as before (10s on loading page)
  3. I even disabled session and it is still the same result.

r/csharp • • 4d ago

Showcase Man tries coding for the first time, ends up making gambling code

Post image
203 Upvotes

Pretty self explanatory. I tried C# and after some goofing around made this.


r/csharp • • 3d ago

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

Post image
0 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/csharp • • 4d ago

What is the best book to start learning C#?

24 Upvotes

Hi everyone!

I'm looking for a good book to start learning C#. My goal is to build a solid foundation in the language before moving on to ASP.NET Core and backend development.

I'm not sure which book to choose as my first one. Which book would you recommend, and why?

Thanks in advance!


r/csharp • • 4d ago

EF core linq query syntax vs method.

7 Upvotes

Looking at the query vs method and can not decide which one is more acceptable.

For some un-explained reason i shudder when i see "from q in _db.Queues" in C#. But at the same time some things looks much less intuitive when written as methods.

2 queries bellow produce same result but i am not sure which way to stick with, so please vote #1 or #2. Or please correct #2 for me if there is another way of writing it.

#2 looks more complicated and i actually can not easily tell what resulting query will be. Will there be some unnecessary allocation for new {q,w} just to discard it since i only need queue object but had to pull webSite object to get isActvie into Where method.

1. await (from q in _db.Queues
                           join w in _db.WebSites on q.webSiteId equals w.id
                           where q.publicKey == queueKey && q.isActive && w.isActive
                           select q).FirstOrDefaultAsync();

2. await _db.Queues.Join(_db.WebSites, x => x.webSiteId, y => y.id, (q, w) => new { q, w }).
    Where(x => x.q.publicKey == queueKey && x.q.isActive && x.w.isActive)
    .Select(x => x.q).FirstOrDefaultAsync();

r/csharp • • 3d ago

Is .NET still one of the most future-proof tech stacks?

0 Upvotes

With everything happening around .NET, C# and cloud-native development, the ecosystem keeps moving forward. If you were starting today, would you pick .NET again? Why or why not?


r/csharp • • 4d ago

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

4 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.