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 dynamically assign property names for XmlOnlyMediaFormatter
I have been given an ASP.NET project to handle. It has been released and has worked fine. I am not an ASP.NET developer but doing what I can. The issue: The project is a webservice among other things. The solution (VS 2019) has 6 projects. One is the…
Developer technologies | C#
Can I create my own Fonts?
Is there a font that simulates LED Segments, or is it possible for me to create the Fonts and use them with C#?
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.
Security issues if I use a encrypted value as a Query string that I send to users and then decrypt the value and validate on link click?
I'm working on a project where we will need to send out links to a large number users and each is assigned a unique combination of numbers and letters to identify them in our system. My task it to come up with a way we can use just the link we send 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.
Creating a new List<int>() throws a NullReferenceException.
The following code throw a NullReferenceException on the hightlighted line: using IS0AUTTSTContext db = GetDbContext(); List<TestRun> list = db.TestRuns.Where(t => t.ID > 0 && t.Definition!.Application!.Deleted == false).ToList(); …
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# to C++/MFC duplex mode - Concept
Hello, I have a static MFC C++ application, I cannot change it. (CLI is not possible) I now need to pass data from a C# DLL in the C++ application and transfer it from the C++ to the C# DLL. What possibilities do I have to implement this…
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Developer technologies | .NET | .NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
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.
Abort is not supported on this platform. Need guidence. How to solve this issue? i am working on splash screen.
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.
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: Row Qty Net Rate 1 5 ... -------- -------- -------- 1 5 ... 2 6 ... 3 (new empty row) If I edit Row 2 and change the quantity from 6…
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.
where to start if I want to learn C#
where should I start if I want to learn C#, I have no previous C# knowledge, but have a lot of experience in C++
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.
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 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 | 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.
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 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.