10,551 questions with C#-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

How to achieve key/value pair max accurately with simple string using c#

I have simple string value line which contain below content. logo Name raj mobile 9038874774 address 6-98 india bill auto generated Now I am trying key/Value pair to achieve my detail and the pair value output expecting like below [0] Key: Name …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2023-11-16T21:05:40.3933333+00:00
coder rock 276 Reputation points
accepted 2024-06-21T18:38:51.3+00:00
coder rock 276 Reputation points
1 answer One of the answers was accepted by the question author.

How to achieve Named Entity Recognition (NER) using C# asp.net

When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark Zuckerberg is one of the founders of Facebook, a company from the United States” we can identify three types of…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2024-06-18T09:45:00.54+00:00
coder rock 276 Reputation points
accepted 2024-06-21T18:37:17.86+00:00
coder rock 276 Reputation points
2 answers One of the answers was accepted by the question author.

My EmailConfirmed is not working

Hi, I'm new to this, so I'm not so good, your help is my pleasure, thank you. I am having a problem with login, the API emailConfirmed still works when I give it token and userId. As far as I know, the EmailConfirmed doesn't confirm itself. I think I…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
642 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
716 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,324 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,551 questions
asked 2024-06-20T20:04:22.7933333+00:00
Nhựt Lại 45 Reputation points
accepted 2024-06-21T15:22:48.6833333+00:00
Nhựt Lại 45 Reputation points
1 answer One of the answers was accepted by the question author.

GetRowCount question

Hello I just found something here: https://video2.skills-academy.com/en-us/dotnet/desktop/winforms/controls/selection-modes-in-the-windows-forms-datagridview-control?view=netframeworkdesktop-4.8&source=recommendations You can retrieve a collection of 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,551 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,640 questions
asked 2024-06-20T12:20:47.3666667+00:00
StewartBW 745 Reputation points
accepted 2024-06-21T12:39:03.4066667+00:00
StewartBW 745 Reputation points
1 answer

How to fix mediaInitializationFailure: Media platform failed to initialize and 'Could not find a matching certificate for thumbprint'

Hi I am trying to run https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/PublicSamples/EchoBot locally using ngrok free account. Since we need to tunnel both HTTP and TCP ports so used cloudfare. Using cloudfare created…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,444 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,187 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,551 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,991 questions
asked 2024-06-14T06:42:04.5866667+00:00
Khadeer 0 Reputation points
edited an answer 2024-06-21T10:58:33+00:00
Khadeer 0 Reputation points
1 answer

Save All GridView PageIndex Rows showing Duplicate rows in Database

Please help. How to Browse all 3 GridView Pages above and INSERT all rows into DB on Save Button click. Using below code is showing Duplicate row on last gridview page which is having only one record in its page 3. Thanks public void SaveButton(int…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2024-06-18T15:39:35.17+00:00
Imoleayo Emmanuel 20 Reputation points
commented 2024-06-21T09:57:46.4333333+00:00
QiYou-MSFT 4,311 Reputation points Microsoft Vendor
1 answer

How to reference global resources in user controls in wpf class library projects

I created a WPF class library, and then added a UserControl "Card.xaml", and a resource dictionary "GlobalRes.xaml", I hope to use the style resources in GlobalRes in the Card control. As shown…

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,703 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,551 questions
asked 2024-06-21T05:17:59.38+00:00
HoWe Yu 41 Reputation points
answered 2024-06-21T06:28:41.0333333+00:00
Hongrui Yu-MSFT 775 Reputation points Microsoft Vendor
1 answer

Handling MRNs (Medical Record Numbers) with Compensating Transactions in .NET Core Micro services using the Saga Pattern

In a hospital management system built with micro services using .NET Core and Entity Framework, how can we ensure data consistency when generating Medical Record Numbers (MRNs)? Since MRNs cannot be deleted, how can we handle situations where a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,324 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,162 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,551 questions
asked 2024-06-20T13:54:23.2666667+00:00
Binu S 0 Reputation points
edited a comment 2024-06-21T05:43:58.2+00:00
Binu S 0 Reputation points
0 answers

ok i don't have any problem

nothing my problem solve

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,551 questions
asked 2024-06-16T06:30:36.43+00:00
edited the question 2024-06-21T05:12:52.8733333+00:00
1 answer One of the answers was accepted by the question author.

Getting error while passing ajax control date (dd/MM/yyyy) as parameter in ASP.NET

I am using AJAX Calendar control inside the gridview control. I have set the date format as "dd/MM/yyyy" and my SQL column as "DOJ" field data type is nvarchar(10). End user want always the format like "dd/MM/yyyy". I am…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2024-06-20T13:59:43.9666667+00:00
Gani_tpt 2,126 Reputation points
commented 2024-06-20T17:35:44.0033333+00:00
Gani_tpt 2,126 Reputation points
1 answer One of the answers was accepted by the question author.

Why am I getting a "D2DERR_WRONG_FACTORY" error in this code when I use a list?

I'm attempting to use Sharp DX to display a dxf file and I'm getting a "[D2DERR_WRONG_FACTORY/WrongFactory]" whenever I render using the below code: public override void Render(RenderTarget target) { target.Clear(new RawColor4(1.0f, 1.0f,…

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,551 questions
asked 2024-06-18T12:31:19.3566667+00:00
Forrest Crawford 60 Reputation points
accepted 2024-06-20T17:22:12.39+00:00
Forrest Crawford 60 Reputation points
2 answers

Concurrency Handling in Entity Framework Core with Transactions and Master Data

Question: We have two tables: Orders (transaction table): Stores order details and references a customer using CustomerID. Customers (master table): Stores customer information. The Orders table has a RowVersion column for optimistic locking. The…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,324 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,162 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,551 questions
asked 2024-06-20T13:55:57.4333333+00:00
Binu S 0 Reputation points
commented 2024-06-20T17:05:34.66+00:00
Binu S 0 Reputation points
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,559 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,324 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,469 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 5 Reputation points
commented 2024-06-20T14:22:15.8+00:00
Panchal, Aayush VineshKumar 0 Reputation points
1 answer One of the answers was accepted by the question author.

What is the best way to sending mail from gridview check box checked row

I am using gridview and it contains checkboxes. when i click submit button, i am sending mail to the customer for every checking record. if i save record without mail, data will be saving more accurate and fast. But, when i send mail for every records…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2024-06-18T08:37:52.73+00:00
Gani_tpt 2,126 Reputation points
accepted 2024-06-20T13:45:33.79+00:00
Gani_tpt 2,126 Reputation points
0 answers

How to organize icons on navbar using Bootstrap in a Blazor WASM app with .NET 6?

I'm working on an e-commerce app and I want to properly organize the icons on my navbar using Bootstrap 5 CSS. Specifically, I want to display the icons side by side, with equal spacing, and have the username appear right under the green login icon. Can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,324 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,469 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,551 questions
asked 2024-06-14T13:48:29.6+00:00
Cenk 986 Reputation points
commented 2024-06-20T09:30:21.6633333+00:00
Jerry Fu - MSFT 571 Reputation points Microsoft Vendor
4 answers One of the answers was accepted by the question author.

The sign-in name or password does not match one in the Microsoft account system

This is my console app project. Previously it was running perfectly but last week it suddenly cannot run. When I try locally, it shows me this error: "The sign-in name or password does not match one in the Microsoft account system". What I…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,104 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,551 questions
asked 2024-06-14T05:30:32.3933333+00:00
Hong Guan Lim 20 Reputation points
accepted 2024-06-20T09:07:10.4+00:00
Hong Guan Lim 20 Reputation points
1 answer

how to make a telegram game in c#?

hi I have a question about telegram games. can we make a game like hamster kombat and etc in telegram with c# language?

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,551 questions
asked 2024-06-20T07:31:27.37+00:00
Farshad Valizade 421 Reputation points
answered 2024-06-20T09:00:22.68+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Taskbar (Shell_TrayWnd) Alignment of items using Win32 API

Currently, I have a problem with changing the alignment of items such as Start Button, Search, Pinned items. I wrote code, which works in a Console Application, but it won't work in a WinUI 3 or UWP Packaged Desktop application because of restrictions…

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,981 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,491 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,551 questions
asked 2024-06-14T12:30:53.7566667+00:00
Jacob Mordon 40 Reputation points
accepted 2024-06-20T07:04:00.6566667+00:00
Jacob Mordon 40 Reputation points
2 answers One of the answers was accepted by the question author.

Gridview checkbox validation not working properly in asp.net

i am using gridview and it contains checkbox. i am not using any paging in the grid. I used submit button for the customer new request. whenever customer submit the request, it should validate and check 'atleast one checkbox" The validate is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,388 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,551 questions
asked 2024-06-20T02:53:43.72+00:00
Gani_tpt 2,126 Reputation points
commented 2024-06-20T05:31:14.5733333+00:00
Lan Huang-MSFT 28,126 Reputation points Microsoft Vendor
0 answers

What is the correct way to get the site delta query to include the correct graph id for each site returned.

I am using the C# Graph SDK to retrieve the delta of sites in my organisation and i have noticed that they return results with an ID that cannot be used to retrieve more information about the sharepoint site regardless of if it was deleted or not. Here…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,187 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,104 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,551 questions
asked 2024-06-20T01:32:25.0466667+00:00
Baz Van Den Dungen 0 Reputation points