In the code snippet below. In the case of Thai Culture, the result should be -1, but it is 0. Is anyone aware of the reason for this? public void CountryCulture
In Visual Studio 2019, there is a new feature powered by ILSpy to view decompiled source definitions(C#). It's documented here. This is a great feature and when
I used Prism 8.1 and Unity in my WPF Project. I want to implement IDialogWindow but get exception error... Prism.Ioc.ContainerResolutionException: 'An unexpect
I have a windows form with a TabControl and a ListView. When I run the application, I want the Width of the TabControl to increase/decrease to show all the TabP
I have objects with many to many relationship. public class Executor { public long Id { get; set; } public string Name { get; set; } public List&l
I'm working on an ASP.NET Core application. Part of it is an image gallery which allows the user to upload images. On localhost this works as expected, but when
I want to retrieve the string value selected in a combo box and convert into an integer, however the SelectedItem method always returns the name of the object.
In my ASP.NET Core 3.1 project I am trying to read a configuration option from "appsettings.json" via dependency injection service container just as explained b
I am currently developing an API using asp.net core 2.1. When I use the ide visual studio 2019 in windows I don't have problems running the project, but now I
I have a modal Form with three Buttons, A B and C. In addition, I have two Buttons: OK and Cancel. The OK Button's DialogResult property is set to DialogResult.
I understand interface segregation and single responsibility principles guide against a class implementing methods or property it doesn't need
I'm very new to WPF .net 5.0 framework. Every time I navigate to a different page in a frame, it maintains the scroll position instead of going back to the top
I'm trying to deserialize some json that looks like this { "id":"2021", "descriptions_bg":[ "30231300", "30233160", "32420000", "3
I have a WPF app using a custom Maximize/Restore button. In Windows 11, mouse hover on maximize/restore button does not pop up snap layout feature like below:
I have the following piece of code. <Button.Style> <Style BasedOn="{StaticResource {x:Static ToolBar.ButtonStyleKe
Can anyone help me with the .net command for building and generating zip file. I am trying to run below command on mac machine. dotnet build ManageWebAppSourceC
I'm trying to validate image on website however can't access the url of the image. Most websites will have the image with a "src" tag however this website has t
We recently ran the csproj migration tool on our solution with 156 projects: dotnet tool install --global Project2015To2017.Migrate2019.Tool This worked very w
I try to enable lockout feature but I am not successed. Each time, I check database, AccessFailedCount is increase to 1 but after that again it turn to 0. What'
I have installed the Try-Convert tool, and when i go to the root of my project and execute the try-convert command - I get multiple installs of MSBuild detected