10,419 questions with C#-related tags

Sort by: Updated
3 answers

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,419 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
309 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 260 Reputation points
commented 2024-05-31T02:29:02.27+00:00
SurferOnWww 2,081 Reputation points
2 answers

How to get/read specific word from pdf or image document in ASP.NET Application

I have millions of image or pdf document...I want get some specific word from the uploaded image or pdf document...after getting this, I am going to use these in my project...All this I want in asp.net application and if any third-party tools are using,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,419 questions
asked 2024-05-26T03:09:00.3533333+00:00
Gani_tpt 1,806 Reputation points
edited a comment 2024-05-31T02:13:01.1366667+00:00
XuDong Peng-MSFT 10,181 Reputation points Microsoft Vendor
1 answer

Get data with post method using webclient

Hello There's a POST sample at the bottom of this page: https://ws.interfax.net/admin.asmx?op=GetAccountPPCardsBalance2 Sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST…

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,419 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,612 questions
asked 2024-05-30T13:11:52.0833333+00:00
StewartBW 565 Reputation points
answered 2024-05-31T01:47:42.0266667+00:00
Jiachen Li-MSFT 27,406 Reputation points Microsoft Vendor
2 answers

How to Detect Initial DPI changes in a WPF Application while Scaling according to Per Monitor Aware in Variable Dynamic Screen Resolution?

In daily life we have to deal with a lot of different types of display size it may be mobile or may be a 4k monitor. The screen resolution vary from display to display. Here another important factor is DPI (Display per inch) which is mainly a scaling…

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.
4,881 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,691 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,419 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2024-05-27T23:46:16.7233333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-05-30T16:39:03.64+00:00
MERUN KUMAR MAITY 531 Reputation points
1 answer

Getting a 10054 error when calling a Cognitive Services API from VSTO Word Add-in

I am developing a Word VSTO add-in so that I can call a Cognitive Services knowledgebase service. The code is pretty straight-forward and works fine when I run it from a windows console app (a similar call in python also works without…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 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,419 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,599 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
367 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,464 questions
asked 2024-05-15T21:16:54.8833333+00:00
AdamMorgan-1941 15 Reputation points
answered 2024-05-30T16:26:33.41+00:00
AdamMorgan-1941 15 Reputation points
2 answers

How to connect to Azure Service Bus through Private Endpoint?

I'm developing an application in our organization using C#/.NET(8.0) and have to use Azure Service Bus. My access in our organization's Azure account is mostly read-only, so I don't know actually how they created the instances. But I can see that the…

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
562 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 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,419 questions
asked 2024-03-06T01:47:21.7933333+00:00
Bergs 0 Reputation points
answered 2024-05-30T14:02:39.5833333+00:00
Adnane 0 Reputation points
1 answer

How to pars the text and extract some parts and assigning them to variables in visual studio .Net without interfering with the received data from serial port?

I have a received data from com port in this format: ************************* General Device Configuration ************************* Flash address...............0x40100180 Memory allocated............256 Size on…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,727 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,419 questions
asked 2024-05-28T15:45:37.88+00:00
Goharshenasanesfahani, Sahar 0 Reputation points
commented 2024-05-30T09:25:54.4466667+00:00
Jiale Xue - MSFT 38,021 Reputation points Microsoft Vendor
0 answers

Ajax Calendar control not showing properly in Gridview Footer template.

I am not getting full view of Ajax Calendar control in gridview Footer template. The last column date in the date picker, not showing properly. Friday and saturday is hiding and not showing properly. <asp:TextBox ID="txtDOB"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,419 questions
asked 2024-05-30T07:12:57.6133333+00:00
Gani_tpt 1,806 Reputation points
commented 2024-05-30T08:42:24.21+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
1 answer

Copy the code text from MS Visual Studio 2022 and keeping the source color and formatting

Hello! Tools --> options --> Text Editor --> Advanced --> Copy rich text https://learn.microsoft.com/en-us/visualstudio/ide/reference/options-text-editor-advanced?view=vs-2022 Works in VS2019 well. In 2022 not. Something is missing. Does…

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,419 questions
asked 2024-05-30T07:04:13.29+00:00
Noah Aas 260 Reputation points
commented 2024-05-30T08:40:39.7233333+00:00
Jiale Xue - MSFT 38,021 Reputation points Microsoft Vendor
2 answers

Getting error while finding control in Footer Row Gridview

I am getting error while binding data in dropdown in gridview footer template. Pls. help us, how to bind dropdown values inside the gridview footer template. getting below error.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,419 questions
asked 2024-05-29T13:47:28.71+00:00
Gani_tpt 1,806 Reputation points
edited an answer 2024-05-30T07:26:58.4333333+00:00
Lan Huang-MSFT 26,761 Reputation points Microsoft Vendor
0 answers

Azure Function app timeout in 4 minutes (230 seconds)

I am getting 500 Timeout issue while running function app for more than 4 minutes (230 seconds). It was working for 30 minutes when we were using .net 6 version. Suddenly we started getting 500 timeout when we updated function app to .net 8 version.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,421 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
412 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,419 questions
asked 2024-05-29T03:08:44.4366667+00:00
Shirvadkar, Virendra 0 Reputation points
commented 2024-05-30T05:38:48.5766667+00:00
SwathiDhanwada-MSFT 18,031 Reputation points
0 answers

c# failed to invoke the openai API interface on Azure

I am using the official example to access the openai interface times the following error, how can I solve, increase the number of repetition is still the same public class OpenaiApi { public async Task

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,419 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,340 questions
asked 2024-05-29T08:10:41.67+00:00
Xianpeng XP3 Huang 0 Reputation points
edited the question 2024-05-30T04:34:07.2333333+00:00
navba-MSFT 18,080 Reputation points Microsoft Employee
1 answer

Why is my GUI app breaking when running.

I have a GUI app which should load the designer content, but fails and goes to break state. It seems there is a problem loading a DLL file, but another version (on another machine) is running OK. Version is visual studio community 2022 64bit 17.10.0.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,727 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,419 questions
asked 2024-05-29T10:55:04.66+00:00
Per Jensen 0 Reputation points
edited an answer 2024-05-30T03:35:13.38+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
1 answer

How to create event for subclassed control

I use GestureRecognizers with Label in lots of places in an app and would like to create a new Label control that basically uses Label as the base and adds a TapGestureRecognizer that invokes an event that can be defined in XAML. I know how to subclass…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,013 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,419 questions
asked 2024-05-28T15:05:06.46+00:00
Lloyd Sheen 1,391 Reputation points
commented 2024-05-30T03:31:27.8+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,921 Reputation points Microsoft Vendor
3 answers

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 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,435 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,419 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 5 Reputation points
commented 2024-05-30T02:14:20.3733333+00:00
Ping Ni-MSFT 2,405 Reputation points Microsoft Vendor
2 answers

How to retrieve the any table from SQL DB and display dynamically in one page in asp.net core

Requirements are as below. 1. In single page of asp.net core, need to display any table data dynamically like jtable from jQuery plugin... With generic code with ado.net or web api orAPI or entity framework core

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
707 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 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,419 questions
asked 2023-04-02T16:30:01.65+00:00
phani sekhar 1 Reputation point
commented 2024-05-30T02:09:18.2166667+00:00
Hutty 0 Reputation points
1 answer One of the answers was accepted by the question author.

Rename mdb table

Hello I use Access Database Engine and OleDbReader to work with mdb and accdb files, need to rename a table: ALTER TABLE <table name> RENAME TO <new table name> OleDbException, anyway using ADE? 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,419 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,612 questions
asked 2024-05-29T04:01:30.4533333+00:00
StewartBW 565 Reputation points
commented 2024-05-29T23:55:20.6966667+00:00
StewartBW 565 Reputation points
3 answers

Where is system.device.location?

I am trying to use the GeoCoordinateWatcher in my WPF application. Whenever I type the using statement "using System.Device.Location" I am told it does not exist. I have read that I have to add it as a reference but when I go to the list of…

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,691 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,419 questions
asked 2022-03-16T00:46:27.013+00:00
Ike 6 Reputation points
answered 2024-05-29T18:47:52.53+00:00
Bruce (SqlWork.com) 58,356 Reputation points
1 answer

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,727 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,013 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,419 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
answered 2024-05-29T12:34:47.2866667+00:00
Anton Moroder 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to make fit ASP.NET page in horizontal bar when resizing the width of the page manually

I am developing ASP.NET application. sometimes user, resizing the width of the page. most of the global page (like microsoft all the pages), the page automatically fit the width based on the size of the horizontal width. How to make this. by default, the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,330 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,419 questions
asked 2024-05-25T07:53:00.6633333+00:00
Gani_tpt 1,806 Reputation points
commented 2024-05-29T07:32:21.86+00:00
Gani_tpt 1,806 Reputation points