11,173 questions with C#-related tags

Sort by: Updated
0 answers

Cannot Connect Locally to when using Microsoft.CognitiveServices.Speech

Hello Everyone, I am trying to build a method that detects the language of the audio I provide it. My application translates audio but since we batch transcribe and also use a custom model, I cannot use languageIdentification. Therefore, I am trying to…

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,846 questions
C#
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,173 questions
asked 2025-01-03T20:09:00.52+00:00
Michael Lanctot 0 Reputation points
edited a comment 2025-01-08T14:11:11.16+00:00
Michael Lanctot 0 Reputation points
0 answers

Issues with Rotating ProgressBar for Vertical Orientation In WinUI App

Hi, I am working on a custom StepBar control, and the Horizontal orientation is functioning as expected. However, I am encountering issues when implementing the Vertical orientation. Since the ProgressBar control does not have an Orientation property,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
807 questions
C#
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,173 questions
asked 2025-01-08T14:04:24.5533333+00:00
Mahdi Hosseini 155 Reputation points
edited the question 2025-01-08T14:04:58.5633333+00:00
Mahdi Hosseini 155 Reputation points
2 answers One of the answers was accepted by the question author.

How to load dropdown values inside gridview or Listview using DataTable

i'm using dropdown values inside modal popup. whenever i am selecting some values in dropdown, i want to assign those values in datatable. Finally, i want to assign datatable values into either gridview or Listview. Is it possible to load values in…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,559 questions
C#
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,173 questions
asked 2025-01-06T16:45:20.6533333+00:00
BeUnique 2,232 Reputation points
accepted 2025-01-08T12:33:42.86+00:00
BeUnique 2,232 Reputation points
0 answers

Blazor hangs when debugging with authentication

Am I the only one who experience that 9 of 10 times Blazor hangs with this message when I use authentication, and after I have logged in?   Any hints on how to get past this issue?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,644 questions
C#
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,173 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
1,014 questions
asked 2024-04-07T11:22:21.7633333+00:00
Finn Arildsen 76 Reputation points
commented 2025-01-08T12:03:43.6866667+00:00
Zoltán Zörgő 0 Reputation points
4 answers One of the answers was accepted by the question author.

VS 2022 Not showing red squiggles under errors when i debug projects saved on network disk

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
C#
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,173 questions
asked 2024-06-21T05:42:45.41+00:00
Willis1962 25 Reputation points
answered 2025-01-08T11:14:28.0566667+00:00
edward 0 Reputation points
3 answers

General Exception Using List Item Patch API Endpoint

The endpoint : PATCH https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/{item-id}/fields Is not working today, we get a 'General exception while processing'. Statuscode 500 Stacktrace: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,720 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,027 questions
C#
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,173 questions
asked 2025-01-06T11:19:30.77+00:00
Acket, Kim (Antwerp) 0 Reputation points
commented 2025-01-08T10:03:41.9533333+00:00
Yakun Huang-MSFT 8,665 Reputation points Microsoft Vendor
0 answers

c# binding datagrid wpf

Ciao A tutti, ho creato questo codice namespace WpfApplication6 { /// <summary> /// Logica di interazione per MainWindow.xaml /// </summary> public partial class MainWindow : Window { …

C#
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,173 questions
asked 2025-01-08T09:39:38.3533333+00:00
Marco Boscolo 0 Reputation points
1 answer

Facing issues for the mismatch definitions of some methods from SQLEditors.dll used in SSMS 21

I am trying to consume the SQLEditors.dll from SSMS 21 and SSMS20 in my C# code however getting the compilation issue due to incorrect format of library as error : D:\BuildAgentB\work\fb305f1670873990\VersionSpecific.CommonFiles\NewQueryWriter.cs(83,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,256 questions
C#
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,173 questions
asked 2025-01-06T06:11:18.7833333+00:00
Vaibhav Pol 10 Reputation points
answered 2025-01-08T09:34:44.9833333+00:00
Hongrui Yu-MSFT 3,725 Reputation points Microsoft Vendor
0 answers

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?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,794 questions
C#
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,173 questions
asked 2025-01-07T15:42:13.4966667+00:00
Graja Kaouthar 0 Reputation points
edited a comment 2025-01-08T09:31:21.02+00:00
Graja Kaouthar 0 Reputation points
1 answer One of the answers was accepted by the question author.

Graph API - Unable to restore messages in non-draft state during backup/restore implementation

We are implementing a backup/restore solution for Microsoft 365 messages using Graph API. During the restore process, we are experiencing a critical limitation where all restored messages are marked as drafts, regardless of their original state. …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,720 questions
C#
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,173 questions
asked 2024-12-23T09:41:17.77+00:00
Shyamjith Cherukara 20 Reputation points
accepted 2025-01-08T08:28:59.59+00:00
Shyamjith Cherukara 20 Reputation points
2 answers

How to fix code throwing exception : Microsoft.Data.SqlClient.SqlException: 'Login failed for user '<token-identified principal>'. The server is not currently configured to accept this token.'

Hi All, I'm encountering an issue while trying to connect to an Azure SQL Database using Microsoft Entra Authentication (formerly Azure AD). I am using DefaultAzureCredential in my .NET application to authenticate and retrieve the access token, but…

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,256 questions
C#
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,173 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,132 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,755 questions
asked 2025-01-03T00:29:43.2+00:00
Krishna Basavaraj K S 0 Reputation points
answered 2025-01-08T08:12:36.13+00:00
krishna basavaraj savasuddi 20 Reputation points
1 answer

set date to start windows service for filesystemwacther

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using…

C#
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,173 questions
asked 2025-01-07T11:55:44.73+00:00
suhaimi yassin 0 Reputation points
edited an answer 2025-01-07T14:36:47.2266667+00:00
Jiachen Li-MSFT 32,961 Reputation points Microsoft Vendor
1 answer

Getting error message "Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) in WinForms application

I am using Visual Studios 2022 to make a Windows Forms application with C# .NET core 6.0 The program seems to function without any errors, but whenever I attempt to publish the build to a local folder, I get this error message. I was getting this…

C#
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,173 questions
asked 2022-11-02T22:01:23.367+00:00
WowGeeWhiz 6 Reputation points
commented 2025-01-07T10:43:18.2733333+00:00
Jitu Str 0 Reputation points
0 answers

ContentPresenter Content does not shown Correctly in a ItemsRepeater

Hi, i am creating a StepBar Control, in Vertical Orientation, and Left or Right DisplayMode (for Header Text), but ContentPresenter Content does not shown correctly. as you can see BasicInfo shown as BasicInf and UploadFile shown as UploadF. and this a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
807 questions
C#
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,173 questions
asked 2025-01-06T21:20:40.16+00:00
Mahdi Hosseini 155 Reputation points
commented 2025-01-07T09:21:28.2+00:00
Mahdi Hosseini 155 Reputation points
1 answer

Using jscript.dll for COM Script Execution in C#

What are the steps to utilize "C:\Windows\System32\jscript.dll" for executing scripts with COM? I am looking for a sample code that demonstrates how to load the JScript DLL dynamically or by reflection, and how to utilize the methods or run…

C#
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,173 questions
asked 2025-01-07T07:47:11.1233333+00:00
Deepak Rane (drane) 60 Reputation points
answered 2025-01-07T09:01:32.06+00:00
Jiale Xue - MSFT 48,521 Reputation points Microsoft Vendor
0 answers

How to get the assistant to use the vector store using Azure OpenAI: OpenAI Assistants client library for .NET

Hi, Seeking help getting the assistant to use the vector store using the library below: Azure OpenAI: OpenAI Assistants client library for .NET - version 1.0.0-beta.4 For some context: I've created a Vector store as well as an Assistant within Azure AI…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
C#
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,173 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,490 questions
asked 2025-01-07T05:21:51.9366667+00:00
Khimananda Acharya 0 Reputation points
1 answer One of the answers was accepted by the question author.

VisualState Only Changes Once in Custom Control WinUI/WASDK App

I am working with a custom control in a WinUI/WASDK App and trying to modify the Foreground or BorderBrush of some elements using the VisualStateManager. However, I am encountering an issue where the VisualState only changes once, and after that, I am…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
807 questions
C#
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,173 questions
asked 2025-01-05T13:07:12.5666667+00:00
Mahdi Hosseini 155 Reputation points
accepted 2025-01-06T17:23:11.7+00:00
Mahdi Hosseini 155 Reputation points
1 answer

Unable to publish with fulltrustprocess and Multiple instances of UWP app

UWP experts , There are three components here. Main UWP app with multiple instances supported through package manifest - C# UWP FullTrustprocess that acts as the appserviceconnection server - C# .NET 8 WAPP Package that bundles UWP app and…

Universal Windows Platform (UWP)
C#
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,173 questions
asked 2024-12-03T06:00:38.49+00:00
DotNET Fan 271 Reputation points
commented 2025-01-06T15:54:55.78+00:00
DotNET Fan 271 Reputation points
2 answers

My program is working on Windows 10 but not on Windows 11

I have a wpf application that is working on Windows 10 but when i try executing or debbugging it on Windows 11 it crashes, its driving me Crazy... The error code I find is this: Excepción no controlada en 0x00007FFE232D3B3F (combase.dll) en…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,942 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,332 questions
C#
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,173 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,366 questions
asked 2024-12-20T09:33:10.5333333+00:00
Victor Rodríguez Noguera 0 Reputation points
edited the question 2025-01-06T15:28:39.7066667+00:00
Victor Rodríguez Noguera 0 Reputation points
1 answer

Dependency Properties in User Controls

I have a simple Slider and Label user control that I load into my window and I want to change the following properties using databinding from the main window. Slider Properties -> Value, SelectionStart, SelectionEnd (all doubles) Label Properties…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,031 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,807 questions
C#
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,173 questions
asked 2024-12-18T16:06:49.42+00:00
dmccric 0 Reputation points
commented 2025-01-06T14:48:50.3133333+00:00
dmccric 0 Reputation points