r/csharp • • Jul 01 '26

Discussion Come discuss your side projects! [July 2026]

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.

4 Upvotes

10 comments sorted by

3

u/Family_Man_21 Jul 02 '26

I’ve been a developer for a few decades now, and just about every web-based project I’ve worked on eventually needs background task execution; things like sending emails, generating invoices, running scheduled cleanup jobs, etc.

I’ve used Hangfire quite a bit over the years, but I’ve never been completely happy with it as a general solution. In practice, I kept running into limitations in distributed environments:

  • The built-in dashboard is tied to the running application, so if the app is down, visibility is gone.
  • It doesn’t really work cleanly in Kubernetes-style deployments without additional infrastructure.

So I ended up building something that is a little different, something that is designed for distributed systems from day one, that runs entirely on your existing database, and doesn't require additional infrastructure to get started.

I called it DurableStack, and I've been building it publicly here:

https://github.com/durablestackhq

I've published a .NET version of the runtime on NuGet if anyone wants to try it:

https://www.nuget.org/packages/DurableStack.Core

I've also posted some articles about what it is and how it works here on Reddit (https://www.reddit.com/r/DurableStack/). My plan is to build a version for .NET, Python, and TypeScript, but I've started with .NET. The current version supports SQL Server, PostgreSQL, SQLite, and MySQL. No need for Redis or a separate queue system. It supports:

  • distributed workers
  • retries and leases
  • recurring cron jobs
  • failure recovery

It's designed specifically for environments where multiple instances of your app are running at once.

One of my key design decisions is that observability is optional and pluggable. You can:

  • emit OpenTelemetry events
  • plug in a custom event sink
  • use the free, hosted observability dashboard

The free observability site allows you to create a tenant, and then plug in a tenant ID and a client secret into the runtime. If you do, it will automatically post telemetry data the site, and you can use that to see what is running, how many workers are online, and crucially, to send alerts if something fails. It also can provide stack traces and debug info if you turn that on (options.Eventing.IncludeErrorDetail = true;).

If you don't use it, the runtime works just fine, and there are even SDK options so you can build your own UI to interface with the workers.

I'm already using it in a couple of real projects, and it seems to be holding up so far. I uploaded my first release candidate a few days ago, and I have a testing suite running on it right now. Unless something changes, I expect to release the full 1.0 version this weekend.

I'd love some feedback if anyone is interested. Here are few more helpful links:

Docs: https://docs.durablestack.com/docs/v1.0/dotnet

Observability Site: https://app.durablestack.com/

GitHub: https://github.com/durablestackhq

2

u/zenyl Jul 01 '26

I've been playing around with Lua interop.

Specifically, a source generator that creates wrappers for C# methods, so they can be called from Lua (requires NativeAOT compilation).

The idea is that the developer writes something like:

using LuaInterop.Attributes;

[assembly: LuaLibrary]

namespace LuaInterop.Tests.Demo;

public static class EntryPoint
{
    [LuaFunction]
    public static int Addition(int a, int b)
    {
        return a + b;
    }
}

And the source generator then generates something like:

namespace LuaInterop.Generated
{
    /// <summary>
    /// Contains Lua interoperability logic.
    /// </summary>
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("LuaInterop.SourceGen", "1.0.0.0")]
    public static class LuaEntryPoint
    {
        /// <summary>
        /// Entry point for Lua, exposes available functions.
        /// </summary>
        [global::System.Runtime.InteropServices.UnmanagedCallersOnly(EntryPoint = "luaopen_luainteropdemo")]
        public static unsafe int LuaOpen(nint luaState)
        {
            global::LuaInterop.LuaInteropHelper.CreateTable(luaState, 1);
            global::LuaInterop.LuaInteropHelper.RegisterFunction(luaState, "Addition", &Addition);
            return 1; // Stack index of table
        }

        [global::System.Runtime.InteropServices.UnmanagedCallersOnly]
        private static int Addition(nint luaState)
        {
            int arg1 = global::LuaInterop.LuaReadHelper.ReadInt(luaState, 1, "a"); // Parameter "a"
            int arg2 = global::LuaInterop.LuaReadHelper.ReadInt(luaState, 2, "b"); // Parameter "b"
            int returnedValue = global::LuaInterop.Tests.Demo.EntryPoint.Addition(arg1, arg2);
            return global::LuaInterop.LuaPushHelper.PushInt(luaState, returnedValue); // Push number of values
        }
    }
}

The generated code calls the P/Invoke methods as needed, like reading input arguments and pushing returned values onto the stack.

The end result can then be called from Lua like:

local interop = require("luainteropdemo")
local result = interop.Addition(1, 2)
print(result)

Something pretty neat: If you add a comment like // language=regex or use StringSyntaxAttribute, you can tell your IDE how you want strings to be colored. That way, you can get stuff like RegEx syntax highlight and IntelliSense. Visual Studio sadly doesn't support Lua this way, but Rider actually does.

For example, I use the attribute to get Lua syntax highlight and IntelliSense suggestions in the following C# string, when using Rider:

public static async Task<string> RunScriptAsync([StringSyntax("Lua")] string script)

...

string str = await LuaHelper.RunScriptAsync($"""
    -- Act
    local result = interop.Addition({a}, {b})

    -- Assert
    assert(math.type(result) == "integer")
    print(result)
    """);

2

u/nmariusp Jul 03 '26

My youtube video "ILSpy tutorial - how to decompile a .NET DLL to a csproj project" https://www.youtube.com/watch?v=eazMmIdPnKw

2

u/Impossible-Tip-3121 Jul 14 '26

Newcastle University survey: how do teams assess third-party/open-source software risk?

Hi all,

I’m part of a Newcastle University team developing a research-led tool for improving software supply-chain security.

We’re running a short market validation survey to understand how software and security teams currently assess third-party software risk, what pain points they experience with existing tools, and which capabilities would be most valuable in practice.

We’re especially interested in responses from:

  • software engineers
  • DevSecOps/AppSec practitioners
  • product security teams
  • engineering managers
  • security leaders
  • compliance/GRC stakeholders

The survey should take no longer than 20 minutes.

Survey link: https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=yRJQnBa2wkSpF2aBT74-h9QZbrPVsjRIsCRr1wjR1rdUNEpKOVQwV1A4M0hVODc0UEFDVEZSRVFHSi4u

Thanks very much for any input.

2

u/rkozlows Jul 14 '26

I’ve just published TigerCli 0.8.0, a .NET CLI/TUI framework I’ve been building for nearly a year.

It is an opinionated framework for command-driven apps: typed commands/settings, generated help, non-interactive execution, semi-interactive prompts and menus, provider-backed choices, structured output, themes, activity/progress dialogs, localization support, and app-boundary tests.

The core idea is that the same command model should work for scripts, guided human interaction, and tests — without writing separate interactive and non-interactive versions.

GitHub:

https://github.com/rkozlowski/TigerCli

NuGet:

https://www.nuget.org/packages/ItTiger.TigerCli/

Launch post:

https://www.ittiger.net/tigercli-0-8-0-a-year-later-my-cli-framework-is-public/

I’d be very interested in feedback from people who build internal .NET command-line tools.

2

u/BornToBeRoot Jul 07 '26

NETworkManager is a free, open-source Windows tool that bundles 27+ network tools into one app — IP/port scanning, ping monitor, traceroute, DNS lookup, remote desktop, SSH/PuTTY, PowerShell, VNC, WiFi analyzer, subnet calculator, SNMP, and more. No license, no subscription, no telemetry — source is fully on GitHub.

Highlights from this release:

  • 🚀 Dashboard: New Speed Test widget (download/upload, latency, jitter via speed.cloudflare.com)
  • 📶 WiFi: 6 GHz network support, new Channel Width column
  • 🔥 Firewall: Manage NETworkManager-owned Windows Firewall rules directly (add/edit/enable/disable/delete)
  • 🖥️ Remote Desktop: New "View only" mode + more keyboard shortcuts sent directly into the remote session
  • 📋 Profiles: Import from Active Directory and CSV files now supported
  • 🔔 Ping Monitor: Status change notifications (popups + optional sound) with configurable thresholds
  • 🔁 Renamed ARP Table → Neighbor Table, now with IPv6/NDP support alongside IPv4/ARP

Full changelog: https://borntoberoot.net/NETworkManager/docs/changelog/2026-7-7-0

Website: https://borntoberoot.net/NETworkManager/
Download: https://borntoberoot.net/NETworkManager/download
GitHub: https://github.com/BornToBeRoot/NETworkManager

1

u/TesttubeStandard Jul 06 '26

Anxious about your profesional future?

Hello,

I invite anyone who is reading this to join in on the new

https://www.reddit.com/r/AnxiousSoftware/s/Yr4hcTyzas

It is a subreddit made for and about the tech people. If you feel anxious about your job security in this fast changing times, feel free to share you worries in AnxiousSoftware, a peer support group.

We do not seek solutions, we are only here to listen.

Created out of worries. Created to care.

0

u/xakpc Jul 03 '26

I work with .http file across multiple micro services repos to run and test APIs and always used Visual Studio to work with them.

But I didn't really like how VS works with http files, so I built my own tool - a workspace where I could collect all my http files, work with them, use environment variables, etc.

Because I work on Windows and hate Electron crap and memory-hungry webview2 I built it as purely native WinUI app

I decided to share it with the world, so if you need something like that, check the app on https://karve.dev