Skip to main content
Filter by
Sorted by
Tagged with
Advice
1 vote
2 replies
48 views

I am a newbie in .NET - can someone tell me about dynamic forms? I have done master detail and simple crud - should I go for dynamic form r practice more in master details. I want to know about ...
Taimoor Ahmad 's user avatar
0 votes
2 answers
60 views

I know that in the early times of .NET Framework, you could build an assembly into EXE and then use that "EXE assembly" as a dependency of another .NET Framework assembly which, too, could ...
Pavel Foltyn'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
0 votes
0 answers
25 views

I have built a template project with a Template.json and this will generate the template fine ( no errors at all ) ive also managed to add some choices to the symbols that will add or hide code ...
Bithellio's user avatar
0 votes
1 answer
26 views

This is my ocelot configuration... { "Routes": [ { "UpstreamPathTemplate": "/api/test/{url}", "DownstreamPathTemplate": "/api/{url}",...
Nat Jacobs's user avatar
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
0 votes
3 replies
64 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
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
12 votes
4 answers
3k views

I’m trying to install the Entity Framework Core CLI tools globally using the .NET CLI command: dotnet tool install --global dotnet-ef However, the installation fails with the following error message: ...
tutte2k's user avatar
  • 301
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
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
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
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
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
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
-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
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
0 votes
1 answer
126 views

I have a couple of classes (simplified): internal class OrderItem { public string Name { get; set; } public Order Order { get; set; } } internal class Order { public IReadOnlyList<...
bairog's user avatar
  • 3,539
1 vote
1 answer
33 views

Working version: private static void SetLogging(WebApplicationBuilder builder) { Log.Logger = new LoggerConfiguration() .Enrich.FromLogContext() .MinimumLevel.Override("...
SydneyShoo's user avatar
2 votes
2 answers
84 views

I'm trying to override the default value of ToolTip.ShowOnDisabledProperty to be true for all controls. I've tried the following: static App() { ToolTip.ShowOnDisabledProperty.OverrideDefaultValue&...
zacoons's user avatar
  • 371
-4 votes
0 answers
52 views

I have couple of windows 11 widgets. Implemented with the sample provided by microsoft which isn't AOT compatible. I found this question / awnser which looks very useful How to rewrite the Windows App ...
Dave Smits's user avatar
  • 1,881
-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
1 vote
3 answers
109 views

I'd like to reload a Blazor page component without triggering a full browser reload. Using NavigationManager to reload works, but I'm looking for a softer approach: The page itself stays loaded, so ...
Luke Vo's user avatar
  • 21.6k
2 votes
1 answer
146 views

I am trying to use .NET reflection to emit a class and some interfaces which the class implements. However, I cannot seem to correctly implement the interfaces that are generic, as that results in ...
pmikkelsen's user avatar
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

1
2 3 4 5
6816