11,703 questions with Developer technologies | C# tags

Sort by: Updated
0 answers

GIS - TryCreateForInput

Hi, 1.I used GIS API . 2.There are 15 formats: EsriJson GeoJson GeoJsonSeq Kml/Kmz Shapefile OsmXml Gpx Gml FileGdb TopoJson MapInfoInterchange MapInfoTab Csv GeoPackage. 3.This is my main function: TryCreateForInput that gisInputFilePath-Path to a…

Developer technologies | 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.
11,703 questions
asked 2025-12-11T17:53:15.8566667+00:00
Dani_S 4,836 Reputation points
1 answer

Run MAUI app

Hi, After having well built one MAUI app, how to run/test it?

Developer technologies | 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.
11,703 questions
asked 2025-12-09T05:06:29.3266667+00:00
Peter_1985 2,846 Reputation points
commented 2025-12-11T17:14:09.32+00:00
Bruce (SqlWork.com) 81,981 Reputation points Volunteer Moderator
1 answer

Cannot click into or scroll word document after opening .... Until I hit Ctrl+Home or interact with some options in the Ribbon Bar

Some of our clients have started reporting a strange issue in Microsoft Word after we open documents using Microsoft.Office.Interop.Word automation When they open a Word document they think that MS Word is hanging. The first indicator that it's not…

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Developer technologies | 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.
11,703 questions
asked 2024-11-01T08:38:27.7966667+00:00
Giuseppe Carafa 96 Reputation points
commented 2025-12-11T16:08:16.7466667+00:00
Giuseppe Carafa 96 Reputation points
2 answers

How do I configure Yarp to allow querying string parameters in the request URL .Net Aspire?

I have the following original request URL: http://localhost:5002/UploadedFiles/387324e2-e0b4-43e8-b53f-d48e70fb42f2.jpg When using the NextJs Image component, it automatically adds the following query strings:…

Developer technologies | 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.
11,703 questions
asked 2025-12-10T11:30:24.8066667+00:00
Hoài Nam Nguyễn 41 Reputation points
edited an answer 2025-12-11T10:22:52.5+00:00
Varsha Dundigalla(INFOSYS LIMITED) 3,810 Reputation points Microsoft External Staff
2 answers

False positive in CA2000

CA2000 (“Dispose objects before leaving scope”) is warning because the ContainerControlledLifetimeManager(2nd line) you construct is not disposed in the method’s scope. In Unity, the container owns lifetime managers and will dispose them when the…

Developer technologies | 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.
11,703 questions
asked 2025-12-05T10:09:08.5866667+00:00
K C, Soniya 21 Reputation points
commented 2025-12-11T08:37:11.7733333+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
2 answers

IOS MAUI .net "9.0" System.Data.Sqlite does not work and give Exception = e_Sqlite3

SQLite in MAUI App not working on iOS. I need to use System.Data.Sqlite for low level db operations. But I was unable to Open connection on IOS simulator. I tried every combination of SqlitePCLRaw libraries and below is my current packages…

Developer technologies | 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.
11,703 questions
asked 2025-12-10T06:45:48.9866667+00:00
waqas ahmed 0 Reputation points
edited an answer 2025-12-11T08:33:00.37+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
3 answers One of the answers was accepted by the question author.

How to use multiple DLLs with the same name

Years ago I built web apps on my local box, and copied the ASP.NET files over to our web server. This included creating a bin directory, and placing the needed DLLs there. Everything runs great. Now, years later, I'd like to add a new app, and use much…

Developer technologies | 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.
11,703 questions
asked 2025-12-09T01:14:42.65+00:00
Corey Fleig 185 Reputation points
commented 2025-12-11T05:34:29.2566667+00:00
Susmitha T (INFOSYS LIMITED) 1,790 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Issue to the line

Hi, I got the exception like Exception/StackTrace - Index and length must refer to a location within the string. how to locate to the place causing the issue.

Developer technologies | 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.
11,703 questions
asked 2025-12-05T03:44:34.95+00:00
Peter_1985 2,846 Reputation points
accepted 2025-12-11T05:23:51.3533333+00:00
Peter_1985 2,846 Reputation points
2 answers

How do I track my students' progress in C# modules?

I would like to track student progress in C# modules for a High School Game Development course that I teach. Is that possible and if so, what are the steps that I need to take? TIA

Developer technologies | 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.
11,703 questions
asked 2025-12-10T13:32:27.68+00:00
Murphy, Suzette S 1 0 Reputation points
commented 2025-12-10T13:39:59.4033333+00:00
Murphy, Suzette S 1 0 Reputation points
3 answers One of the answers was accepted by the question author.

How to Use 32-bit COM DLL in a 64-bit WPF .NET Core 6 Application?

I have a Class Library project in .NET Core named "LIBTOOBA" with the following setup: Project File (LIBTOOBA.csproj): <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> …

Developer technologies | Visual Studio | Debugging
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | .NET | Other
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
4,149 questions
Developer technologies | Visual Studio | Other
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.
5,586 questions
Developer technologies | 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.
11,703 questions
asked 2024-08-06T02:08:01.25+00:00
Mojtaba_Hakim 326 Reputation points
edited a comment 2025-12-10T13:35:33.41+00:00
RLWA32 51,366 Reputation points
2 answers

Assigning C# modues to students

I am a high school game dev teacher. I would like to assign C# modules as homework. Is there a teacher version or an online classroom through Microsoft for the C# learning program? Thank you! Ms. M

Developer technologies | 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.
11,703 questions
asked 2025-12-07T18:00:37.0933333+00:00
Murphy, Suzette S 1 0 Reputation points
accepted 2025-12-10T13:26:43.6966667+00:00
Murphy, Suzette S 1 0 Reputation points
4 answers

Issue with Teams Bot: Incoming Call Event Not Reaching Bot (App-Hosted Media Sample)

I am developing a Microsoft Teams bot that should be able to join a call initiated from a Teams user. The goal is that when a user places a call to the bot inside Teams, the bot should join the call and handle the audio stream as described in Microsoft’s…

Developer technologies | 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.
11,703 questions
asked 2025-12-01T21:23:48.1766667+00:00
Chandan 5 Reputation points
commented 2025-12-10T11:49:54.29+00:00
Varsha Dundigalla(INFOSYS LIMITED) 3,810 Reputation points Microsoft External Staff
2 answers

Connect .Net (4.6.2) to Dataverse using the Dataverse plugin

Hi Microsoft Tech Community, We have a Dataverse environment in our tenant, and I have its URL. I'm building a .NET application and need to connect it to Dataverse for data access. From the Learn docs, ChatGPT, and Copilot, it seems I need to use an App…

Developer technologies | 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.
11,703 questions
asked 2025-12-09T07:21:59.17+00:00
Ajay Mahajan 0 Reputation points
edited an answer 2025-12-10T11:21:42.3466667+00:00
Varsha Dundigalla(INFOSYS LIMITED) 3,810 Reputation points Microsoft External Staff
2 answers

How can i improve this script to make it better?

Add-Type -AssemblyName System.Windows.Forms $dictDialog = New-Object System.Windows.Forms.OpenFileDialog $dictDialog.Title = "Select dictionary.txt" $dictDialog.Filter = "All files (.)|." $null =…

Developer technologies | 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.
11,703 questions
asked 2025-11-07T05:46:07.9166667+00:00
DEREK CHUA 0 Reputation points
commented 2025-12-10T10:16:04.6166667+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
2 answers

App Pool memory issue

Our web API's app pool is consuming an excessive amount of memory, and while we've attempted to debug the memory dump using Visual Studio, we aren't receiving the assistance we need. We are seeking additional support to resolve this issue.

Developer technologies | 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.
11,703 questions
asked 2025-11-05T17:18:32.51+00:00
Arya, Lalit (Omaha) 0 Reputation points
edited a comment 2025-12-10T07:24:10.02+00:00
Varsha Dundigalla(INFOSYS LIMITED) 3,810 Reputation points Microsoft External Staff
1 answer

MongoDB.Driver.MongoIncompatibleDriverException:

MongoDB.Driver.MongoIncompatibleDriverException using C# mongodb driver

Developer technologies | 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.
11,703 questions
asked 2025-12-02T20:59:38.6233333+00:00
Nagireddi, Vijaya (US - Texas) 0 Reputation points
commented 2025-12-10T07:05:37.46+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,205 Reputation points Microsoft External Staff
1 answer

Retry required for GetGattServicesAsync() when connecting to BLE peripheral using LE privacy.

When getting GATT services from a paired peripheral using LE privacy, the first call to GetGattServicesAsync() always times out after 7 seconds with a status of 'Unreachable'. Our current workarounds we've identified are to (1) scan for a device…

Developer technologies | 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.
11,703 questions
asked 2025-06-02T18:40:24.9566667+00:00
Garin Marlow 0 Reputation points
commented 2025-12-10T06:08:39.95+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,205 Reputation points Microsoft External Staff
1 answer

How to get SelectedText from other applications?

I'm looking for a way to get SelectedText from ForegroundWindow on WPF .NET. What I want to get is the selected text within another application. I'm trying to search, but I can't find the technique I'm looking for, only how to get SelectedText in…

Developer technologies | Windows Presentation Foundation
Developer technologies | 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.
11,703 questions
asked 2022-05-08T15:39:28.373+00:00
優貴 森 6 Reputation points
commented 2025-12-10T00:57:52.1733333+00:00
段炼 0 Reputation points
0 answers

How to access a 32-bit COM dll from a 64-bit C# application?

I'm updating a WPF application that's written in C#. My development environment is Visual Studio 2023. The application currently uses .NET Framework 4.6.1, but I'm hoping to upgrade to a more modern version of .NET as part of the update. The…

Developer technologies | 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.
11,703 questions
asked 2025-12-09T17:52:10.66+00:00
James Allen 20 Reputation points
0 answers

How can I run a 32-bit COM DLL from a 64-bit application?

I'm updating a WPF application that's written in C# and currently uses .NET Framework 4.6.1, although I hope to upgrade to a more modern version of .NET as part of the update. My development environment is Visual Studio 2023. The application uses a…

Developer technologies | 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.
11,703 questions
asked 2025-12-09T17:09:23.65+00:00
James Allen 20 Reputation points