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#
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.
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.
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.
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.
Excel Interop/DCOM to OpenXml/EPPlus
Hi, In our server side application, clients can upload .xlsm files (after they modified a macro). Then the server is using these .xslm as a model to create new file, add data in sheets and run the macro. (server is doing that as jobs at night because…
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 class variable stored in stack and object in the managed heap then where the class properties get stored in C# .NET?
If I create an Employee class and this class have 2 members EmployeeId and EmployeeName so where these properties and it's value get stored either in managed heap or stack or both in C# .NET?
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 5.0 setup failed. how can i fix it?
0x80070659 - This installation is forbidden by system policy. contact your system administrator but I am the administrator, this is my personal computer windows version - Windows 10 Home 21H1 19043.1110
Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
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.