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#
Run MAUI app
Hi, After having well built one MAUI app, how to run/test it?
Developer technologies | C#
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#
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#
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#
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#
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#
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#
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#
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 | Visual Studio | Other
Developer technologies | C#
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#
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#
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#
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#
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#
MongoDB.Driver.MongoIncompatibleDriverException:
MongoDB.Driver.MongoIncompatibleDriverException using C# mongodb driver
Developer technologies | C#
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#
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#
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#
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…