22,995 questions with .NET-related tags

Sort by: Updated
1 answer

How to fix Violation of PRIMARY KEY constraint 'PK_Mytable'. Cannot insert duplicate key in object 'dbo.Mytable' with Transaction (Process ID 181) was deadlocked on lock resources with another process

I am encountering an issue while attempting to call a stored procedure from a .NET Framework application to a Microsoft SQL Server instance. The error message returned is: "Violation of PRIMARY KEY constraint 'PK_Mytable'. Cannot insert duplicate…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,236 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,100 questions
asked 2024-02-21T06:12:13.96+00:00
BalajiGnanendren-6915 0 Reputation points
edited the question 2024-02-22T01:42:33+00:00
XuDong Peng-MSFT 8,096 Reputation points Microsoft Vendor
1 answer

ASP Project Webpage issue (MS Edge) - Can't Reach Page/Refused to connect

Good Evening, I have built an ASP.NET project in Visual Studio 2022. On the Server Machine, the following localhost link works fine in MS Edge: http://localhost:<#####>/<@@@@@@@@@@>.aspx The following full/public link works fine in Internet…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,142 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,162 questions
asked 2024-02-20T22:52:47.6566667+00:00
Reh23 0 Reputation points
edited a comment 2024-02-22T01:35:16.1633333+00:00
XuDong Peng-MSFT 8,096 Reputation points Microsoft Vendor
2 answers

How to generate Classes and sub Classes list of check box razor page ?

I work on asp.net  core razor pages . i face issue i can't generate classes and subclasses view and action for class and subclass so my scenario is  1- click button will load classes list with checkbox beside every class and status will be unchecked 2-…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,162 questions
asked 2024-02-21T00:47:50.4466667+00:00
Ahmed Salah Abed Elaziz 350 Reputation points
commented 2024-02-22T01:30:57.6066667+00:00
Ping Ni-MSFT 1,365 Reputation points Microsoft Vendor
0 answers

how to fix error 0x80070005.

this picture shows a error that frequently pops up in different place. firstly I cannot update windows, and secondly I cannot download .NET Framework 3.5 (I know these interrelate) for a few games I have wanted to play. I have tried various online help…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,147 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,100 questions
asked 2024-02-21T09:26:51.6+00:00
Max Frahm 0 Reputation points
edited the question 2024-02-22T01:26:50.2533333+00:00
Jiale Xue - MSFT 17,351 Reputation points Microsoft Vendor
1 answer

Has anyone worked with an Asp.net Core Web API project implementing API versioning in .Net 8.0 and successfully deployed it in IIS?

I've implemented API versioning using Asp.Net Core web API in .Net 8.0 Framework, and it works fine in the debugger with Swagger. But when I deploy my application using IIS, I get an error page saying "Page can't be found". How can I resolve…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
asked 2024-02-03T06:59:39.54+00:00
Kesava Subhash Gullapudi 30 Reputation points
edited the question 2024-02-22T01:10:30.6866667+00:00
Jack J Jun 24,266 Reputation points Microsoft Vendor
0 answers

MAUI clang: error: no such file or directory when build iOS Project

I Create a MaUI project, and edit Project Properties -> Build -> Additional arguments -cxx -gcc_flags "-L${ProjectDir}/lib -lopencv_world490, -force_load ${ProjectDir}/lib/libopencv_world490.a" When build, it occurs error as…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,559 questions
asked 2024-02-19T08:50:22.91+00:00
Junior Jiang 1 Reputation point
edited the question 2024-02-22T01:08:09.31+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,336 Reputation points Microsoft Vendor
1 answer

Initialize BlazorWebView on Android in the background

We have a Blazor Hybrid application that uses WebRTC for voice calling. The WebRTC calling piece runs as javascript hosted in the BlazorWebView. We are attempting to connect calls when the app is not started/running. We have setup push notifications to…

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,306 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,559 questions
asked 2024-02-15T16:47:04.3233333+00:00
John Graumann 0 Reputation points
commented 2024-02-22T01:02:01.2666667+00:00
Bruce (SqlWork.com) 52,401 Reputation points
3 answers One of the answers was accepted by the question author.

Resolving "No job functions found" Error in Azure Functions

Hello, I'm encountering an issue with my Azure Functions project that's causing a persistent "No job functions found. Try making your job classes and methods public" error. Despite following the standard guidelines, the error persists. Here are…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,989 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,142 questions
asked 2023-12-25T14:30:05.5166667+00:00
Muhammad Haseeb Rehman 30 Reputation points
commented 2024-02-21T23:04:58.6866667+00:00
Mike Urnun 8,996 Reputation points Microsoft Employee
0 answers

Bypassing "Pick user popup" after Sign out in a .Net 8 Blazor WASM application

How can I modify the logout code in my .Net 8 Blazor WASM application to include the logout_hint parameter? I have already enabled the login_hint optional claim in my client application and have the value of the logged-in user's login_hint optional…

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,306 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,582 questions
asked 2024-02-21T16:05:34.4866667+00:00
Scot Woodyard 0 Reputation points
commented 2024-02-21T21:56:37.1633333+00:00
Scot Woodyard 0 Reputation points
0 answers

IOS Publish Signing problem

I have ported our Application from xamarin to .net MAUI and I was able to test it on windows, Android Device and IOS Simulator and Mac. Now I want to publish the app. We have the certificates and provisioning profiles add to the remote Mac and In the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,559 questions
asked 2024-02-21T21:16:50.6866667+00:00
Farshad Nabizadeh 0 Reputation points
0 answers

mauig1001 error

I recently uploaded this to google play and everything compiled correctly. I am suddenly getting a number of errors, the primary being the following: MAUIG1001 An error occured while parsing Xaml: Name cannot begin with the '<' character,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,559 questions
asked 2024-02-21T20:45:30.6266667+00:00
bryan rohlfsen 0 Reputation points
1 answer

Call new function based on returned value from database

Is there a way to call a function based on the output from the table? Meaning, I'm calling my table and there are at times the column may have a string in it like this { MM;Jan:Q1,Q2,Q3;Feb:Q1,Q2,A3;March;Apr;May.... }, this string can contain { MM, MMM,…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
678 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.
9,923 questions
asked 2024-02-21T19:34:58.5966667+00:00
Cloud Developer 1 Reputation point
edited a comment 2024-02-21T20:10:24.1033333+00:00
AgaveJoe 25,676 Reputation points
2 answers

Does AllowBulkExecution option for Cosmos client work with Parallel.ForEachAsync

With our Web API application we are trying to upload 3500 records to cosmos DB. We are using using Parallel.ForEachAsync method for this. When we're setting AllowBulkExecution option to true in Cosmos Client it is taking 18 sec to insert 3500 records in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,349 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.
9,923 questions
asked 2024-02-15T14:49:00.11+00:00
Debashis Jena 71 Reputation points
commented 2024-02-21T18:29:17.6+00:00
Oury Ba-MSFT 14,931 Reputation points Microsoft Employee
1 answer

multi filter to apply only two columns Field1 and Field2

Hello This is my code <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,162 questions
asked 2024-02-16T11:50:48.8733333+00:00
RAVI 536 Reputation points
commented 2024-02-21T18:07:33.1566667+00:00
RAVI 536 Reputation points
2 answers

c# Graph Api > 5..0.15 Content.GetAsync() not working any more

// https://learn.microsoft.com/en-us/answers/questions/1025116/how-to-download-a-mail-graph-api-c?orderby=oldest Stream mimeContentStream = await _graphClient.Users[{someUseriD}].Messages[{aMessageId}].Content.GetAsync(); string mailFile =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,142 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,914 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.
9,923 questions
asked 2023-08-11T09:45:01.1066667+00:00
Uwe Schöneis 10 Reputation points
commented 2024-02-21T18:06:06.34+00:00
Nelson, Joel 0 Reputation points
1 answer

Can I omit .NET Core references of Blazor WASM?

When publishing standard Blazor WASM which would be provided via Blazor server, how can I omit all references currently already available on my MAUI client? As I hope to reduce size of downloaded WASM when I am using .NET emulating within BlazorWebView,…

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,306 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,559 questions
asked 2024-02-19T17:10:23.62+00:00
Matěj Rada 0 Reputation points
commented 2024-02-21T16:58:02.67+00:00
Bruce (SqlWork.com) 52,401 Reputation points
2 answers

.Net Core Owin Packages

Team, we have an existing .Net application which is using owin. now we are upgrading to .Net core. But i am getting messages like Severity Code Description Project File Line Suppression State Warning NU1701 Package 'Microsoft.Owin 4.2.2' was restored…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,076 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
asked 2024-02-21T09:07:16.3066667+00:00
pk 5 Reputation points
answered 2024-02-21T16:32:36.05+00:00
Bruce (SqlWork.com) 52,401 Reputation points
1 answer

How can upgrade/where on daily basis to own .net /c# knowledge skills and news updates

Hello where/ how can I improve or how can I know new concepts which are released Basic c# and Advanced c# .net basic and advanced /new releases concept, framework , libraries Please help to upgrade me for daily basis for advanced and latest technologies…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,142 questions
asked 2024-02-21T15:11:08.4566667+00:00
Mahammad Rukmudin Chatarki 0 Reputation points
answered 2024-02-21T15:41:24.59+00:00
Charlie Wei 470 Reputation points
1 answer One of the answers was accepted by the question author.

Automatic joining of a Teams-Bot to an ongoing Teams meeting

I am facing the challenge of having a C# Teams bot automatically join an ongoing Teams meeting. My goal is to retrieve call information about the participants of the meeting in order to be able to process this data further. It is important to note that I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,914 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,749 questions
asked 2024-02-20T15:39:17.47+00:00
Ottmann, Thomas 20 Reputation points
commented 2024-02-21T15:36:31.09+00:00
Ottmann, Thomas 20 Reputation points
2 answers

Automapper 8.1.1 How to map list of objects

Hi, I have two different classes which I would like to map with another class. Here are the source classes: public class OrderResponse { public int order_id { get; set; } public int delivery_type { get; set; } public…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 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.
9,923 questions
asked 2022-01-25T06:51:34.827+00:00
Cenk 946 Reputation points
answered 2024-02-21T15:07:29.17+00:00
Mahammad Rukmudin Chatarki 0 Reputation points