10,454 questions with C#-related tags

Sort by: Updated
0 answers

Unable to get access token for microsoft store service

Hi, I am building an app for the Microsoft Store. I require the app's server to connect to the microsoft store to validate purchases. I'm using the Microsoft.StoreServices API provided at: https://github.com/microsoft/Microsoft-Store-Services Basically…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,031 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
897 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,454 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,007 questions
asked 2024-06-09T22:08:13.59+00:00
Jacques O 0 Reputation points
edited the question 2024-06-09T22:16:19.2866667+00:00
Jacques O 0 Reputation points
1 answer

Unable to connect to server in Visual Studio 2022

Description of the problem: When trying to connect to a remote server using Visual Studio 2022, I receive the following error: System Information X A service error occurred. I have already searched for help online, but I have not…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 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.
13,017 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,454 questions
asked 2024-06-09T20:07:45.0033333+00:00
Roberto C 100 Reputation points
answered 2024-06-09T21:16:06.9766667+00:00
Roberto C 100 Reputation points
1 answer

Hi, i want to register my call of duty mobile game and when i manually entered they key the authenticator is looking for the secret key? Where can i get it from?

when i manually entered they key the authenticator is looking for the secret key? Where can i get it from? Thanks

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,332 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,983 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,454 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,797 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,768 questions
asked 2024-06-07T17:06:11.8533333+00:00
Lotis Sanchez 0 Reputation points
answered 2024-06-09T19:56:03.91+00:00
Shabana Sohail 161 Reputation points
0 answers

System.Exception: 'Days between ViewStart and ViewEnd should be between 1 and MaximumViewDays' in c#

I want to select multiple days in my monthView1, but the error message say."System.Exception: 'Days between ViewStart and ViewEnd should be between 1 and MaximumViewDays'" and here my code. private void monthView1_SelectionChanged(object…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,744 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,454 questions
asked 2024-06-09T06:50:07.66+00:00
BgnerNprg207 226 Reputation points
commented 2024-06-09T09:18:45.44+00:00
KOZ6.0 5,550 Reputation points
2 answers

Make calendar in datagridview c#

Good day! Please take a look the image below. I want to input day from June to July but no color displayed from start to end date. And here my code. int offset = 4; foreach (DataGridViewRow row in dataGridView1.Rows) { …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,744 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,454 questions
asked 2024-06-08T10:06:27.07+00:00
BgnerNprg207 226 Reputation points
edited an answer 2024-06-09T08:34:09.1066667+00:00
KOZ6.0 5,550 Reputation points
1 answer

How to set up WinUI3 applications to run as administrators

I'm begging to write WinUI3 application. Administrator privileges are required for certain functions. In the Win-form program, simply configure the following in the app. manifest <requestedExecutionLevel level="requestAdministrator"…

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.
737 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,454 questions
asked 2024-06-07T08:35:00.8433333+00:00
C CB 20 Reputation points
answered 2024-06-09T07:00:55.65+00:00
Castorix31 82,241 Reputation points
2 answers

i can't use sql in winform c#

Severity Code Description Project File Line Suppression State Error CS1069 The type name 'SqlConnection' could not be found in the namespace 'System.Data.SqlClient'. This type has been forwarded to assembly 'System.Data.SqlClient, Version=0.0.0.0,…

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,381 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,454 questions
asked 2022-05-26T00:58:31.467+00:00
aley123 1 Reputation point
commented 2024-06-09T06:05:31.7966667+00:00
Do Thi Phuong Anh 0 Reputation points
0 answers

No templates or subcommands found matching: 'blazorserver'

Question Under "Create Blazor components" Section There is a dotnet command for creating a Blazor app by using the blazorserver template in CLI, it doesn't work anymore. The command is below: dotnet new blazorserver -o BlazingPizzaSite -f…

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,454 questions
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,117 questions
Blazor Training
Blazor Training
Blazor: A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.Training: Instruction to develop new skills.
1 question
asked 2024-06-07T11:18:52.7766667+00:00
FRED 0 Reputation points
commented 2024-06-09T02:34:11.91+00:00
AmaranS 2,945 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,454 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,619 questions
asked 2024-05-30T13:11:52.0833333+00:00
StewartBW 565 Reputation points
commented 2024-06-08T23:37:14.52+00:00
StewartBW 565 Reputation points
0 answers

WebClient via EndPoint

Hello When using WebClient to send and/or receive data, how can I pass an EndPoint instance to the WebClient to connect via the specified IP and…

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,454 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,619 questions
asked 2024-06-08T23:34:52.1333333+00:00
StewartBW 565 Reputation points
2 answers One of the answers was accepted by the question author.

CA1416 Warning after upgrading from .NET Framework 4.8 to .NET 8 with Windows Forms

Hello, I recently upgraded my project from .NET Framework 4.8 to .NET 8 and I’m using Windows Forms. Although I’m not getting any errors, I’m seeing some warnings that I would like to resolve. One of the warnings is CA1416, which indicates that…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,862 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 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,454 questions
asked 2024-06-08T02:59:37.03+00:00
Roberto C 100 Reputation points
accepted 2024-06-08T20:54:47.2766667+00:00
Roberto C 100 Reputation points
3 answers

convert letters increase by 1

Hello, Mask_range="ABCDEFGHJKLMNPQRSTUVWXYZ" Not allowed I and O NewValue: AA AB AG AH BA **Input** NewValue1: AB AC AH AJ BB **Output** NewValue2: …

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,454 questions
asked 2024-06-06T16:23:59.4166667+00:00
Noah Aas 300 Reputation points
edited a comment 2024-06-08T19:22:20.57+00:00
Viorel 113.7K Reputation points
3 answers One of the answers was accepted by the question author.

PDF File not opening in modal popup in asp.net using embed

I am unable to open the pdf file which is located in file server path through modal popup. pls. find below code. <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 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,454 questions
asked 2024-06-06T13:53:41.8333333+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-08T16:55:11.3366667+00:00
Gani_tpt 1,986 Reputation points
0 answers

How to get a particular column from table and display in in label and not in the list in sqlite database in mvvm model

In MVVM model using async connection, I want to retrieve just one column from my async table to a label not to list. all sample I am seeing put all column in the list . I want only one mesa1 column to be displayed in a label.text. public async…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,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.
10,454 questions
asked 2024-06-08T10:40:43.1+00:00
Gbenga Banuso Odumosu 40 Reputation points
edited the question 2024-06-08T15:44:40.4466667+00:00
Erland Sommarskog 102.9K Reputation points
1 answer

Queries with EF Core causes 'Cannot continue the execution because the session is in the kill state'

Some EF Core queries are throwing the following error in our code : Cannot continue the execution because the session is in the kill state. Une erreur grave s'est produite pendant la commande actuelle. Les résultats devront être supprimés, le cas…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
709 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.
13,017 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,454 questions
asked 2024-06-07T10:02:04.1466667+00:00
Arthur Menétrey 0 Reputation points
answered 2024-06-07T21:28:42.8333333+00:00
Erland Sommarskog 102.9K Reputation points
0 answers

Confused about how to use Microsoft.AspNetCore.SystemWebAdapters while trying to port from old ASP.NET website to new ASP.NET Core web app

https://stackoverflow.com/questions/78589165/confused-about-how-to-use-microsoft-aspnetcore-systemwebadapters-while-trying-to Can some one tell me how to approach this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,274 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 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,454 questions
asked 2024-06-07T21:23:00.4833333+00:00
Sameer Ranade 0 Reputation points
0 answers

How to fix Signature validation failed when trying to validate an access token of Microsoft Entra ID

Hi, I'm trying to validate my access token signature from Microsoft Entra ID, as you can see in the below image, the "kid" attribute is different from the keys retrieved in the second image below that were retrieved from…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 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,454 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,007 questions
asked 2024-06-07T20:44:34.87+00:00
Bernardo Garza García 0 Reputation points
0 answers

How to hide the modal popup if another modal popup is open in ASP.NET

I am using multiple modal popup window (bootstrap) in the gridview. one is for onclick (link button) second one is for onclick (image button) i have used two different design popup model (dialog). i am facing the issue, when i click linkbutton, it is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 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,454 questions
asked 2024-06-07T09:43:53.13+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-07T20:30:29.25+00:00
AgaveJoe 26,671 Reputation points
3 answers

What is the best way to show the loader while uploading the file in gridview

I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 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,454 questions
asked 2024-06-07T17:12:49.2366667+00:00
Gani_tpt 1,986 Reputation points
commented 2024-06-07T20:08:14.0566667+00:00
Albert Kallal 5,061 Reputation points
0 answers

Azure.Search.Documents vector search successful, but response is null

I am currently performing vector search according to the code guide that can be found here:…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,503 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
784 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,043 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,454 questions
asked 2024-06-07T19:05:07.25+00:00
Rossana Modolin 0 Reputation points
edited the question 2024-06-07T19:10:05.69+00:00
Rossana Modolin 0 Reputation points