Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
null values in JSON values
When return type in Controller is JObject the values in the json object are displayed null. But If I am trying to print on Console the out put is Ok. How to deal with this?
Developer technologies | .NET | Other
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Commit All button in Git Changes Panel is greyed out and will not Commit Changes
After making changes to the C# project source code, the Commit All button on the Git Changes panel is greyed out and does not function, even after comments have been entered for the changes. The 'Commit All' button does not work, even after more changes…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
C# Library to write CSV / Spreadsheet / Excel files
I have a requirement to buffer / hold intermediate data in a spreadsheet style file. This will serve to as a readable autosave system in event of power failure or glitch. The file could be a CSV or brand specific file such as open office or excel.…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Help With Visual Studio 2019
I am not a Widows programmer or a user of VS and I'm looking for some help. I am looking for someone that is willing to see if they can help me to use/setup VS 2019 to produce an exe or msi The project is a multi screen GUI (Desktop application) I do…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Web socket connection issue with SignalR
**My Hosting architacture: ** Hosted an API locally with IIS Angular API is also hosted with IIS locally Problem: First try: i am hosted .net api directly to iis wihtout reverse proxy or anything else i seen that angular is downgraded…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
C# Win Form Project, webView2 control, reading current URL
Hi, I have windows form project in c#, I added webView2 element into a new form. I successfully navigated to a certain URL, and it loaded well. Is there a way to get or read current URL of a webView2 page, since once the user completes my initial link on…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Issue with PUT API Call Returning Null Body Status
A developer is working with VS 2022 and C#.NET 9 to implement an API. When making a PUT request from Scalar, the breakpoint is hit and the update is processed, but an error message is received stating: "failed to construct 'response' response with…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Problem with Hosted Blazor app not getting json result from api calls
Hi there I wrote an app about 2 years ago that has been running fine, but this month the published version of the app no longer functions. Each call to an api, although I get a 200, returns html as the response. All calls to the api's return html. I ran…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
What would be the proper use of DsMapSchemaGuidsA in C#.NET 8 for retrieving Active Directory GUIDs to DisplayName
I may be digging in the crates here. But quick use case, I am trying to retrieve the DisplayName of Directory Service Access (Event ID: 4662) of the properties. However, they only appear as GUIDs, which I guess would be Microsoft's way of hiding them,…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Coding C# Indexing a List of abstract type via string member in the abstract type
Trying to index a list of type abstract class via a member of the class. I'm sure there's examples of this out there but I cannot find them searching the web. How could I say index the list via the abstract class member string ID? Thanks! public class…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Sharepoint Basic auth authentication effect SharePointOnlineCredentials?
I'm wondering if the announcement of Basic auth deprecation for SP online mentioned here https://learn.microsoft.com/en-us/sharepoint/technical-reference/basic-auth-is-being-deprecated affects the use of the SharePointOnlineCredentials method of logging…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
WUApiLib not returning correct MsrcSeverity and IsMandatory for updates
I'm using the WUApiLib in C# to fetch available updates on a Windows system. However, the MsrcSeverity field is always null, and IsMandatory is always false, even for critical security updates like KB5058411, which is marked as "Security…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Explain to me how it is possible to release an update after which everything breaks and it is impossible to work?
After the update, it is impossible to work with Xamarin. Making changes in code and complite does not give an effect until you delete the application from Android and restart the Visual Studio. This is a nightmare! If you delete the application from…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
if exist Office
my code: static bool IsOfficeInstalled() { const string officeRegistryKey = @"SOFTWARE\Microsoft\Office\"; using (RegistryKey key = Registry.LocalMachine.OpenSubKey(officeRegistryKey)) { return key != null ? true : false; } } turn null
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
visual studio's folder publish is not compatible for SFTP webhotel
hello. i have published my C# asp.net webforms project by folder in visual studio 22. it have four different masterpages. i have uploaded all files in file manager's webhotel, through FileZilla. but when i press a button in my page, it appears codes of…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
FPGAs are being used successfully in datacenters(Project Catapult)
FPGA design can be much easier, but there is no activity in development tools. The analogy of C# conditional assignments to FPGA operation is very strong. All current approaches use an embedded computer/controller to execute the compiled code FPGA This…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
ai chat web app template unauthorized bad credentials
I have used the AI Chat Web App Template to just create a simple app from the template. I have tried connecting to GitHub Models, OpenAI and Azure OpenAI and every time this code tries to run I get the error: 'unauthorized bad credentials': …
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Help with setting the background color when the MenuStrip dropdown menu is opened.
hello. I have organized my menu using MenuStrip. I have overridden the MenuStrip background and color with ToolStripProfessionalRenderer. I am using the MenuStrip with white text on a transparent background. When the dropdown menu is opened, the text of…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
RE: visual studio's folder publish is not compatible for SFTP webhotel
dear mr taylor, thanks for your respond. i am not sure on hat you mean with: "Your app would require that the host you're running on have the ASP.NET v4 runtime installed." is the webhotel provider should have ASP.NET v4 installed? my website…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
error after visual studio update
error The designer could not be shown for this file because none of the classes within it can be designed when update visual studio to Version 17.14.0
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.