10,561 questions with C#-related tags

Sort by: Updated
1 answer

A request that does not have a valid action parameter cannot be processed. Specify a valid SOAP action.

Hello! Please tell me how to correctly execute the method using a Soap request Code: using System.Text; public class Soap { public async static Task CallWebService() { var _url =…

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,561 questions
asked 2024-06-19T05:08:22.84+00:00
Виктор Белянкин 0 Reputation points
answered 2024-06-19T09:39:21.4266667+00:00
Jiale Xue - MSFT 42,061 Reputation points Microsoft Vendor
0 answers

Microsoft.ui.xaml.dll App crashes after Publishing on starting

Hi everyone, We're trying to publish a Winui 3 APP with ClickOnce, but everytime we publish the app and try to start it, we get following error: Faulting application name: Test.exe, version: 1.0.0.0, time stamp: 0x65cd0000 Faulting module name:…

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,561 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,763 questions
asked 2024-04-02T12:06:13.9666667+00:00
Alan Benet 10 Reputation points
commented 2024-06-19T08:25:37.8233333+00:00
Mark Tagab 0 Reputation points
1 answer

Picker with custom template

This is quite simple task but I am running short on ideas how to implement it. I have added FontAwesome to my app and would like to create a picker control that would display two different labels with different fonts side by side, but it looks like…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,135 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,561 questions
asked 2024-06-17T19:12:50.6466667+00:00
mrw 201 Reputation points
edited a comment 2024-06-19T08:24:00.84+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
2 answers

how to insert records in a table using script task

I would like to insert records in a table by using script task. I cant use execute sql task and other task available in ssis. The script should be in C#.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,184 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,502 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,561 questions
asked 2024-06-19T03:33:51.8233333+00:00
Nilimesh Maiti 0 Reputation points
answered 2024-06-19T05:51:19.7066667+00:00
Olaf Helper 42,746 Reputation points
3 answers

How to eliminate if end user open the same ASP.NET page in another tab

This is simple question. I am developing ASP.NET application and sharing the hosted URL to end user. some times end user opens the same page in multiple tab. i want to control, either should not allow the same page in another tab or redirect some…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 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,561 questions
asked 2024-06-18T14:39:10.5133333+00:00
Gani_tpt 2,092 Reputation points
commented 2024-06-19T02:42:53.65+00:00
QiYou-MSFT 4,311 Reputation points Microsoft Vendor
0 answers

Microsoft Graph - Issues when trying to upgrade from 3.19.0 to v5.56.0

I got a problem when trying to upgrade GraphServiceClient from 3.19.0 to 5.56.0 (as shown below), how do I update this code to Microsoft.Graph 5.56? Please note, I find all examples on the web and they don't show me a solution: protected…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,229 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,561 questions
asked 2024-06-18T15:31:44.6333333+00:00
Terry Fedirko 0 Reputation points
edited the question 2024-06-19T01:40:24.2333333+00:00
Jiale Xue - MSFT 42,061 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Access and read all SMS on Android phone with .NET MAUI

For an application that, as a part of its functionality, can read all stored SMS on an android phone, can you give general directions what to read exactly to learn and implement it in a .NET MAUI project? I'm a beginner. I've only worked with MVC, WPF…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,135 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,561 questions
asked 2023-11-21T03:48:09.5466667+00:00
MSCollege3000 160 Reputation points
commented 2024-06-19T00:53:55.4466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,441 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

What do the "/" and "~" signs mean in file path usage?

Hi, If you allow, I would like to ask a question. I want to access "b5.jpg" in CoreBlogTema from About/Index. Which one should I start with "/", "./", "../", "~/" in the file extension? Can you explain…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,561 questions
asked 2024-06-15T11:01:15.27+00:00
Yalçın Mete 60 Reputation points
commented 2024-06-18T23:51:45.99+00:00
Yalçın Mete 60 Reputation points
1 answer One of the answers was accepted by the question author.

Can Desktop Applications Be Used in Azure/ISV Environment?

This is a very basic and generic question, but no answers were found in searching the internet. Can a desktop application (WPF/WCF) run in Azure/ISV environment? I know that an Azure VM can host a desktop/client-server application, but that's not what…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,565 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,705 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,561 questions
ISV (Independent Software Vendor)
asked 2024-06-11T22:32:46.7633333+00:00
TJ Fan 25 Reputation points
accepted 2024-06-18T21:51:35.4066667+00:00
TJ Fan 25 Reputation points
2 answers One of the answers was accepted by the question author.

How to Run Asp.net website project as a web Application Project

Hello, I have just assumed a duty to take over development of a asp.net project. It happened that the project is a asp.net website project, and I discovered the the former developer did not create App_code folder, when I brought the solution to my VS…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 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,561 questions
asked 2024-06-17T13:06:17.44+00:00
Emeka Okoye 86 Reputation points
accepted 2024-06-18T20:47:40.9+00:00
Emeka Okoye 86 Reputation points
2 answers One of the answers was accepted by the question author.

Deletion from a datagridview on the second attempt returns null exception if the column is hidden, but works fine if vissible.

my program loads a table from sqlite3 and displays the content in a datagridview form with c#. I am sorting the table entries according to name and some values which gives out of order ID's to display in the datagridview. The program works fine if the ID…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,868 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,561 questions
asked 2024-06-17T16:30:40.47+00:00
George Panayiotou 20 Reputation points
answered 2024-06-18T16:16:52.3933333+00:00
George Panayiotou 20 Reputation points
2 answers One of the answers was accepted by the question author.

How to replace double back slashes returned by AppContext.BaseDirectory in C#

I'm trying to replace the double backward slashes returned by AppContext.BaseDirectory with only one backward slash. I attempted to replace the double slashes using the code snippet below, but it didn't work as expected. Can anyone help me with 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.
10,561 questions
asked 2024-06-18T01:43:15.3233333+00:00
Tom Meier 180 Reputation points
accepted 2024-06-18T13:07:49.29+00:00
Tom Meier 180 Reputation points
2 answers One of the answers was accepted by the question author.

Losing GridView Textbox value after GridView Pagination Changes

Please help look into what i need to modify in my code. My textbox is losing values typed into its control after gridview pagination click. Thanks and code below <asp:GridView ID="GridView1" runat="server"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 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,561 questions
asked 2024-06-16T01:03:18.18+00:00
Imoleayo Emmanuel 20 Reputation points
accepted 2024-06-18T12:12:14.8533333+00:00
Imoleayo Emmanuel 20 Reputation points
1 answer

How to disconnect a BLE device after successful connection

I have successfully connected to BLE device by using BluetoothLEDevice.FromIdAsync(deviceInfo.Id) and bluetoothLeDevice.GetGattServicesAsync(BluetoothCacheMode.Cached) API's in unpaired mode over Windows 10 with .NET Framework 4.7.2 but I was…

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,705 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,561 questions
asked 2024-06-13T10:31:14.1533333+00:00
Prajnith Kumar 0 Reputation points
commented 2024-06-18T10:21:55.9533333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

SAS Token not working for FileUpload IoTHub

I'm trying to replicate this https://github.com/Azure/azure-iot-sdk-csharp/blob/main/iothub/device/samples/getting%20started/FileUploadSample/FileUploadSample.cs example to upload a file. This part works: `// Note: GetFileUploadSasUriAsync and…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
391 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,575 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,148 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
211 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,561 questions
asked 2024-06-12T17:16:40.47+00:00
mikefinch87 85 Reputation points
edited a comment 2024-06-18T09:26:22.0966667+00:00
LIX 10 Reputation points
2 answers One of the answers was accepted by the question author.

convert letters increase by step

Hello, Is there another simple solution if I want to specify the step size? Example + 4 or + 7 Step 4, I will do this. Convert letters increase by step string ret =…

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,561 questions
asked 2024-06-12T17:47:22.8+00:00
Noah Aas 340 Reputation points
accepted 2024-06-18T08:27:50.9766667+00:00
Noah Aas 340 Reputation points
1 answer One of the answers was accepted by the question author.

Issue accessing my company MinIO storage using c# Winform .net 4.8

---- ISSUE SOLVED --- I work with our devops team again, and the solution for this issue was to add the domain certificate to the machine trusted certificates --- END UPDATE --- Hi, I am writing a C# wiform app that should upload files to MinIO. We have…

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,561 questions
asked 2024-06-15T10:39:47.2766667+00:00
Nachum Shmilovitz 20 Reputation points
edited the question 2024-06-18T07:57:31.3+00:00
Nachum Shmilovitz 20 Reputation points
2 answers One of the answers was accepted by the question author.

What is AndroidResource type under Android-Maui?

When migrating from XAMARIN to .NET MAUI, what was AndroidResource in Android Resources folder defaults to Content which doesn't look right. What is AndroidResource type when migrated to MAUI? The file properties (for *.png, *.xml files) give no option…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,135 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,561 questions
asked 2023-07-25T14:04:53.2633333+00:00
dg2k 1,391 Reputation points
commented 2024-06-18T06:53:28.5866667+00:00
1 answer

asp.net core web application not showing in visual studio 2022 visual studio 2022

why i con't found ASP.NET Core Web Applcation n visual studio 2022 ? if change title i want know the new title

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,814 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,561 questions
asked 2024-06-17T16:47:40.2066667+00:00
yaser abas 0 Reputation points
edited an answer 2024-06-18T05:08:11.11+00:00
Jiale Xue - MSFT 42,061 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

HTTPs Listener

Hi All, We have an HTTPs server application written in C# with .Net Framework 4.7. The application uses HTTPs Listener class to listen to incoming HTTPs requests. In order to make HTTPs server work, we bind the certificate 'Thumbprint' in a batch file…

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,561 questions
asked 2024-01-19T10:31:42.5666667+00:00
S Abijith 346 Reputation points
commented 2024-06-18T05:00:24.1633333+00:00
S Abijith 346 Reputation points