11,694 questions with Developer technologies | C# tags

Sort by: Updated
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,694 questions
asked 2025-12-03T18:17:55.22+00:00
Donald Symmons 3,066 Reputation points
commented 2025-12-05T23:20:11.8933333+00:00
Donald Symmons 3,066 Reputation points
1 answer

Keep Tabs Setting Not Working in Visual Studio 2026

I recently upgraded to Visual Studio 2026. I have Adapting Formatting turned off. I have my Space/Tab setting to Keep Tabs for the all languages default and for all the individual languages that have this option. Despite this, Visual Studio keeps…

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,694 questions
asked 2025-12-05T16:52:18.0633333+00:00
Pierre Plourde 6 Reputation points
edited a comment 2025-12-05T20:36:37.0166667+00:00
Viorel 125.6K Reputation points
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,694 questions
asked 2025-12-04T21:24:59.9433333+00:00
Trevor Leon 25 Reputation points
edited the question 2025-12-05T14:59:46.37+00:00
Trevor Leon 25 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,694 questions
asked 2025-12-01T21:23:48.1766667+00:00
Chandan 5 Reputation points
answered 2025-12-05T12:40:07.09+00:00
Gade Harika (INFOSYS LIMITED) 1,945 Reputation points Microsoft External Staff
1 answer

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,694 questions
asked 2025-12-05T10:09:08.5866667+00:00
K C, Soniya 21 Reputation points
answered 2025-12-05T10:09:19.6333333+00:00
Q&A Assist
2 answers

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,694 questions
asked 2025-12-05T03:44:34.95+00:00
Peter_1985 2,826 Reputation points
edited an answer 2025-12-05T10:04:00.2+00:00
Susmitha T (INFOSYS LIMITED) 1,630 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,694 questions
asked 2025-11-07T05:46:07.9166667+00:00
DEREK CHUA 0 Reputation points
answered 2025-12-05T09:52:10+00:00
Adiba Khan 1,440 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,694 questions
asked 2025-12-02T20:59:38.6233333+00:00
Nagireddi, Vijaya (US - Texas) 0 Reputation points
commented 2025-12-05T06:20:43.3533333+00:00
Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 1,120 Reputation points Microsoft External Staff
1 answer

List all the possibilities of converting DWG (AutoCAD) to different formats

Hi, 1.Can you please list all the possibilities of converting DWG (AutoCAD) to different formats ? And what is the aim of each target format? Thanks in advance,

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,694 questions
asked 2025-12-05T05:29:18.7566667+00:00
Dani_S 4,771 Reputation points
commented 2025-12-05T05:41:55.17+00:00
Dani_S 4,771 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,694 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,945 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,694 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
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,694 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
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,694 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,945 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,694 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,694 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,694 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,694 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,694 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,694 questions
asked 2025-12-02T09:52:07.71+00:00
Chandan 5 Reputation points
answered 2025-12-02T10:12:05.11+00:00
Chandan 5 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,694 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