10,630 questions with C#-related tags

Sort by: Updated
0 answers

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,630 questions
asked 2024-07-22T03:56:40.81+00:00
zequion 211 Reputation points
edited the question 2024-07-22T03:58:34.5433333+00:00
zequion 211 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,411 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
939 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,630 questions
asked 2024-07-21T12:00:18.0066667+00:00
Saeed Ahmad 20 Reputation points
commented 2024-07-22T03:29:10.6333333+00:00
Lan Huang-MSFT 28,836 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,630 questions
asked 2022-04-02T08:22:34.25+00:00
paras meghani 1 Reputation point
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,630 questions
asked 2024-07-21T05:31:16.54+00:00
zequion 211 Reputation points
accepted 2024-07-22T02:35:23.53+00:00
zequion 211 Reputation points
1 answer

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,710 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,630 questions
asked 2024-07-19T09:13:39.21+00:00
fatih uyanık 80 Reputation points
answered 2024-07-22T02:06:29.9433333+00:00
Hongrui Yu-MSFT 1,020 Reputation points Microsoft Vendor
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,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.
10,630 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,206 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,624 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,599 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,630 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
2 answers

Play an audio stream in client browse

I'm trying to send my soundcard audio to a HTTP stream with NAaudio so any browser on the LAN can open this one. Like an LAN Radiostation or something and use the default audio player from the browser. My sound is recorded with bytes, send, but the…

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,630 questions
asked 2024-07-20T11:24:10.01+00:00
donovan 21 Reputation points
answered 2024-07-20T19:50:45.08+00:00
Bruce (SqlWork.com) 61,266 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,386 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,630 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

Connection string issue

Hi, What kind of file can be inserted, regarding Connection string, into Maui App?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,624 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 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,630 questions
asked 2024-07-16T06:07:51.48+00:00
Peter_1985 2,586 Reputation points
commented 2024-07-20T11:18:42.01+00:00
Peter_1985 2,586 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,624 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,630 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
0 answers

Perdi meu telefone e vcs feraram a minha vida

Perdi meu telefone e não congigo mais usar o alhenticator sei q vcs vão dizer que eu deveria ter colocado a conta pra beackup mas n coloquei acho q esse deveria se um item obrigatório pra usar esse aplicativo que a minha organização multinacional me…

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,630 questions
asked 2024-07-20T00:32:45.7666667+00:00
edmilson cesar 0 Reputation points
1 answer One of the answers was accepted by the question author.

RegistryKeyPermissionCheck.ReadWriteSubTree vs boolean Writable

Hello, When using Registry OpenSubKey, I can set either RegistryKeyPermissionCheck.ReadWriteSubTree or Writable boolean property = True. Using MyKey As RegistryKey = Registry.LocalMachine.OpenSubKey("App.Blah\DefaultIcon",…

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,630 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,661 questions
asked 2024-07-19T17:11:47.1433333+00:00
StewartBW 885 Reputation points
accepted 2024-07-20T00:23:17.6+00:00
StewartBW 885 Reputation points
1 answer

ProgID or CLSID for vb.net apps?

Hello, When registering a file type extension for an app written in vb.net framework…

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,630 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,661 questions
asked 2024-07-19T04:39:42.3033333+00:00
StewartBW 885 Reputation points
commented 2024-07-19T16:46:48.0266667+00:00
StewartBW 885 Reputation points
1 answer One of the answers was accepted by the question author.

Exporting and Importing PowerApp Forms for SharePoint Lists Using C# .NET Core

Hi Team, I have a custom PowerApp form for one SharePoint site list. I need to create a new PowerApp form similar to the previous one for a new site list. How can I export the previous list PowerApp and import it to the new list using a C# .NET Core…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,624 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,253 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,630 questions
asked 2024-07-12T06:55:39.31+00:00
ArunKumar Arumugam 40 Reputation points
accepted 2024-07-19T08:42:09.78+00:00
ArunKumar Arumugam 40 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,624 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 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,630 questions
asked 2024-07-15T10:48:23.1366667+00:00
Ravi Khandale 5 Reputation points
commented 2024-07-19T07:15:09.6133333+00:00
Ravi Khandale 5 Reputation points
2 answers

How to resolve strange problem with DialogBox containing PictureBox?

I have a Windows Forms application with a number of dialog boxes that are opened when clicking on a menu item. I recently added a new DialogBox called Sierpinski whose OnClick event handler is as follows: // Event handler for selecting the…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,074 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,624 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,630 questions
asked 2024-07-17T15:15:34.2766667+00:00
Nicholas Piazza 536 Reputation points
commented 2024-07-19T03:32:03.99+00:00
Jiale Xue - MSFT 42,816 Reputation points Microsoft Vendor
6 answers One of the answers was accepted by the question author.

How Do I Package and install a Released compiled version version of my .Net Framework?

This might be a simple question. I searched online and there was a lot of information that seemed to be just a distraction. How Do I Package and install a Released compiled version version of my .Net Framework? Do I just need to pass along the compiled…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,624 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,630 questions
asked 2024-07-17T16:04:37.3133333+00:00
William Thompson 100 Reputation points
answered 2024-07-19T03:26:36.84+00:00
Rahulkumar0855 0 Reputation points
1 answer

Upload an excel file to Teams folder from C#.

Hello, I am trying to upload the excel file from the application to the Teams folder. Admin consent for the application identity to read/write file is already given. Can you please help on this? TIA.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,587 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,630 questions
asked 2024-07-18T10:20:08.9966667+00:00
Amit Patil 0 Reputation points
answered 2024-07-19T02:15:37.8466667+00:00
Robin Sheng-MSFT 1,325 Reputation points Microsoft Vendor
0 answers

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,873 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,207 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,630 questions
asked 2024-07-17T18:43:00.8866667+00:00
Mirai Dinelli 0 Reputation points
commented 2024-07-19T01:17:53.21+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,936 Reputation points Microsoft Vendor