Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
127 views

In our system we are hashing passwords with the following method. public static string HashPassword(string password, byte[] salt) { if (salt == null) { throw new ArgumentNullException($...
Cerkvenic's user avatar
  • 377
Best practices
1 vote
5 replies
82 views

In an MVVM architecture, models should be kept free of UI-related logic. They represent pure data that is retrieved from memory via a service. I see a challenge when the user interface needs to ...
jjb's user avatar
  • 37
2 votes
1 answer
43 views

The ItemTemplate for my ComboBox is like this: new FuncDataTemplate( typeof(object), (item, _) => new TextBlock { HorizontalAlignment = HorizontalAlignment.Stretch, Text ...
zacoons's user avatar
  • 371
Best practices
0 votes
3 replies
62 views

Adding [ApiController] on a controller class has various benefits. Especially the automatic model validation and problem details parts. The problem with this attribute is that it's easy to forget to ...
LLL's user avatar
  • 3,781
Advice
0 votes
2 replies
66 views

I'm trying to do a polymorphic deserialization using System.Text.Json in net-8.0. Here is my schema. [JsonPolymorphic(TypeDiscriminatorPropertyName = "type")] [JsonDerivedType(typeof(Manager)...
fingers10's user avatar
  • 8,449
0 votes
1 answer
41 views

I am trying to display the stack traces of RTOS fibers running in a C++ solution in VS2022. Since upgrading to Windows 11 there seems to be a problem in the implementation. The existing approach, ...
Sparky_335's user avatar
Best practices
0 votes
3 replies
64 views

I trying to develop user-friendly program that do not block physical disk with 100% usage (so even entering My Computer takes around 10 seconds). My program calculate hash for many (180k) small files ...
Kosmo零's user avatar
  • 4,190
0 votes
1 answer
76 views

I'm trying to download files through a popup window. Most of files download correctly, but some one through this error: Error in /Controladores/Descarga.ashx?guid=4b5050f6-2f69-41e1-8bd6-1113686e9575 ...
Pyrus's user avatar
  • 107
0 votes
1 answer
45 views

Is there a way I can set the dotnet version to use for the debugger. I am using the one (debugger) that comes with C# Dev Kit. I currently have dotnet 8 and dotnet 2.2 installed but the debugger ...
Ndifreke James Okpo's user avatar
1 vote
1 answer
44 views

I want to print data on a label. I created a ZPL template file and in my application i read that template file, look up a specific string, replace that string with data from my application and then ...
Nico Sz's user avatar
  • 133
1 vote
0 answers
45 views

I've been struggling for two days with a PostgreSQL enum type issue in Entity Framework Core. Despite all my configuration, EF Core keeps trying to send a string (`text`) to an enum column. The ...
Мирон Никитин's user avatar
0 votes
1 answer
41 views

I want to set a rule in .editorconfig so that all C# files where namespace is not explicitly set should render an error. I've added these: dotnet_diagnostic.IDE0130.severity = error # Namespace does ...
Max's user avatar
  • 757
0 votes
0 answers
47 views

I'm trying to debug and run a .NET MAUI Android app targeting .NET 9 in JetBrains Rider (2025.1.3). SDKs installed: 9.0.308 [C:\Program Files\dotnet\sdk] 10.0.100 [C:\Program Files\dotnet\sdk] ...
Antonin937's user avatar
0 votes
1 answer
28 views

This is my ocelot configuration... { "Routes": [ { "UpstreamPathTemplate": "/api/test/{url}", "DownstreamPathTemplate": "/api/{url}",...
Nat Jacobs's user avatar
0 votes
0 answers
20 views

Here is my .wxs file contents: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> <Package Name="...
jwdomes's user avatar
  • 11
1 vote
0 answers
22 views

I've been trying to setup roslyn.nvim with rzls.nvim on my neovim for a while to work with .NET, C# and Blazor. But I've been facing some frustrating problems, I'm using WSL Ubuntu 24.04, a neovim ...
Carlos Saraiva's user avatar
0 votes
1 answer
24 views

I am facing an issue with Power BI Embedded reports in a .NET Core application. The report contains Python visuals, which work correctly in Power BI Desktop and Service, but they do not render when ...
Vinay's user avatar
  • 1
0 votes
0 answers
35 views

I have a system where users create .NET plugin libraries. To support this, I’ve built: A solution template that creates: a plugin project a testbed console app a project reference from the testbed → ...
stritch000's user avatar
0 votes
0 answers
19 views

I'm building a Revit 2024 add-in that places a circular void hole where the user clicks in the model. The hole family has a “Diameter” parameter and cuts only structural framing members around the ...
Shubham Khare's user avatar