23,019 questions with .NET-related tags

Sort by: Updated
1 answer

Is there any equivalent packages available in .NET MAUI for Xamarin.GooglePlayServices.Base

We are migrating our Application from Xamarin to .NET MAUI and we are using .NET 8.0 for migration. Previously we are using Xamain.GooglePlayServices.Base NuGet package in Xamarin but in .NET MAUI framework .NET 8.0 this NuGet package is not supported…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,254 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 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,938 questions
asked 2024-02-22T09:24:18.17+00:00
Challa, Koteswara Rao 0 Reputation points
answered 2024-02-22T22:33:50.78+00:00
Mel Cvjetko 1 Reputation point Microsoft Employee
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,240 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
BalajiG2000 0 Reputation points
commented 2024-02-22T22:13:35.5833333+00:00
Erland Sommarskog 98,726 Reputation points
0 answers

Net maui Colectionview Item can not re click again? how to fix it ?

Net maui Colectionview Item can not re click again ? how to fix it ? I have 2 menus when I clicked again the same item that is not possible to fire...How to do ? ...Thanks..

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 questions
asked 2024-02-22T21:34:22.17+00:00
Sami 721 Reputation points
0 answers

How to save all the changes of a datagrid in WPF C# back to database?

I am having similar issue as @Mesh Ka posting the filtering comboboxes https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution. My challenging now is how to save the changes…

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,628 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,938 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
746 questions
asked 2024-02-22T18:16:00.6633333+00:00
Yvon 0 Reputation points
commented 2024-02-22T21:18:54.0633333+00:00
Yvon 0 Reputation points
0 answers

How to save all the changes of a datagrid in WPF C# back to database?

I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…

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,628 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,938 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
746 questions
asked 2024-02-22T18:27:22.5033333+00:00
Yvon 0 Reputation points
commented 2024-02-22T21:18:37.98+00:00
Yvon 0 Reputation points
1 answer

How to save all the updates in a datagrid (set of comboboxes) MVVM back to the database in WPF C#?

I have similar issue as @Mesh Ka working on the filtering between comboboxes. https://learn.microsoft.com/en-us/answers/questions/1481853/filtering-a-combobox-in-a-datagrid-based-on-anothe Thanks for the solution! The challenge I have is to save all the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,147 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,628 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,404 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,938 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
746 questions
asked 2024-02-22T18:34:30.8433333+00:00
Yvon 0 Reputation points
edited an answer 2024-02-22T20:50:31.0633333+00:00
Chandan Gupta Bhagat 0 Reputation points
0 answers

Deploying .NET 8 Blazor Interactive WebApp to an "app" in IIS fails

When deploying a new Blazor .NET 8 application to IIS it seems that adding it as an "application" to an existing site does not work properly - none of the JS, CSS or images load; as well as some routing issues. If I create a new .NET 7 Blazor…

Internet Information Services
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,311 questions
asked 2024-02-22T18:40:13.22+00:00
Wiaduck, Mark 0 Reputation points
edited a comment 2024-02-22T20:25:17.38+00:00
AgaveJoe 25,681 Reputation points
1 answer

.NET MAUI Blazor Hibryd App Localization

Hello guys, What localization technique is the BEST? I see people use a lots of diff techniques so I was wondering what is the, let's say most standard approach. In other words, which one will not cause any trouble later, when I need to do something…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,999 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,311 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 questions
asked 2024-02-22T17:33:16.1766667+00:00
Kuler Master 221 Reputation points
answered 2024-02-22T18:52:13.3666667+00:00
Bruce (SqlWork.com) 52,486 Reputation points
0 answers

Contents of WPF Web Browser control are overflowing the boundries of parent Data Grid Control

I am using Web Browser control in a WPF project. My development environment is Windows10 DontNet 6.0. HTML contents are coming nicely in Web Browser control. However, when I scroll down the data grid control, the contents in web browser are overflowing…

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,628 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,938 questions
asked 2024-02-22T17:59:49.4466667+00:00
Tayyab hussain 0 Reputation points
2 answers One of the answers was accepted by the question author.

Can an API be built with ASP.NET web application?

Hello Community, From the tutorials I have been seeing it looks like APIs are built only if an application is created with MVC. But is it possible to build an API with ASP.NET web application? And how do I go about from start? Thank you

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,147 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,165 questions
asked 2024-02-22T07:17:47.85+00:00
Donald Symmons 2,706 Reputation points
edited an answer 2024-02-22T17:41:48.48+00:00
Albert Kallal 4,486 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,938 questions
asked 2024-02-21T19:34:58.5966667+00:00
Cloud Developer 1 Reputation point
commented 2024-02-22T17:33:41.76+00:00
Cloud Developer 1 Reputation point
1 answer One of the answers was accepted by the question author.

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,311 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,603 questions
asked 2024-02-21T16:05:34.4866667+00:00
Scot Woodyard 20 Reputation points
accepted 2024-02-22T17:28:37.21+00:00
Scot Woodyard 20 Reputation points
2 answers One of the answers was accepted by the question author.

Migrating from WebForms to Blazor

We are currently using ASP.NET WebForms for all sections including, Front pages, Administration and various control panels for different client types. Obviously we want to migrate to ASP.NET Blazor but in the first phase we want to migrate only the front…

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,999 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,311 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,165 questions
asked 2024-02-19T07:37:55.21+00:00
Kuler Master 221 Reputation points
accepted 2024-02-22T17:23:03.6766667+00:00
Kuler Master 221 Reputation points
0 answers

BUG: MAUI Blazor Android - Click on any form element creates a submit button click handler firing loop

Hi, I have an almost pristine NET 8 MAUI Blazor app example, freshly created in Visual Studio 2022. https://github.com/nine-2-five/MauiBlazorWebViewClick The example is on /login page: If you build it and run on an Android emulator you'll find that…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 questions
asked 2024-02-21T06:43:18.4266667+00:00
PieSquared 1 Reputation point
edited a comment 2024-02-22T17:09:02.3+00:00
PieSquared 1 Reputation point
1 answer

AndroidX build error in iOs App!?

for no apparent reason, with no code changes, my successfully building and running ipad application startedgiving me what looks like an android related error!? Its wasted a lot of my precious little time and blocked my ability to progress with this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 questions
asked 2024-02-15T17:46:51.5566667+00:00
Jerome Mx 21 Reputation points
answered 2024-02-22T16:50:43.6733333+00:00
Jerome Mx 21 Reputation points
0 answers

"Error adding record: MissingEntitlement" when using secure storage

Hello, I use a mac m1, NET8 MAUI and vs code. I created a simple project. I use secure storage. I get this exception "Error adding record: MissingEntitlement" I checked, and I had this file under platforms/MacCatalyst I added this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 questions
asked 2024-02-16T19:03:30.9+00:00
Roman Prystaiko 15 Reputation points
commented 2024-02-22T16:45:11.1166667+00:00
Bule 0 Reputation points
1 answer

exception issue

Hello, I encounter this exception: Does that mean there is an issue with my code or something from the server? thanks,

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,311 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,938 questions
asked 2024-02-22T15:07:56.4433333+00:00
Saeed Pooladzadeh 221 Reputation points
answered 2024-02-22T16:24:00.6833333+00:00
Bruce (SqlWork.com) 52,486 Reputation points
1 answer One of the answers was accepted by the question author.

Progression of Learning / Practicing Microsoft

If I follow this link, I see that there are instruction to create my own website. Before I start this project, I would like to know if there are other, similar projects available. If so, is there a progression of difficulty to these…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,165 questions
asked 2024-02-22T01:48:08.51+00:00
maureen flannery 21 Reputation points
commented 2024-02-22T16:23:13.73+00:00
AgaveJoe 25,681 Reputation points
4 answers

Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction

I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0,…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,991 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,999 questions
asked 2023-01-27T16:29:45.1233333+00:00
john john 906 Reputation points
edited an answer 2024-02-22T16:03:21.5366667+00:00
Jagadeesh Gangadhar Junjuri 0 Reputation points
1 answer

VS 2022 debugger has gone to useless

So yesterday I had a Null Exception and it would fire even in a try. Now when I get an exception i get the following: | | ||Name|Value|Type| ||teamRoster|Local variables and arguments are not available in '[Exception]' call stack frames. To obtain…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,404 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,565 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
908 questions
asked 2024-02-22T14:25:22.1233333+00:00
Lloyd Sheen 1,331 Reputation points
answered 2024-02-22T15:21:10.7+00:00
Lloyd Sheen 1,331 Reputation points