11,692 questions with Developer technologies | C# tags

Sort by: Updated
1 answer

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,692 questions
asked 2025-12-05T03:44:34.95+00:00
Peter_1985 2,826 Reputation points
answered 2025-12-05T03:44:44.6166667+00:00
Q&A Assist
1 answer

How to automatically redirect to next page after progress bar finish loading

How can I create a progress bar that will be loading, and after it finishes loading, it will automatically redirect to next page after 10 seconds? Here is what I tried, although what I've been able to get is a button such that when the button is clicked,…

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,692 questions
asked 2025-12-03T18:17:55.22+00:00
Donald Symmons 3,066 Reputation points
commented 2025-12-04T23:13:15.2866667+00:00
Bruce (SqlWork.com) 81,971 Reputation points Volunteer Moderator
2 answers

How do I get the bins from a purchase order line item from the Business Central APIs?

I have a C# app that calls Business Central APIs. I can use https://api.businesscentral.dynamics.com/v2.0/{{tenantId}}/Sandbox/api/v2.0/companies({{company_id}})/purchaseOrders({{PO}})/purchaseOrderLines?$expand=location to get more data about 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,692 questions
asked 2025-12-04T21:24:59.9433333+00:00
Trevor Leon 25 Reputation points
answered 2025-12-04T21:45:17.2166667+00:00
Q&A Assist
3 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,692 questions
asked 2025-12-01T21:23:48.1766667+00:00
Chandan 0 Reputation points
answered 2025-12-04T18:29:33.2633333+00:00
Chandan 0 Reputation points
5 answers

ConversionService - convert from GIS file to other format include itself using Aspose.com API

Hi Bruce, 1.I used this conversion orchestrator to convert from one GIS format to another format include itself. 2.I have two cases with gisInputFilePath: an archive or single file. public static ConversionResult Run(string gisInputFilePath, string…

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,692 questions
asked 2025-11-21T06:39:29.8466667+00:00
Dani_S 4,771 Reputation points
commented 2025-12-04T11:03:27.5866667+00:00
Gade Harika (INFOSYS LIMITED) 1,870 Reputation points Microsoft External Staff
1 answer

Conditional Access Not Triggering in Azure AD B2C

Hi , I’ve successfully implemented all my main Azure AD B2C flows for user migration— including custom password reset, MFA with authenticator app (via TOTP), user migration with just-in-time logic, and sign-in / sign-up orchestration. Most core flows are…

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,692 questions
asked 2025-06-06T02:20:23.8666667+00:00
Ray Garg 10 Reputation points
commented 2025-12-04T06:00:16.4833333+00:00
Adiba Khan 1,440 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

how to compile to stm32 or other ?

how to compile to stm32? can I compile the code and then download to stm32 ?

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,692 questions
asked 2025-12-02T07:08:15.8+00:00
mc 6,396 Reputation points
commented 2025-12-04T04:13:31.9133333+00:00
Gade Harika (INFOSYS LIMITED) 1,870 Reputation points Microsoft External Staff
5 answers

Error accessing certificate private key after 2025-10 cumulative update

Hi. We have a Windows application developed on C# .NET Framework 4.5.2. Since the last cumulative update it's throwing an error every time we try to access the PrivateKey property of a X509Certificate2. X509Store store = new X509Store(StoreName.My,…

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,692 questions
asked 2025-10-17T10:14:17.9+00:00
Miguel Ángel Martínez Durán 10 Reputation points
commented 2025-12-03T18:44:11.8433333+00:00
Arner, Tom 0 Reputation points
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,692 questions
asked 2025-12-02T20:59:38.6233333+00:00
Nagireddi, Vijaya (US - Texas) 0 Reputation points
commented 2025-12-03T16:35:08.37+00:00
JuliaMarvin 17,190 Reputation points Volunteer Moderator
3 answers

TextBox overlay placed over Excel cell doesn't receive TextChanged events — Excel captures keystrokes (VSTO)

hi I created a VSTO add-in that displays a WPF TextBox overlay positioned exactly over the currently selected Excel cell so users can edit inline. The overlay is visible and aligned correctly, but when I type, Excel captures all keystrokes and 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,692 questions
asked 2025-11-23T09:34:58.2666667+00:00
Mansour_Dalir 2,036 Reputation points
commented 2025-12-03T11:24:58.97+00:00
Gade Harika (INFOSYS LIMITED) 1,870 Reputation points Microsoft External Staff
1 answer

Protect Against Rough Agents (AI Foundry)

Hi, My developers are building agents, and using Foundry AI as their LLM. The agent is calling tools afterwards and I'm afraid it will do stuff it shouldn't (also I want an inventory). There is way to sit between the model and to the Foundry AI? Or I…

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,692 questions
asked 2025-12-03T10:57:10.02+00:00
Matan Yemini 1 Reputation point
answered 2025-12-03T10:57:21.0266667+00:00
Q&A Assist
3 answers One of the answers was accepted by the question author.

I need to understand community version

If we have 50 .net developers in a company but my in mostly every project we work only 4 .net developers for 9 out of 6 projects. That means we are working only 4 .net deeopers for each project.shall we use community version of visual studio for those 6…

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,692 questions
asked 2025-11-21T08:55:13.42+00:00
umar farooq mohammad 20 Reputation points
accepted 2025-12-03T07:42:23.5833333+00:00
umar farooq mohammad 20 Reputation points
1 answer

Visual Studio is not opening report definition

Visual Studio 2022 Report designer is not showing reports created with Visual Studio 2019

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,692 questions
asked 2025-10-13T15:43:48.4233333+00:00
Jose Esquivel 0 Reputation points
answered 2025-12-03T03:42:51.17+00:00
ava lynn 80 Reputation points
1 answer

In C# how to get the VMSS instance private IP

In C# how can i get the Private IP address from the network interface of VMSS instance? Resource ID:…

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,692 questions
asked 2025-12-02T07:05:59.1266667+00:00
pipi 25 Reputation points
commented 2025-12-03T03:01:12.0166667+00:00
pipi 25 Reputation points
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,692 questions
asked 2025-06-02T18:40:24.9566667+00:00
Garin Marlow 0 Reputation points
edited a comment 2025-12-02T19:40:36.15+00:00
Garin Marlow 0 Reputation points
2 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,692 questions
asked 2025-12-02T09:52:07.71+00:00
Chandan 0 Reputation points
answered 2025-12-02T10:12:05.11+00:00
Chandan 0 Reputation points
5 answers One of the answers was accepted by the question author.

join a PDF to multiple PDFs with c#

How about guys I need your help to program an application in c #. I have a folder that is constantly fed with documents and we must always add them manually, something that is complicated by the large number of files so I wanted to program something that…

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,692 questions
asked 2021-12-10T21:33:50.687+00:00
Omar Veloz 41 Reputation points
answered 2025-12-02T07:13:32.8733333+00:00
Tomas Rutkauskas 0 Reputation points
3 answers

Windows Form App C# 10.0 I want to use Stopwatch to record Process calls Elapsed times in a Rich Text Box "event log"

I have a application that I am updating for work, and I have two processes, one is a csv writer and another a rest API call I want to record the time it takes for the processes to run then display each individual elapsed time in a rich text box I am…

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,692 questions
asked 2025-11-26T00:09:35.56+00:00
Steven Brewer 0 Reputation points
commented 2025-12-02T05:49:14.74+00:00
Susmitha T (INFOSYS LIMITED) 1,630 Reputation points Microsoft External Staff
0 answers

Reply to a comment posted for the question Corrections and lack of API for tron ​​and now deleted

**Reply to a comment posted for the question Corrections and lack of API for tron ​​and now deleted **I couldn't post this explanation as a comment on the question because the question was deleted. …

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,692 questions
asked 2025-12-01T17:12:28.98+00:00
Mohamad Hasan Salmaaniyaan 0 Reputation points
edited the question 2025-12-02T04:38:22.27+00:00
Mohamad Hasan Salmaaniyaan 0 Reputation points
3 answers

403 error when updating user fields using https://graph.microsoft.com/v1.0/me endpoint

Configuration is an Entra External ID tenant using a Blazor application - trying to edit the user's own profile information when logged in as their self. Getting a 403 error when updating user fields using the https://graph.microsoft.com/v1.0/me…

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,692 questions
asked 2025-11-18T06:12:59.75+00:00
DE 0 Reputation points
answered 2025-12-01T21:34:38.9+00:00
can kucukgultekin 255 Reputation points