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.
WinForms DataGridView: Prevent Enter from moving to the next row and move focus to another column in the same row
I'm using a WinForms DataGridView for entering sales invoice items. Suppose my grid looks like this: RowQtyNet Rate15...------------------------15...26...3*(new empty row)*If I edit Row 2 and change the quantity from 6 to 12, then press Enter, the…
Developer technologies | C#
I would like to prevent the "Be careful! Your document may contain personal information that cannot be removed by the Document Inspector." dialog from being displayed when saving a document.
I am trying to create a program to remove property information from a Word document in order to ensure that no personal or client information is left behind. I am using C# code with Microsoft.Office.Interop.Word to initiate Word, and I execute…
Microsoft 365 and Office | Development | Other
Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
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.
Linq Query efficiency
Hello, Any ideas on how to make the below more efficient? It is taking too long. The lstAllCombs has 150,000 records. List<SpecLevel> lstRankRangeSumRankPartition = lstAllCombs .GroupBy(p => (p.RankRange0Count, p.RankRange1Count,…
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.
JSON file parsing
consider having different section in the JSON file , how to handle that problem { "connectionString":{ }, "SMTP":{ } }
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 read the HTTP Body in an IIS Managed Module without breaking an ASP.NET Core Azure Web App?
I am trying to intercept and read incoming HTTP traffic using a custom managed .NET module (IHttpModule) on a Windows-based Azure Web App. I am able to successfully fetch the context.Request and context.Response parameters, headers, and metadata.…
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 update version in apk maui application automatically?
Hi, i'm using .net maui 8 for Android , and i publish my application in a remote server and when i update my application automatically by comparing version in update.json file. I can't update version in my app. how to do that?
Developer technologies | .NET | .NET Multi-platform App UI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
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.
Comparing List<T>
Hello everyone and thanks for the help in advance. I have a WebApi application that accepts a List<tblResults> where the model for tblResults looks like: public class tblResults { public int Record_ID { get; set; } public int Description { get;…
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.
Best ASP.NET approach + modern hybrid mobile tech for content/tool sites like CitizenPass.ca?
I run a portfolio of Canadian-focused content and web tool sites (similar in concept to CitizenPass.ca and CitizenApp.ca — bilingual EN/FR informational platforms with quiz/practice-test style tools, content pages, and a companion mobile app). I'm…
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 do I read a text file in C# and convert its contents to Morse code?
I'm building a C# console application in Visual Studio. I want to read text from a .txt file and convert each character to Morse code. What's the best way to organize the character mapping? Should I use a Dictionary<char, string>? A sample…
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.
HttpWebRequest timeout not working
The following code: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(sRequest); // Create(sQuery); request.Credentials = CredentialCache.DefaultCredentials; request.Timeout = 10000; …
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
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.
how can i set the path for Dependencies in xxx.deps.json?
Hello, I have a number of DLLs (C# projects) that are loaded by a third-party EXE. Each of these DLLs has a .deps.json file listing its dependencies. The individual DLLs cannot be located in the same directory. If all the dependencies of a DLL are…
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 do you read an SMS and MMS message using .NET MAUI (on Android only)?
I'd like to read an SMS and/or MMS message on an Android device only, but from within my .NET MAUI app. Specifically, I want to save any received (MMS) picture that has been texted to me plus any associated (SMS) text. Is this possible with .NET MAUI…
Developer technologies | .NET | .NET Multi-platform App UI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
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.
Script not Working for large data in C#
The arrayGroup below will be containing almost 190,000 int arrays. so filtering them to retrieve groups of arrays in the array group that have two or more common digits is taking forever. I am using the linq expression below, any ideas to make this more…
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.
learning to code
how do i learn c# skills online using step by step instructions and what software will i need to install on my pc?
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.
Mongo DB - update server to a new version
Hi, 1.I'm using Maui app in version 9, in VS 2026 , last update. 2.I'm using Mongo: with this app as follow: Server: version 7.0.3. Client (compass): version 1.42.2 There is vulnerability in server version, please see , and use Google Translate to…
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.
upload file to one drive
How to upload file to one drive from dot net core 10 web 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.
Fabric Semantic Model - Add member to Role through API
Hi all, I am trying to develop a C# integration with Microsoft Fabric to generate semantic models programmatically (https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model). So far, I was able to create the semantic…
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.
Enhance the way of linear search
Hi, To C# linear search below any advice to apply the following way on the above?
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.
Question about JSON (De)Serialization using System.Text.Json.
This is a Q about JSON (De)Serialization using System.Text.Json. There are three classes involved, abbreviated here: internal class FolderState { /// <summary> /// Stack elemens /// </summary> /// …
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.
Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…
Developer technologies | .NET | Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
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.