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.
Problems Connecting to Webservice Visual Studio 2026
Hello everyone and thanks for the help in advance. I am upgrading a project to VS 2026 that utilizes connected services but am running into problems. Here is the WSDL <?xml version="1.0" encoding="UTF-8"?> <definitions…
Developer technologies | C#
MSAL authentication_canceled exception in .NET MAUI even when using embedded webview
Hi, I am facing a recurring issue in a .NET MAUI Android application using MSAL 4.77.0 for Azure AD authentication. I am seeing frequent non-fatal exceptions in Crashlytics: Microsoft.Identity.Client.MsalClientException ErrorCode:…
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.
.NET SDK not installed
Screenshot 2026-02-11 220349.png I am developing an Avalonia application in VS Code and everything has worked just fine until last week, when I started getting this pop up. I have uninstalled, reinstalled, updated, repaired, and restarted numerous times…
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.
How can I prompt the browser to save a password
How can I prompt the browser to save a password in my ASP MVC NET 10 web app that uses Cookies Authentication? I'm using Chrome Version 145.0.7632.110 (Official Build) (64-bit)
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.
MSBuild: Routing IO from <Exec> to calling terminal
I have a basic PowerShell script which I want to run after publish to copy the output files along with a few config files from source into the right directories on my company's storage server, archive old versions, etc. I created a target in my .csproj…
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.
add-migration throws error File web.dll not found. The startup project is where DbContext is. Web is the asp.net core project
Greetings, Ladies and Guys! So finally I found a tutorial of Razor Pages C#, with jQuery AJAX. The solution has 3 projects: Web (asp.net core razor pages app, here goes the config, such as connection string and some services), Core (Model and…
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.
How to Enable/Disable Three- and four-finger touch gestures using C#?
Hi Everyone, Just want to ask if is there any C# code to enable/disable the Three- and four-finger touch gestures in Windows. Settings > Bluetooth & devices > Touch > Three- and four-finger touch gestures I have some options related to…
Windows for business | Windows Client for IT Pros | User experience | 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.
Maui Android web handler
I am trying to create a webview handler for android in order to test calling a local web server with a self signed cert. I have seen numerous examples of how to create a client for WebView to capture the OnReceivedSslError methods but it is never…
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.
WebView with remote url on windows not loading
I have a Maui WebView that is not loading on Windows when its dynamically loaded. If I create a webview with a url in source on the mainpage it works fine. But if I dynamically try to create a webview in c# deeper in the app, the url does not load and…
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 is the best practice to change the element of IEnuerable?
I have IEnumerable<XY> and how to change all the elements in it? class XY { public int X{get;set;} public int Y{get;set;} } what I want is to adding 1 of the X I have to change it to array ? var arr=xys.ToArray(); for(int…
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 for Linux?
Since Microsoft & .NET Team is pushing so hard in the cross-platform solutions, will the Linux community see Visual Studio run on Linux? Since it is a great IDE with amazing tools, some of us are wondering will we see it on our preferred OS? I'm in…
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
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# SerialPort.Open hangs up for a long time when the serial port is not in correct status
Hello, I have a WPF application on Win10 which will select and open a serial port. I already know the serial port is in a status which can be listed but can not communicate normally. I try to open it use SerialPort.Open(), but the thread will just hang…
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.
Firebase Release Monitoring Not Updating for Android in .NET MAUI (net9.0)
Hello, I am working on a .NET MAUI (net9.0) project. For Android, I am using the following NuGet packages: <ItemGroup Condition="'$(TargetFramework)' == 'net9.0-android'"> <PackageReference…
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 to scan the file
Hi, It is not scanning all of the lines of the file using the codes below on VS 2026. Anything wrong? try { string[] fileEntries = Directory.GetFiles(directoryPath); foreach (string fileName in fileEntries) …
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.
HttpRequest - POST request, response in C# with httprepl
Hello, I just want to send something and get the answer. What is not clear to me, I need to install Swagger? What do I want? I want to send something JSON object and return the response. Very much in a file. Response from server - JSON content…
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.
Executing Complex Stored Procedure with Entity Framework
Hello everyone and thanks for the help in advance. I want to execute a complex stored procedure using Entity Framework. The sproc accepts two parameters and returns either 0 or 1 depending on whether it was successful. I tried: var res =…
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.
Convert.FromBase64String decodes a non-multiple-of-4 Base64 string without throwing, and returns the same bytes as a canonical string (.NET Framework 4.5)
Environment: - .NET Framework 4.5 - C# Problem: According to Base64 rules, after removing whitespace the input length must be a multiple of 4. However, in .NET Framework 4.5, Convert.FromBase64String sometimes decodes a string whose length is NOT a…
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.
Azure DevOps REST API - Why does it take so long to retrieve parent/children work items?
This is specific to Azure DevOps REST API library, but there are no tags for it I am creating a core MVC application to retrieve all Features and child PBIs from an Area Path and Iteration path. I am using the Get Work Item and Get Workitems Batch REST…
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.
Developer technologies | ASP.NET Core | Other
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.
What is Best Practice for Passing a complex viewmodel from a View to the controller?
I have a view form with a complex VM, and it allows the end user to see dozens of data items in various text boxes (as many as 40). At some point, the user will want to update one or more of the textbox data points, so when the model is modified in the…
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 to Web API
Hi, How to deploy Web API on the server and ensure it is able to process any concrete request from the client app?
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.