23,475 questions with .NET-related tags

Sort by: Updated
0 answers

UnhandledException not fire in publish(realsed) mode as exe

Hi, Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 why UnhandledException not work in reeased mode after publish. public partial class App : Application { public App() { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-25T07:58:43.6333333+00:00
דני שטרית 2,486 Reputation points
commented 2024-03-28T09:38:17.22+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

How can i use System.Windows.Forms.DataVisualization.Charting.Chart under linux

Using .net 8 and nuget HIC.System.Windows.Forms.DataVisualization dont work if i want it commpile for Linux

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 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,094 questions
asked 2024-03-22T13:52:36.33+00:00
Stefan Hoffmann 0 Reputation points
commented 2024-03-28T09:38:12.8833333+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
0 answers

System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm

Hi, I recently migrated my Windows Form app which was running in .NET framework 4.5.1 and migrated to .NET Framework 4.7.1. This latest migrated app is running in a production site. The configurations of the PC running the App is: OS: Windows 10 Pro …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
asked 2024-03-25T05:37:15.46+00:00
Petchiammal Rajumayandi 61 Reputation points
commented 2024-03-28T09:36:36.58+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
2 answers

What Is the Best Way to See Raw Data Stream Being Passed from SQL to .NET Application?

I am running some functions on application startup for my .NET application. This mostly involves running a bunch of scripts on my SQL database to ensure plans are cached. These queries are generated from EFCore-compiled queries. In doing this, I…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,075 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.
12,479 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,685 questions
asked 2024-03-14T19:52:31.8+00:00
Mike-E-angelo 441 Reputation points
commented 2024-03-28T09:18:49.9+00:00
Mike-E-angelo 441 Reputation points
1 answer

Maui for android pinch gesture container issue

Hello All. I use Ver 17.10 preview 1 and Android Ver 34. I try to add Pinch Gesture Container and I get an error message. As below: What I miss. Please any help. Thank you. //Error I get //MainPage.xaml : XamlC error : Failed to resolve assembly:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T19:11:29.31+00:00
Haviv Elbsz 1,826 Reputation points
edited a comment 2024-03-28T08:52:25.0666667+00:00
Haviv Elbsz 1,826 Reputation points
0 answers

Busy indicator is not visible in windows - Maui

Hello, I'm doing the UI operation, I want to display the busy indicator, I had added in the below way. try { var expander = sender as Expander; var headerText = (expander.Header as Border)?.Content is StackLayout headerStackLayout …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T09:56:56.5266667+00:00
Vaibhav Methuku 0 Reputation points
edited a comment 2024-03-28T08:51:33.44+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
1 answer

Binding to command defined in viewmodel not working using CommunityToolkit.Maui

I have a MAUI app that I am using CommunityToolkit.Maui to implement the MVVM pattern. I have the XAML markup with the code-behind and a view model in which I define a set of methods attributed with [RelayCommand]. In the XAML, I am creating a label with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 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.
756 questions
asked 2024-03-27T20:34:33.74+00:00
DRutter 1 Reputation point
answered 2024-03-28T08:47:47.0466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

Render a custom map pin based on a view not working on ios

MauiApp1.zip.log Hi, Hoping to get some assistance with this. I have implemented rendering of a custom pin based on a view in android ok but having issues with ios. I'm using the following code to get the view convert it into an image and then add it to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T05:47:54.3533333+00:00
John Clarete 0 Reputation points
edited a comment 2024-03-28T08:33:26.0066667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
0 answers

How to change the color of hamburger menu icon in Windows - Maui

Hello, When ever I add the flyout page in maui, I can able to see the default hamburger menu icon in the windows. I want to remove that icon and my desired icon or please let me know is there any posibility to change the color of the icon. FYI -…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T06:51:58.7+00:00
Vaibhav Methuku 0 Reputation points
commented 2024-03-28T08:22:05.2766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
2 answers

Unable to hit debug point in C# Library from Android MAUI .NET7 App

We have a MAUI .NET 7 UWP Application, from the MAUI App C# .NET 6 library is being called. Visual Studio 2022 IDE we are using for development. When it comes to Windows build, we are able to debug the C# library methods. However from Android, debugging…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-20T07:10:46.7833333+00:00
Vaibhav Methuku 0 Reputation points
answered 2024-03-28T08:16:52.88+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
0 answers

How to create Dialog, bar graphs in Blazor Webassembly with dynamic data. It will be common component

Title: Creating Dialogs and Bar Graphs in Blazor WebAssembly with Dynamic Data. It will be a common component. Description: I'm currently working on a Blazor WebAssembly project and I need some guidance on two specific tasks: creating dialogs and…

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,349 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.
2 questions
asked 2024-03-28T08:14:22.2566667+00:00
Azizullah Ali 0 Reputation points
0 answers

Listview item click is not working in android MAUI

I have a Listview and added a context actions in the listview. I am able see the context action after long press the list item and it is working fine. But the listview item click is not working in android. But it works in windows. Can anyone help me on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T09:17:27.55+00:00
Amose Kumar R 5 Reputation points
commented 2024-03-28T08:09:56.7133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
0 answers

How To make Common Filter Component in Blazor Web Assembly project

Please Describe How i make Common filter component

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,349 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.
2 questions
asked 2024-03-14T06:27:12.5133333+00:00
Azizullah Ali 0 Reputation points
commented 2024-03-28T08:06:44.6366667+00:00
Azizullah Ali 0 Reputation points
0 answers

ASP.NET - xmlformatter

I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,218 questions
asked 2024-03-27T19:42:09.1466667+00:00
Darryl Hoar 121 Reputation points
edited a comment 2024-03-28T08:06:32.6233333+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Close/minimize/maximize moved to left size

Hi, I moved to vs 17.8.4 .NET 8 and close/minimize/maximize of maui app moved to left size is by desin ?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-01-16T15:38:55.2366667+00:00
דני שטרית 2,486 Reputation points
commented 2024-03-28T08:01:58.2733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,381 Reputation points Microsoft Vendor
0 answers

WPF ListBoxItem SelectionItemPattern Availability Issue

In a standard WPF application, ListBoxItem is expected to consistently support the SelectionItemPattern, irrespective of its selection state. However, I have observed that when a ListBoxItem is selected, the IsSelectionItemPatternAvailable property…

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,646 questions
asked 2024-03-28T03:06:31.35+00:00
奕縢 陳 0 Reputation points
commented 2024-03-28T07:46:23.66+00:00
Hui Liu-MSFT 31,116 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Change late binding after setting Option Strict on

Hi Gurus, I am correcting errors after changing option strict to on. I have been able to correct everything with the exception of the following code which gets the outlook email signature file. The underline is under fso.getfile and under ts.readall I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 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,539 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,109 questions
asked 2024-03-27T20:12:04.2066667+00:00
Hugh Self Taught 41 Reputation points
accepted 2024-03-28T07:46:13.4433333+00:00
Hugh Self Taught 41 Reputation points
1 answer One of the answers was accepted by the question author.

Relay Command doesn't get triggered.

I am making a ribbon like menu. For achieving, I created three basic components. Component Item Class Menu Template (XAML) Menu Template (Code Behind) The class define each item public class MenuComponentItems { public string ImageSource {…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-26T01:16:51.1033333+00:00
Eduardo Gomez Romero 25 Reputation points
accepted 2024-03-28T07:43:47.32+00:00
Eduardo Gomez Romero 25 Reputation points
2 answers

ASP.Net Core 7.0 Web App (Model-View-Controller) ErrorViewModel OnGet OnPost do not get called or executed

I'm trying to follow the following article in order to implement global error handling and a custom error page for my web site. https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-7.0 Running the app with IIS Express…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,075 questions
asked 2024-03-27T14:09:17.93+00:00
Rob Kemp 0 Reputation points
answered 2024-03-28T07:38:11.3166667+00:00
Brando Zhang-MSFT 2,636 Reputation points Microsoft Vendor
0 answers

Unclear exception captured

Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,218 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,094 questions
asked 2024-03-25T03:01:18.4666667+00:00
Peter_1985 2,466 Reputation points
commented 2024-03-28T07:26:18.02+00:00
Peter_1985 2,466 Reputation points