r/dotnet • • 44m ago

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

7 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/dotnet • • 23h ago

Article In the 50 most popular C# repos, Copilot's coding agent merged PRs in 9 in November, down from 18 in March. The Copilot CLI or Claude Code: 30, up from 15

Post image
0 Upvotes

We follow AI-signed merged PRs (co-author trailers, bot author, agent branches) in the same 50 C# repos every month.

In November, Copilot's coding agent merged PRs in 9 of them, down from 18 in March. Its PRs fell to a quarter: 59, against 233 in March. In dotnet/runtime, 26 against 149. Agents people drive on their own machine went the other way: the Copilot CLI or Claude Code in 30 repos, up from 15, with 1,955 merged PRs. runtime, aspnetcore and maui use the CLI. Claude Code's count is mostly a few single-maintainer repos (SubtitleEdit, duplicati).

8 of the 50 had more than half their November PRs AI-signed. The median repo: 6%, against 0% a year ago. 13 of the 45 with 10+ merged PRs had none.

Limits: unsigned AI counts as none, and the Copilot CLI's trailer only shows up from February, so part of its rise is when it started signing. Every repo and a CSV: https://coderot.ai/blog/csharp-ai-november-2026?utm_source=reddit-dotnet-dec

Disclosure: we build coderot, which measures this in CI.

If your team moved from assigning issues to the coding agent to working with the CLI: what made you switch?


r/dotnet • • 18h ago

Question C#/.NET Engineer Relevancy

Thumbnail reddit.com
0 Upvotes

r/dotnet • • 14h ago

Question Best way to verify that a request came from a legitimate application client?

0 Upvotes

The app doesn't use a log in service. When a user firsts downloads the app, he receives the app with a one time token file to be used when he enters the app's registration key. (each token file is different for each download).

After entering the key, and if token and key are valid, he receives the licence key file.

The app uses the licence file and a public key to verify access at a local stage on start up. The app then sends a request with the licence and device id to check if licence is still active, licence properties changes and if the request came from a registered device.

It also verifies every hour to check if it's still valid.

Is there a way to check that a request came from a legit app?

I was thinking of a couple of approaches, which don't really fix the problem.

  1. I could add a key in the app exe as a sort of token. But that would mean I won't be able to change it.
  2. Have a token in a file, and when it expires just change it. But then it could be easily copied like the licence file.
  3. Create a log in service and use access and refresh tokens. But that doesn't really solve the problem as I would first, either need to have the token hold the actual data of the licence or pass the data in the body for verification, and second, have to save the token locally.
  4. Have keys like whatsapp. When user registers the app with the key, the vps creates a set of keys. The vps holds the private key, binded to the registered device, and it sends back a public key. When client sends the licence data to the vps it sends a response signed with the private key binded to that device. If the client uses the public key to read the response. If it can't, deny access to the app. But that only prevents a compromised client from impersonating others.

Regarding number 4, I don't know though which one exactly should be the one holding the private key. And if this is my best approach.


r/dotnet • • 15h ago

Web Forms → MVC migration on a salary-packaging portal: what actually broke

0 Upvotes

We migrated a legacy ASP.NET Web Forms salary-packaging app to MVC last year. The interesting part wasn't the rewrite — it was everything that depended on Web Forms behaving like Web Forms.

Three things broke repeatedly:

1. ViewState was holding UI state. Multi-step forms looked stateless after migration because the old pages relied on ViewState for step data. Fix: explicit session-backed view models per step, plus a hidden step token.

2. Validation parity. Web Forms validators ran server-side on postback; MVC model binding silently accepted values the old app rejected. Fix: a validation parity checklist per page, with the same rules expressed as data annotations + a server-side guard.

3. Report parameters. The reporting screens passed DateTime values assuming server-local time. After the move, boundary dates shifted by a day for some records. Fix: store UTC, format at the edge, and add a regression check across month boundaries.

What made it manageable was a per-page parity checklist: fields, validation, state, queries, permissions — signed off before deleting the .aspx.

Happy to share the checklist format if useful.


r/dotnet • • 3h ago

Article We wrote an A2UI 1.0 renderer for a C# front end the day after the spec shipped. Where it is strict

Post image
0 Upvotes

A2UI is Google's protocol for agent generated interfaces: the agent sends the interface as JSON, and the application draws it with its own components. Version 1.0 came out on November 11. Google publishes renderers for React, Angular, Lit, Flutter and SwiftUI. Our front end is C# compiled to JavaScript, so none of them fit, and we wrote one: Tesserae.A2UI.

What it covers: all 14 functions of the basic catalog, the validation checks and the protocol's error messages. Bindings are tracked per path, so a value is evaluated again only when data it read changes.

Where it refuses to turn text into markup:

  • Text is Markdown rendered with links and embedded content removed, so it cannot carry raw HTML or a script tag.
  • An icon drawn from SVG path data accepts only path commands and numbers. Any other character draws nothing.
  • Image, video and audio URLs must be http, https, data or on the same host.
  • openUrl opens only http and https addresses, and only from a person's click.

This does not make injected text harmless. It can still change what an interface says or which buttons it offers.

How it was made: a coding agent wrote it from the specification, kept beside the code, and one of us reviewed and merged it. The check is a gallery that draws all 43 examples from the A2UI repository, opened by a Playwright suite that fails on any console error.

Limits: it draws with Tesserae, our C# UI library, so it fits a C# front end and not a React app.

Source: https://github.com/curiosity-ai/tesserae-a2ui The write up, including how we use it in our product: https://blog.curiosity.ai/blog/2026-11-a2ui-agentic-ui-in-curiosity-studio

Disclosure: we build Curiosity Studio, and this renderer is the one behind its assistant interfaces. Happy to go deeper on any of this.