Did any backend dev here migrate their .NET 8 code to 10? Is it worth it at this point?
Im usually the 1st to migrate my serverside (my own of course, not work related) to the latest .NET LTS but recent microsoft shenanigans have discouraged me from touching anything new they make
Is there any feature in .NET 10 that makes it worth the risk? How we feeling about it?
https://redd.it/1px3q0e
@r_dotnet
Im usually the 1st to migrate my serverside (my own of course, not work related) to the latest .NET LTS but recent microsoft shenanigans have discouraged me from touching anything new they make
Is there any feature in .NET 10 that makes it worth the risk? How we feeling about it?
https://redd.it/1px3q0e
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
NUKE Build Canonical Fork?
A couple weeks ago I was saddened to read that the maintainer of NUKE Build had called it quits and doesn’t plan to appoint a successor.
At time of writing there are 448 forks on GitHub but does anyone know if a “preferred” or “canonical” fork has emerged yet?
https://redd.it/1pxbkdi
@r_dotnet
A couple weeks ago I was saddened to read that the maintainer of NUKE Build had called it quits and doesn’t plan to appoint a successor.
At time of writing there are 448 forks on GitHub but does anyone know if a “preferred” or “canonical” fork has emerged yet?
https://redd.it/1pxbkdi
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
Rules: are we allowed to post a link to an ASP.NET Core app we've made or does that contravene Rule #4 - Self-Promotion?
G'Day all,
Are we allowed to post a link to an app made in ASP.NET Core (open source but dual license on GH) or does this contravene rule 4 - self-promotion because it might be considered
a) I've done this, so look at me
b) dual license which has some commercial context for large companies only
https://redd.it/1pxe0kk
@r_dotnet
G'Day all,
Are we allowed to post a link to an app made in ASP.NET Core (open source but dual license on GH) or does this contravene rule 4 - self-promotion because it might be considered
a) I've done this, so look at me
b) dual license which has some commercial context for large companies only
https://redd.it/1pxe0kk
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
I understand why C# and dotnet but...
For sometime I had a problem with C# for having "too many ways of doing the same thing" and with dotnet for having "too much magic implicit behavior and opiniated structure". And why do I have a problem with this?
First, I think that when you have too many ways of accomplishing something, it makes codebases across multiple people filled with preferences and styles. In a language like Python for example, there's only one thing to do something, so there's more uniformization across syntax.
Second, opiniated frameworks that work with implicit behavior are easy for those who know them really well but hard for those who are new. When I learned Flask, I was able to build websites in FastAPI, Javalin, Micronaut and ExpressJS with ease. But when transitioning into a bigger framework, it was hard, because I didn't know what to look for as each framework had it's own conventions.
But I finally see the sense of it now. I mean I'm getting to. I still think that while C# has too many ways of doing something, I can still choose to write my code simpler and more explicit. It's a thing of preference. I normally write my C# code as highschool level C++ if that makes sense. Thing is, I love it for personal projects but I dislike it when other programmers create a soup of features. That's an instance where I'd have preferred for my workplace to use Python instead.
But Python is not perfect either. Python standardizes the syntax of a program but not the architecture of a software. So, that's where bigger frameworks come in. Even if C# has multiple syntax options, it offers better organization via it's dotnet opiniated framework. So there's a tradeoff where each part loses something but does something else better.
So, where I'm getting at? I think that C# is overall the better choice because performance-wise, you can build much more things than with Python or JavaScript and in a world where RAM is as expensive as a secondhand car, ElectronJS is not a solution (it's powerhungry for memory without any good reason). But... I feel overwhelmed.
So, above was my analysis. Sometimes I can clear my thoughts if I write them up so... my question for whoever is interested in this topic, how do you manage to balance the obsession of knowing the entire language at once vs being productive and stop overthinking?
Thank you!
https://redd.it/1pxc92j
@r_dotnet
For sometime I had a problem with C# for having "too many ways of doing the same thing" and with dotnet for having "too much magic implicit behavior and opiniated structure". And why do I have a problem with this?
First, I think that when you have too many ways of accomplishing something, it makes codebases across multiple people filled with preferences and styles. In a language like Python for example, there's only one thing to do something, so there's more uniformization across syntax.
Second, opiniated frameworks that work with implicit behavior are easy for those who know them really well but hard for those who are new. When I learned Flask, I was able to build websites in FastAPI, Javalin, Micronaut and ExpressJS with ease. But when transitioning into a bigger framework, it was hard, because I didn't know what to look for as each framework had it's own conventions.
But I finally see the sense of it now. I mean I'm getting to. I still think that while C# has too many ways of doing something, I can still choose to write my code simpler and more explicit. It's a thing of preference. I normally write my C# code as highschool level C++ if that makes sense. Thing is, I love it for personal projects but I dislike it when other programmers create a soup of features. That's an instance where I'd have preferred for my workplace to use Python instead.
But Python is not perfect either. Python standardizes the syntax of a program but not the architecture of a software. So, that's where bigger frameworks come in. Even if C# has multiple syntax options, it offers better organization via it's dotnet opiniated framework. So there's a tradeoff where each part loses something but does something else better.
So, where I'm getting at? I think that C# is overall the better choice because performance-wise, you can build much more things than with Python or JavaScript and in a world where RAM is as expensive as a secondhand car, ElectronJS is not a solution (it's powerhungry for memory without any good reason). But... I feel overwhelmed.
So, above was my analysis. Sometimes I can clear my thoughts if I write them up so... my question for whoever is interested in this topic, how do you manage to balance the obsession of knowing the entire language at once vs being productive and stop overthinking?
Thank you!
https://redd.it/1pxc92j
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
Honest question to the .NET community: why do new devs still default to Node.js?
I’ve been a .NET dev for a while, and this is something I keep coming back to.
On paper, .NET has everything:
async/await done right
first-class TypeScript support
fast, compiled runtime
cross-platform
now even AOT
mature tooling and great performance
Yet when new devs start backend work, they still default to Node.js + Express/Nest.
Yes, we have our fair share of over-promised and under-delivered frameworks (looking at you, MAUI and Blazor). But at least they live in the same ecosystem and share the same fundamentals.
This isn’t a “Node bad / .NET good” post. I’m genuinely asking: where are we failing?
Is it:
Perception? (.NET still feels corporate / enterprise)
Open-source optics? (many still don’t realize .NET is fully open-source)
Onboarding friction? (too many concepts before a simple “hello world” API)
Community visibility? (Node content dominates YouTube, blogs, bootcamps)
Deploy & hosting simplicity?
Or are we just bad at telling our story?
Or… am I simply looking at the wrong communities and mistaking online noise for reality?
As a community, we’ve built an insanely capable ecosystem. But capability clearly isn’t what wins mindshare anymore.
Would love honest takes.
No flame wars. Just reflection.
https://redd.it/1pxh0sn
@r_dotnet
I’ve been a .NET dev for a while, and this is something I keep coming back to.
On paper, .NET has everything:
async/await done right
first-class TypeScript support
fast, compiled runtime
cross-platform
now even AOT
mature tooling and great performance
Yet when new devs start backend work, they still default to Node.js + Express/Nest.
Yes, we have our fair share of over-promised and under-delivered frameworks (looking at you, MAUI and Blazor). But at least they live in the same ecosystem and share the same fundamentals.
This isn’t a “Node bad / .NET good” post. I’m genuinely asking: where are we failing?
Is it:
Perception? (.NET still feels corporate / enterprise)
Open-source optics? (many still don’t realize .NET is fully open-source)
Onboarding friction? (too many concepts before a simple “hello world” API)
Community visibility? (Node content dominates YouTube, blogs, bootcamps)
Deploy & hosting simplicity?
Or are we just bad at telling our story?
Or… am I simply looking at the wrong communities and mistaking online noise for reality?
As a community, we’ve built an insanely capable ecosystem. But capability clearly isn’t what wins mindshare anymore.
Would love honest takes.
No flame wars. Just reflection.
https://redd.it/1pxh0sn
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
C# 14 Null-conditional Assignment: Complete Guide to Elegant Null Handling
https://laurentkempe.com/2025/12/28/csharp-14-null-conditional-assignment-complete-guide/
https://redd.it/1pxnjnn
@r_dotnet
https://laurentkempe.com/2025/12/28/csharp-14-null-conditional-assignment-complete-guide/
https://redd.it/1pxnjnn
@r_dotnet
Laurent Kempé
Laurent Kempé - C# 14 Null-conditional Assignment: Complete Guide to Elegant Null Handling
If you've been working with C# since the introduction of null-conditional operators in C# 6.0, you've likely appreciated how ?. and ?[] simplified null-check...
C# 14 Field Keyword: Simplifying Property
https://laurentkempe.com/2025/12/27/csharp-14-field-keyword-simplifying-property-accessors/
https://redd.it/1pxnirn
@r_dotnet
https://laurentkempe.com/2025/12/27/csharp-14-field-keyword-simplifying-property-accessors/
https://redd.it/1pxnirn
@r_dotnet
Laurent Kempé
Laurent Kempé - C# 14 Field Keyword: Simplifying Property Accessors
C# 14 introduces the field keyword, a contextual keyword that reshapes how we write property accessors. This feature eliminates the need for explicit backing...
Interested in Working with .NET and Blazor
Working with Blazor Server for about two years, building applications using C#, **ASP.NET** Core, SQL Server, and creating REST APIs for Blazor apps. Experience includes AML and ERP systems, along with DevExpress for reports, dashboards, and data grids. Previously worked with React JS for two years, familiar with modern frontend frameworks.
Always interested in connecting with other developers or teams working on Blazor Server, APIs, and DevExpress. Happy to share experiences and learn from others in the community. If anyone has insights, resources, or collaboration opportunities, feel free to reach out.
https://redd.it/1pxt3m1
@r_dotnet
Working with Blazor Server for about two years, building applications using C#, **ASP.NET** Core, SQL Server, and creating REST APIs for Blazor apps. Experience includes AML and ERP systems, along with DevExpress for reports, dashboards, and data grids. Previously worked with React JS for two years, familiar with modern frontend frameworks.
Always interested in connecting with other developers or teams working on Blazor Server, APIs, and DevExpress. Happy to share experiences and learn from others in the community. If anyone has insights, resources, or collaboration opportunities, feel free to reach out.
https://redd.it/1pxt3m1
@r_dotnet
Microsoft
ASP.NET Core, an open-source web development framework | .NET
Build web apps and services that run on Windows, Linux, and macOS using C#, HTML, CSS, and JavaScript. Get started for free on Windows, Linux, or macOS.
Do you obfuscate code?
Do you use any kind of code obfuscation?
My company is asking for options because we need to distribute a desktop application, but I don't know any.
I wanted to know what's the community thoughts on this!
Thanks!
Edit: obviously "it depends" is the best answer for this. Just imagine you do have some algorithms that some competitors would like to see. Although I don't give a damn, company is asking for options and I'm asking the community if you are doing this or not, even considering competition and stuff
https://redd.it/1pxvwy6
@r_dotnet
Do you use any kind of code obfuscation?
My company is asking for options because we need to distribute a desktop application, but I don't know any.
I wanted to know what's the community thoughts on this!
Thanks!
Edit: obviously "it depends" is the best answer for this. Just imagine you do have some algorithms that some competitors would like to see. Although I don't give a damn, company is asking for options and I'm asking the community if you are doing this or not, even considering competition and stuff
https://redd.it/1pxvwy6
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
How to hot reload while debugging in vs code
I Try to debug the code and change some code, doesn't work, I try using dotnet watch command in cli and attach a debugger to it, but when I change the code the debugger doesn't work and I have to restart the project.
In visual studio this is not the problem I can hot reload while debugging, but the cons is if I change the UI (cshtml) hot reload is slow in visual studio debug mode.
How do you guys debug in visual studio code or how to improve speed of hot reloading cshtml file in visual studio ?
https://redd.it/1pxxn5m
@r_dotnet
I Try to debug the code and change some code, doesn't work, I try using dotnet watch command in cli and attach a debugger to it, but when I change the code the debugger doesn't work and I have to restart the project.
In visual studio this is not the problem I can hot reload while debugging, but the cons is if I change the UI (cshtml) hot reload is slow in visual studio debug mode.
How do you guys debug in visual studio code or how to improve speed of hot reloading cshtml file in visual studio ?
https://redd.it/1pxxn5m
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
Recommend a code generation tool
Hello, when working with native interop (PKCS#11), I need to generate C# structures that are always the same in four variants, because each platform uses a different unsigned integer size and different structure alignment. In addition, the given integer size may not match nint. Unfortunately, generics cannot be used with native interop.
Is there any tool that could help me with this? Something like the old T4?
https://redd.it/1pxxa0m
@r_dotnet
Hello, when working with native interop (PKCS#11), I need to generate C# structures that are always the same in four variants, because each platform uses a different unsigned integer size and different structure alignment. In addition, the given integer size may not match nint. Unfortunately, generics cannot be used with native interop.
Is there any tool that could help me with this? Something like the old T4?
https://redd.it/1pxxa0m
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
Modernize your .NET localization: convert .resx to JSON, keep IStringLocalizer, add OTA updates - open source toolkit
I've been working on LRM (Localization Resource Manager) - an open-source CLI + NuGet library + cloud platform for .NET localization.
The big idea: One platform that connects your local dev environment, GitHub repos, and live apps:
- Local CLI → push/pull to cloud
- GitHub integration → sync repos, create PRs with translations
- OTA SDK → apps fetch latest translations without redeploying
Translators work in the web UI, changes sync to your repo and live apps automatically.
The .NET-specific stuff:
- Source Generator - strongly-typed classes at compile time. Full IntelliSense, refactoring, no magic strings
- OTA updates - background refresh, ETag caching, circuit breaker. First OTA for .NET
- IStringLocalizer - drop-in replacement for ASP.NET Core, Blazor, MAUI, WPF
- CLDR pluralization - proper plural rules for 30+ languages
- Code scanning - finds unused/missing keys in C#, Razor, XAML
CLI: 50+ commands, 10 translation providers including Ollama (local LLM - no API costs, air-gapped). JSON output for CI/CD.
Also supports i18next, Android, iOS if you're cross-platform.
Already using .resx? Modernize in one command:
Your
100% open source (MIT). Self-host everything, or use lrm-cloud.com - free tier included.
GitHub: https://github.com/nickprotop/LocalizationManager
https://redd.it/1pxynqn
@r_dotnet
I've been working on LRM (Localization Resource Manager) - an open-source CLI + NuGet library + cloud platform for .NET localization.
The big idea: One platform that connects your local dev environment, GitHub repos, and live apps:
- Local CLI → push/pull to cloud
- GitHub integration → sync repos, create PRs with translations
- OTA SDK → apps fetch latest translations without redeploying
Translators work in the web UI, changes sync to your repo and live apps automatically.
The .NET-specific stuff:
- Source Generator - strongly-typed classes at compile time. Full IntelliSense, refactoring, no magic strings
- OTA updates - background refresh, ETag caching, circuit breaker. First OTA for .NET
- IStringLocalizer - drop-in replacement for ASP.NET Core, Blazor, MAUI, WPF
- CLDR pluralization - proper plural rules for 30+ languages
- Code scanning - finds unused/missing keys in C#, Razor, XAML
CLI: 50+ commands, 10 translation providers including Ollama (local LLM - no API costs, air-gapped). JSON output for CI/CD.
Also supports i18next, Android, iOS if you're cross-platform.
Already using .resx? Modernize in one command:
lrm convert --from resx --to json
Your
IStringLocalizer<T> code stays the same - just swap the NuGet package. JSON instead of XML, easier to diff and merge.100% open source (MIT). Self-host everything, or use lrm-cloud.com - free tier included.
GitHub: https://github.com/nickprotop/LocalizationManager
https://redd.it/1pxynqn
@r_dotnet
Lrm-Cloud
LRM - Open Source Localization Management
Validate, edit, and translate your localization files. Free CLI for developers, Cloud platform for teams.
C# 14 Null-Conditional Assignment Operator Benefits for Beginners
Although the official page covers the new features very well, thought it would be helpful for beginners to have a more detailed overview.
I will start with a new class that includes one property:
class VideoProject
{
public string? LastExportPath { get; set; }
}
Then let’s have a method called
I will use
string ExportVideo()
{
Console.WriteLine("Exporting Video...");
Thread.Sleep(TimeSpan.FromSeconds(5));
var outputPath = @"C:\\Exports\\video.mp4";
Console.WriteLine($"Export Finished: {outputPath}");
return outputPath;
}
Next, let’s declare a variable called project of type
Then let's see what happens if I assign the result of the
As you have guessed this will raise a
Exporting Video...
Export Finished: C:\Exports\video.mp4
NullReferenceException message
Now, there is a feature set called Nullable Reference Types, which allows developers to set a Nullable Context (since C# 10 .NET 6 release Nullable Context is enabled by default).
This enables what’s known as null-state analysis, which provides warnings in cases such as the one above – when dereferencing a null reference. You can also set
However, that is just a warning system and does not solve the main problem.
The reason why the problem is occurring is because assignment operator is Right to Left associative.
So, it first evaluates the
In this scenario, the left side is guaranteed to fail, but the right side still executes unnecessarily, wasting time and resources. One way to fix it is to use an if statement like so:
if (project is not null)
{
project.LastExportPath = ExportVideo();
}
Now if the project variable is null then the if block will simply not be executed.
But starting from C# 14 .NET 10 release there is a new improvement to an already existing feature called null-conditional operator, which allows you to express this logic in a more concise way.
Null-conditional operator can be used for type members
The new update changes the evaluation order, so it now starts from the left side instead of the right side when there's a null-conditional member or element access operator on the left side of the assignment operator. In other words, if the left side evaluates to null, then the right side is skipped.
So, I can write a one-line equivalent of the if statement above and still benefit from null safety, while at the same time avoiding executing long-running and resource-heavy operations unnecessarily.
Before the C# 14 and .NET 10 release, you could use null-conditional member or element access operators, but they could not appear on the left side of an assignment operator. Moving forward, they can, which as mentioned adds both null safety and convenience.
With Nullable Context enabled in modern versions of C#, you can easily catch these types of exceptions. So, you should rarely if ever be faced with a situation like the
Although the official page covers the new features very well, thought it would be helpful for beginners to have a more detailed overview.
I will start with a new class that includes one property:
class VideoProject
{
public string? LastExportPath { get; set; }
}
Then let’s have a method called
ExportVideo which is there to simulate a long-running and resource-heavy operation in this case for exporting a video.I will use
Thread.Sleep to pause for 5 seconds for simplicity:string ExportVideo()
{
Console.WriteLine("Exporting Video...");
Thread.Sleep(TimeSpan.FromSeconds(5));
var outputPath = @"C:\\Exports\\video.mp4";
Console.WriteLine($"Export Finished: {outputPath}");
return outputPath;
}
Next, let’s declare a variable called project of type
VideoProject, make it explicitly nullable and assign null to it:VideoProject? Project = null;Then let's see what happens if I assign the result of the
ExportVideo method to the project.LastExportPath property:project.LastExportPath = ExportVideo();As you have guessed this will raise a
NullReferenceException, but what's really bad is that ExportVideo method will still run so you will see:Exporting Video...
Export Finished: C:\Exports\video.mp4
NullReferenceException message
Now, there is a feature set called Nullable Reference Types, which allows developers to set a Nullable Context (since C# 10 .NET 6 release Nullable Context is enabled by default).
This enables what’s known as null-state analysis, which provides warnings in cases such as the one above – when dereferencing a null reference. You can also set
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> on the project level to treat all warnings as errors, ensuring that you do not accidentally overlook issues that could cause runtime failures.However, that is just a warning system and does not solve the main problem.
The reason why the problem is occurring is because assignment operator is Right to Left associative.
So, it first evaluates the
ExportVideo() method, which is the right operand and then it uses the value to assign it to the left operand which should be an assignable entity – in this case a property.In this scenario, the left side is guaranteed to fail, but the right side still executes unnecessarily, wasting time and resources. One way to fix it is to use an if statement like so:
if (project is not null)
{
project.LastExportPath = ExportVideo();
}
Now if the project variable is null then the if block will simply not be executed.
But starting from C# 14 .NET 10 release there is a new improvement to an already existing feature called null-conditional operator, which allows you to express this logic in a more concise way.
Null-conditional operator can be used for type members
(.?) or collection elements (?[]) – in this example I will only cover type members but same applies to collection elements.The new update changes the evaluation order, so it now starts from the left side instead of the right side when there's a null-conditional member or element access operator on the left side of the assignment operator. In other words, if the left side evaluates to null, then the right side is skipped.
So, I can write a one-line equivalent of the if statement above and still benefit from null safety, while at the same time avoiding executing long-running and resource-heavy operations unnecessarily.
project?.LastExportPath = ExportVideo();Before the C# 14 and .NET 10 release, you could use null-conditional member or element access operators, but they could not appear on the left side of an assignment operator. Moving forward, they can, which as mentioned adds both null safety and convenience.
With Nullable Context enabled in modern versions of C#, you can easily catch these types of exceptions. So, you should rarely if ever be faced with a situation like the
one described above. However, I think it's still important for beginners to understand the evolution of the language to fully appreciate the advantages brought by new features and improvements.
Hopefully this is helpful. Feel free to share any suggestions or comments, and the article will be updated as needed.
Below are some of the references:
Null-Conditional Member Access/Element Access Operators
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/member-access-operators#null-conditional-operators--and
Null-Conditional Assignment Operator (C#14)
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14#null-conditional-assignment
Nullable Reference Types
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/nullable-reference-types
Full Video Explanation of Null-Conditional Assignment Operator (by Digital Dev Academy)
https://www.youtube.com/watch?v=z8bf4l7qQB4
https://redd.it/1py410a
@r_dotnet
Hopefully this is helpful. Feel free to share any suggestions or comments, and the article will be updated as needed.
Below are some of the references:
Null-Conditional Member Access/Element Access Operators
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/member-access-operators#null-conditional-operators--and
Null-Conditional Assignment Operator (C#14)
https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14#null-conditional-assignment
Nullable Reference Types
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/nullable-reference-types
Full Video Explanation of Null-Conditional Assignment Operator (by Digital Dev Academy)
https://www.youtube.com/watch?v=z8bf4l7qQB4
https://redd.it/1py410a
@r_dotnet
Docs
Member access and null-conditional operators and expressions: - C# reference
C# operators that you use to access type members or null-conditionally access type members. These operators include the dot operator - `.`, indexers - `[`, `]`, `^` and `..`, and invocation - `(`, `)`.
Pragmatism
Don't just learn , Build something.
To build a project, in addition to learning theoretical topics, you need to practically convert what you have learned into code.
So just watching courses and educational videos is not enough to enter the job market.
You must implement everything you learn practically in the form of experimental and real projects.
I started doing projects from the very beginning of programming, and my focus wasn't just on theoretical topics and the result is several experimental and real projects.
So always prefer doing to watching. You may make a lot of mistakes at first and even lose motivation sometimes, but in return you will gain practical experience.
https://redd.it/1pyi6f6
@r_dotnet
Don't just learn , Build something.
To build a project, in addition to learning theoretical topics, you need to practically convert what you have learned into code.
So just watching courses and educational videos is not enough to enter the job market.
You must implement everything you learn practically in the form of experimental and real projects.
I started doing projects from the very beginning of programming, and my focus wasn't just on theoretical topics and the result is several experimental and real projects.
So always prefer doing to watching. You may make a lot of mistakes at first and even lose motivation sometimes, but in return you will gain practical experience.
https://redd.it/1pyi6f6
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
Any help please?
im trying to create EF!
https://preview.redd.it/cqdr8cnjy4ag1.png?width=1897&format=png&auto=webp&s=40686bbacd7287b5fe0b88998046ae3db002cfc6
https://redd.it/1pykxnd
@r_dotnet
im trying to create EF!
https://preview.redd.it/cqdr8cnjy4ag1.png?width=1897&format=png&auto=webp&s=40686bbacd7287b5fe0b88998046ae3db002cfc6
https://redd.it/1pykxnd
@r_dotnet
NordVPN .NET library & CLI tool
Definitely not my favourite provider, but I needed to basically rotate my IP address in a loop, so I coded this in a couple of minutes: https://github.com/lofcz/NordSharp
Usage:
using NordSharp;
var result = NordVpn.Rotate();
Console.WriteLine($"New IP: {result.NewIp}");
It's cross-platform, thread-safe, and MIT licensed.
I've also partially decompiled
As for the CLI part (binaries here):
nordsharp-cli rotate
nordsharp-cli disconnect
nordsharp-cli status # check current IP & connection status
It's a niche piece of software for sure, but it could be of use to someone. Enjoy the holidays season, everyone! 🎁
https://redd.it/1pymyk5
@r_dotnet
Definitely not my favourite provider, but I needed to basically rotate my IP address in a loop, so I coded this in a couple of minutes: https://github.com/lofcz/NordSharp
Usage:
using NordSharp;
var result = NordVpn.Rotate();
Console.WriteLine($"New IP: {result.NewIp}");
It's cross-platform, thread-safe, and MIT licensed.
I've also partially decompiled
NordSecurity.NordVpn.Diagnostics.dll, Nord.Common.dll, and NordSecurity.Liberation.Diagnostics.dll(because they open-sourced only the unix client, guess why..). It's all C#, some of their stuff still runs on netfw 4.8, while other things are .NET Core 6/8. Their code is unprotected, so if you want to see some warcrimes stemming from years of tech debt, take a look with Il/DnSpy (bonus: compile the latest version of DnSpyEx for a nice string search tool similar to what is in IDA and Ghidra).As for the CLI part (binaries here):
nordsharp-cli rotate
nordsharp-cli disconnect
nordsharp-cli status # check current IP & connection status
It's a niche piece of software for sure, but it could be of use to someone. Enjoy the holidays season, everyone! 🎁
https://redd.it/1pymyk5
@r_dotnet
GitHub
GitHub - lofcz/NordSharp: A .NET library & CLI tool to control NordVPN
A .NET library & CLI tool to control NordVPN. Contribute to lofcz/NordSharp development by creating an account on GitHub.
C# 14 Extension Members: Complete Guide to Properties, Operators, and Static Extensions
https://laurentkempe.com/2025/12/29/csharp-14-extension-members-complete-guide/
https://redd.it/1pyo487
@r_dotnet
https://laurentkempe.com/2025/12/29/csharp-14-extension-members-complete-guide/
https://redd.it/1pyo487
@r_dotnet
Laurent Kempé
Laurent Kempé - C# 14 Extension Members: Complete Guide to Properties, Operators, and Static Extensions
Extension methods have been a core C# feature since version 3.0, enabling developers to add methods to types without modifying source code. With C# 14 and .N...
Issue while setting up Swagger
options.AddSecurityRequirement(new OpenApiSecurityRequirement
{
{
new OpenApiSecurityScheme
{
Reference = new OpenApiReference
{
Type = ReferenceType.SecurityScheme,
Id = "Bearer"
}
},
Array.Empty<string>()
}
});
});
Red underline in Reference and OpenApiReference
and while using the microsoft.openapi.models its show red underline in model also
https://redd.it/1pym8y3
@r_dotnet
options.AddSecurityRequirement(new OpenApiSecurityRequirement
{
{
new OpenApiSecurityScheme
{
Reference = new OpenApiReference
{
Type = ReferenceType.SecurityScheme,
Id = "Bearer"
}
},
Array.Empty<string>()
}
});
});
Red underline in Reference and OpenApiReference
and while using the microsoft.openapi.models its show red underline in model also
https://redd.it/1pym8y3
@r_dotnet
Reddit
From the dotnet community on Reddit
Explore this post and more from the dotnet community
New tool for HTTP load teating
I appreciate your honest input on http://zoyla.app, the free tool I built for simple and fast HTTP load testing. It might not go crazy viral, but it could still solve a problem for a few people.
What it does:
HTTP load testing without the bloat. You paste a URL, hit go, and see how your site holds up under traffic. That's it.
Why I built it:
Most load testing tools are either overcomplicated for quick checks or locked behind paywalls. I wanted something I could use in 10 seconds when I just need to know if my API will break under pressure.
- Free to use
- No signup required
- Works for basic HTTP/HTTPS endpoints
- Shows response times, success rates, error codes and other metrics
Try it, break it, tell me what sucks. I'm actively working on it and open to feedback.
https://redd.it/1pyqj4v
@r_dotnet
I appreciate your honest input on http://zoyla.app, the free tool I built for simple and fast HTTP load testing. It might not go crazy viral, but it could still solve a problem for a few people.
What it does:
HTTP load testing without the bloat. You paste a URL, hit go, and see how your site holds up under traffic. That's it.
Why I built it:
Most load testing tools are either overcomplicated for quick checks or locked behind paywalls. I wanted something I could use in 10 seconds when I just need to know if my API will break under pressure.
- Free to use
- No signup required
- Works for basic HTTP/HTTPS endpoints
- Shows response times, success rates, error codes and other metrics
Try it, break it, tell me what sucks. I'm actively working on it and open to feedback.
https://redd.it/1pyqj4v
@r_dotnet
Zoyla
Zoyla – HTTP Load Testing
Fast, lightweight HTTP load testing desktop app built with Rust.