10,655 questions with C#-related tags

Sort by: Updated
0 answers

Not Receiving Typing Activity in Microsoft Bot Framework

Hello, I'm currently working on a bot using the Microsoft Bot Framework and am hosting it on Azure. Everything seems to be working fine, and has been for a while, except when trying to implement live typing indicators when talking with users. I've…

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
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.
10,655 questions
asked 2024-07-23T11:37:07.76+00:00
Hugo 0 Reputation points
1 answer

Trouble accessing custom field properties in ObservableCollection

I created an ObservableCollection in my ViewModel and defined a CustomField class that implements INotifyPropertyChanged. However, when I try to access the properties of the CustomField model in the view, I get an error saying that the members cannot be…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,889 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,232 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.
10,655 questions
asked 2024-07-17T18:43:00.8866667+00:00
Mirai Dinelli 0 Reputation points
commented 2024-07-23T08:59:17.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,336 Reputation points Microsoft Vendor
0 answers

How to Host the Firestore Identity File Securely?

I am working on a WPF project with C#, and I am using Firebase Firestore for which I need to host the identity JSON file on disk. However, I want to ensure that users cannot access this file or the Firestore services using the information inside it. What…

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,712 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.
10,655 questions
asked 2024-07-19T09:13:39.21+00:00
fatih uyanık 80 Reputation points
edited a comment 2024-07-23T08:51:46.67+00:00
Hongrui Yu-MSFT 1,025 Reputation points Microsoft Vendor
1 answer

System.IO.Ports only availble on windows, but im using windows - .NET6

So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,651 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.
10,655 questions
asked 2024-03-17T16:58:29.7233333+00:00
Borda Ákos 15 Reputation points
commented 2024-07-23T05:23:07.7966667+00:00
guangchao sun 0 Reputation points
1 answer

Visual studio compiler error

have this problem: I can't run the code, it says: The "ResolveAppHosts" task was not given a value for the required parameter "RuntimeGraphPath". I don't know what I can do, please help me .NET version 6.0, C#

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,889 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.
10,655 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.
967 questions
asked 2024-07-07T20:45:55.3733333+00:00
Yura Yarotskyi 0 Reputation points
edited a comment 2024-07-23T03:46:49.4166667+00:00
Tianyu Sun-MSFT 29,446 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

TripleDes problem in .Net

I use TripleDes to encrypt/decrypt. I have a program in the .Net Framework version and in the .Net version. According to the code I show, in .NetFw it returns an object "System.Security.Cryptography.CryptoAPITransform" to TDes_ICryptoTransform…

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.
10,655 questions
asked 2024-07-22T03:56:40.81+00:00
zequion 291 Reputation points
accepted 2024-07-23T02:40:01.47+00:00
zequion 291 Reputation points
1 answer

Timer Function returns 404 on consumption plan. cronjob but http fn invokes ok

Timer function returns 404 from both postman and Az Portal test/run. Http function executes from Postman and from Az Portal test/run, OK. App is deployed from GitHub Action. I have used Restart and Refresh but cron job does not fire. Publishing model:…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,681 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.
10,655 questions
asked 2024-07-09T03:41:19.5333333+00:00
ozbobwa 21 Reputation points
answered 2024-07-23T02:31:52.0933333+00:00
ozbobwa 21 Reputation points
1 answer

Selecting text across the elements

I am working on a UWP app where i will get the text content and their respective X and Y coordinates. I need to render this text in UI in the respective coordinates, I have achieved this through canvas panel and text block but here i face another…

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.
10,655 questions
asked 2024-07-08T05:50:54.8466667+00:00
shriram 90 Reputation points
commented 2024-07-23T01:39:14.0233333+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Regex.Matches return no duplicates?

Hello Dim blah As MatchCollection = Regex.Matches(text, "([a-zA-Z0-9_-.]+)@([a-zA-Z0-9_-.]+).([a-zA-Z]{2,9})", RegexOptions.CultureInvariant Or RegexOptions.IgnoreCase Or RegexOptions.Multiline) How may I force Regex.Matches not to return…

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.
10,655 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,670 questions
asked 2024-07-22T18:50:26.8233333+00:00
StewartBW 925 Reputation points
accepted 2024-07-22T20:55:56.1633333+00:00
StewartBW 925 Reputation points
1 answer One of the answers was accepted by the question author.

MatchCollection to List(Of String)

Hello Instead of: For Each Match As Match In MatchCollection StringList.Add(Match.Value) Next Is there a shorter and faster way to add all element values in MatchCollection to the StringList which is list of string? Thanks.

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.
10,655 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,670 questions
asked 2024-07-22T19:52:17.1833333+00:00
StewartBW 925 Reputation points
accepted 2024-07-22T20:55:33.93+00:00
StewartBW 925 Reputation points
2 answers

ADFS retrieving claims using native client application

Hi, We are currently attempting to write a test application in C#, which needs to retrieve certain claims upon authorization. No matter what we have tried, it seems we only receive the same 10 claims from the ADFS server (see image for the received…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,651 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,226 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.
10,655 questions
asked 2024-07-01T22:16:09.97+00:00
G_Niles 0 Reputation points
commented 2024-07-22T12:01:33.2333333+00:00
Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

ExponentialBackoffRetry dynamic parameter value

Hi all, I'm trying to implement ExponentialBackoffRetry in one of my Azure Functions. Is there a way to retrieve the values (Max Retry, min delay, max delay) from App Settings instead of hardcoding them? Thank you …

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,681 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,651 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.
10,655 questions
asked 2024-01-21T09:37:03.1833333+00:00
Wendy Susanto 20 Reputation points
commented 2024-07-22T11:19:22.1866667+00:00
Frank Reerink 0 Reputation points
2 answers

how to pass C# DataTable to JQuery DataTable

I am trying to send data from a C# DataTable to a Jquery DataTable, but I am not sure how. Here's my code, but it is not working. public ActionResult StudentList() { TestViewModel tvm = new TestViewModel(); List<Student> students =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,419 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
942 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.
10,655 questions
asked 2024-07-21T12:00:18.0066667+00:00
Saeed Ahmad 20 Reputation points
commented 2024-07-22T08:00:29.85+00:00
Saeed Ahmad 20 Reputation points
1 answer

Error APPX1101: [UWP] Payload contains two or more files with the same destination path: Microsoft.Web.WebView2.Core.dll

Installed Visual Studio 2022 (on a clean/fresh Windows 11 installation) version 17.10.0 Installed Microsoft.Identity.Client.Desktop Nuget package to open sign in within the window application. After that I'm getting "Found multiple publish…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,651 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,232 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.
10,655 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 5 Reputation points
commented 2024-07-22T07:50:44.81+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 39,396 Reputation points Microsoft Vendor
2 answers

Visual studio 2022 .net 6 is not supporting reportviewer?

Hello Team, I have few reports which i have developed in rdlc and showing it thru reportviewer in Visual studio 2019. I have recently installed and convert my application from .net version 4.8 to .net 6. Now i am facing challenges when i am trying…

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.
10,655 questions
asked 2022-04-02T08:22:34.25+00:00
paras meghani 6 Reputation points
answered 2024-07-22T03:15:04.0633333+00:00
先生 周 0 Reputation points
3 answers One of the answers was accepted by the question author.

Where is the Debug Option?

I use the latest version of V S. I can't find the Debug button to check the value of a variable.

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.
10,655 questions
asked 2024-07-21T05:31:16.54+00:00
zequion 291 Reputation points
accepted 2024-07-22T02:35:23.53+00:00
zequion 291 Reputation points
1 answer

How pass an object to functions and keep the modifications in a Durable Function?

I've been working on learning more about Azure Functions and I'm currently working on a project using Durable Functions. I'm not sure if I'm not understanding correctly or if I'm just doing something incorrectly, but my understanding with Durable…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,681 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.
10,655 questions
asked 2024-07-20T15:36:08.38+00:00
CandidKilsborne 20 Reputation points
answered 2024-07-21T13:43:48.0466667+00:00
Sina Salam 7,441 Reputation points
3 answers One of the answers was accepted by the question author.

.Net 4.8.1 app doesn't start because Windows says .Net 4.8.1 is not installed

We have an app that was built to be run by .Net 4.8.1 x86 . This app is installed in a Windows Server 2022 Datacenter Azure Edition. When we launch the app, a message box is shown by the OS, saying: "This application requires one of the following…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,651 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,639 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.
10,655 questions
asked 2024-01-22T16:12:53.0333333+00:00
Jorge Silva 20 Reputation points
commented 2024-07-20T21:00:56.43+00:00
Stefan Cuypers 0 Reputation points
1 answer One of the answers was accepted by the question author.

Can't JoinRoom by Id

Hi, I am a student working on a school project, I am new to this, It is my first time doing NextJs with TypeScript, I also researched but did not see any working solution. I really do not know where the problem is. I would very much appreciate if there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,405 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.
10,655 questions
asked 2024-07-20T03:13:33.0566667+00:00
Nhựt Lại 65 Reputation points
commented 2024-07-20T13:00:56.8833333+00:00
Nhựt Lại 65 Reputation points
2 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.'

Hi guys if i uncomment code below it will error with System.NullReferenceException: 'Object reference not set to an instance of an object.' lvOrders was null . If i comment its ok , i started debug and every thing run ok and i check if i…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,651 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.
10,655 questions
asked 2024-07-19T16:17:23.72+00:00
doan gioi 0 Reputation points
commented 2024-07-20T02:34:03.7366667+00:00
doan gioi 0 Reputation points