Skip to main content
Filter by
Sorted by
Tagged with
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
1 answer
34 views

I'm trying to get a hardware id with a .net console app (target framewotk is net8.0-windows10.0.17763.0). The code is rather trivial, just var token = Windows.System.Profile.HardwareIdentification....
Volker's user avatar
  • 1,849
0 votes
0 answers
39 views

I recently updated my Visual Studio to the newest version (2026). Since I updated, my Android devices no longer appear in the list of devices. But even worse, since the update they don't appear in my ...
Kristof Van Moorter'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
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
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
-1 votes
0 answers
56 views

When I open a workspace in VS Code, I get this error message notification on the bottom right corner : Failed to run .NET runtime. You may be missing key Linux libraries. Install them now? Source: ....
Thomas's user avatar
  • 396
Best practices
0 votes
3 replies
65 views

I’m studying and implementing the Composite design pattern in C# for a university project. In most textbook examples (GoF, Refactoring.Guru, etc.) the class hierarchy looks like this: Component ├── ...
user31880897'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
1 vote
1 answer
45 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
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
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
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
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
Tooling
0 votes
0 replies
24 views

I am trying to send requests to an API that uses GraphQL for its data filtering. The problem I am having that I need to build each request manually through a string interpolation which is easier said ...
James Andrew Smith's user avatar
-2 votes
0 answers
58 views

I have several utilities written in C# for .NET 4.8. After upgrading from Windows 10 to 11, the utilities are running ~4 times slower. Has anyone encountered this? The utilities parse large files (~...
rotabor's user avatar
  • 5,611
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
0 votes
0 answers
45 views

I'm using docker image to deploy my asp.net application and i'm facing 2 issues. The first one: after some deployes the api list still the same although a made changes on it (it seems like image ...
Zohir Boshi's user avatar
0 votes
0 answers
39 views

I have a custom LoopPanel in WinUI, and I’m trying to implement inertia smooth scrolling and a snap-to-item feature. I implemented both features, but I’m seeing some weird behavior: the panel shakes ...
Katana's user avatar
  • 907
5 votes
1 answer
202 views

After upgrading from .NET 9 to .NET 10, a MongoDB query that used to work now throws a System.NotSupportedException during query execution. I'm looking for pointers whether this is a runtime change in ...
mrcode's user avatar
  • 567
Advice
0 votes
2 replies
41 views

I have this scenario: I have an ASP.NET API which is deployed on IIS under the default web site. I have added the API by right click on default web site -> add application. API is working fine and ...
Midlaj's user avatar
  • 23
Advice
0 votes
3 replies
44 views

Here's a basic example from the official .NET documentation for a many-to-many relationship using EF and .NET: public class Post { public int Id { get; set; } public List<Tag> Tags { get;...
Arnaud VDR's user avatar
0 votes
1 answer
36 views

While I was able to get my C# code running in the browser as WebAssembly, I get errors like this when trying to run any (vitest) unit tests that load the module that initializes .NET: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯...
Qwertie's user avatar
  • 17.4k
-2 votes
1 answer
105 views

I have the following docker-compose.yaml to roll my application. When I comment depends_on on newseo service, containers start with no issue and all healthchecks are passed. However, when I add ...
waifu_anton's user avatar
Best practices
0 votes
0 replies
40 views

We are building and deploying a few system using the AWS CDK Pipeline, mostly with dotnet Most cases we are building the deployed apps using dockerfile assets referenced in the CDK Should we run the ...
Erik Karlsson's user avatar