23,020 questions with .NET-related tags

Sort by: Updated
0 answers

.net maui await Shell.Current.GoToAsync("..") Error in WSA

use await Shell.Current.GoToAsync("..") to return the last page, it works properly in genymotion emulator and physical device. when I deploy to wsa, Shell.Current.GoToAsync("..") will throw any…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-07T01:45:07.57+00:00
cheapw 21 Reputation points
commented 2024-02-23T01:29:18.4+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
0 answers

the view will receive tap event even there is another VerticalStackLayout on it?

I am using Maui and I find that the view will receive tap when there is VerticalStackLayout on it. not tapped tapped on the white space it is VerticalStackLayout and a Border both in Grid when I tapped on it the Border received the tapp and change its…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-17T08:31:45.4+00:00
mc 3,441 Reputation points
commented 2024-02-23T01:27:54.9033333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-22T09:24:18.17+00:00
Challa, Koteswara Rao 0 Reputation points
edited the question 2024-02-23T01:27:42.16+00:00
Rob Caplan - MSFT 5,397 Reputation points Microsoft Employee
1 answer

exceptionForHR in long polling from API, timer goes in two..

Hello I have my JoingMeetingViewModel private string? elapsedTimeString; private readonly Stopwatch? stopwatch = new(); private Timer? meetingTimer; private Timer? breakTimeTimer; private MeetingData? data; private Timer?…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-17T14:52:03.1033333+00:00
Eduardo Gomez 3,196 Reputation points
commented 2024-02-23T01:27:07.4966667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
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,567 questions
asked 2024-02-15T17:46:51.5566667+00:00
Jerome Mx 21 Reputation points
commented 2024-02-23T01:26:27.2333333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 24,336 Reputation points Microsoft Vendor
1 answer

Uninstalling NuGet packages in a .NET MAUI project

When I created a .NET MAUI project, some NuGet packages were installed by default. These packages are causing errors when I try to reference another project in this project. However, these packages are not listed in the project file, and I am unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-19T11:54:56.0333333+00:00
Gopi Matham 0 Reputation points
commented 2024-02-23T01:26:23.2266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
1 answer

How to make my MAUI app use the latetest Microsoft.WindowsAppSDK

I have my MAUI app running on the latest version of MAUI, but see in the transitive dependencies that the used Microsoft.WindowsAppSDK is still version 1.3.x. While there is a stable version of 1.4.x which contains fixes for my WinUI app which I would…

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.
693 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-20T06:50:35.1366667+00:00
C. Veeningen (c) 0 Reputation points
commented 2024-02-23T01:26:10.9266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
0 answers

How receives push notification in Windows with MAUI

I'm creating an application using .NET8 MAUI. The application registers the device in an Azure Notification Hub. From here, I can send push notifications to the different devices. The problem I have with Windows is that the message arrives on the…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
241 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-23T00:27:46.38+00:00
Enrico Rossini 126 Reputation points
edited the question 2024-02-23T01:25:46.5366667+00:00
Rob Caplan - MSFT 5,397 Reputation points Microsoft Employee
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,567 questions
asked 2024-02-22T21:34:22.17+00:00
Sami 721 Reputation points
edited a comment 2024-02-23T01:24:11.15+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
0 answers

Register an iOS device to the Azure Notification Hub

I'm creating an application with .NET8 MAUI and I like to add the push notification for all platforms. I have already added the push notification for Windows and Android but I'm stuck with iOS. In Windows, for example, I wrote this code var channel =…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
241 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-23T01:18:32.3+00:00
Enrico Rossini 126 Reputation points
edited the question 2024-02-23T01:21:50.49+00:00
Rob Caplan - MSFT 5,397 Reputation points Microsoft Employee
0 answers

Error Add-Migration ?

I'am student and I learn ASP.NET.CORE 6 MVC so I use Add-Migration in the Packed Manager Console. I see error No suitable constructor was found for entity type 'FilterDescriptor'. The following constructors had parameters that could not be bound to…

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
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
474 questions
asked 2024-02-22T11:14:49.4466667+00:00
LiaLia 0 Reputation points
edited the question 2024-02-23T01:21:32.06+00:00
Lan Huang-MSFT 22,751 Reputation points Microsoft Vendor
1 answer

Ne maui Windows platform before open sign in without titlebar ?

Ne maui Windows platform before open sign in page without titlebar ? after signed in show titlebar as well as expected. Also How to show and hide some pages with maximize or minimize events ? Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,567 questions
asked 2024-02-17T20:05:40.08+00:00
Sami 721 Reputation points
commented 2024-02-23T01:17:51.2233333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 30,186 Reputation points Microsoft Vendor
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,148 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,626 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,403 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,935 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.
744 questions
asked 2024-02-22T18:34:30.8433333+00:00
Yvon 0 Reputation points
commented 2024-02-23T00:44:57.7666667+00:00
Yvon 0 Reputation points
0 answers

Graph query only returns 50 tasks

Hi, I have a to do list with ~1000 tasks and would like to delete all of them. So I made a nice little C# program to load all the tasks, filter them, and delete all those that fit. That's supposed to delete around 90% of them. Unfortunately though, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,148 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,940 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,935 questions
asked 2024-02-22T23:30:25.16+00:00
Metallkiller 21 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,567 questions
asked 2024-02-22T17:33:16.1766667+00:00
Kuler Master 221 Reputation points
commented 2024-02-22T23:07:12.7933333+00:00
Kuler Master 221 Reputation points
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,241 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

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
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,626 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,935 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,148 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,164 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,935 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