23,474 questions with .NET-related tags

Sort by: Updated
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
1 answer

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
commented 2024-03-28T07:29:53.2433333+00:00
Hugh Self Taught 41 Reputation points
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
1 answer

Layout doesn't stick to my option

This is my xaml <Border BackgroundColor="#E1E4D8" HorizontalOptions="Center" VerticalOptions="Center" WidthRequest="800"> <VerticalStackLayout …

.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-27T18:13:35.5366667+00:00
Eduardo Gomez Romero 25 Reputation points
commented 2024-03-28T07:23:05.3666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
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:20:05.13+00:00
Eduardo Gomez Romero 25 Reputation points
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-28T07:08:54.09+00:00
Vaibhav Methuku 0 Reputation points
1 answer

What is the Best automated Unit test project for Blazor Web Assembly Project(.Net 8)? Selenium or BUnit Testing?

Hello Everyone, Can some one clarify me What is the Best automated Unit test project for Blazor Web Assembly Project(.Net 8)? Selenium or BUnit Testing? Please let me know all the details about these. Please share me if any Github Repo…

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-25T22:34:49.77+00:00
Samuel David 21 Reputation points
answered 2024-03-28T07:04:49.6433333+00:00
Scarlett Johansson 0 Reputation points
0 answers

Best Practices for Two-Way Data Binding in Large .NET Applications

Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
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.
710 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-19T17:01:43.8666667+00:00
arunkumar.mr 0 Reputation points
commented 2024-03-28T06:22:50.5566667+00:00
Xiaopo Yang - MSFT 11,081 Reputation points Microsoft Vendor
1 answer

Permutations Array?

Good day all Master! please help me to fix my problem. This problem is a permutations process. If I click button OK it well shuffle and this display in the listBox1. Please take look the picture below. at this image as you can see it's do permutations…

.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-09T02:28:32.5766667+00:00
Jay-R Hayashi 186 Reputation points
commented 2024-03-28T06:22:17.6366667+00:00
Jiale Xue - MSFT 24,021 Reputation points Microsoft Vendor
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
answered 2024-03-28T05:53:40.0066667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,301 Reputation points Microsoft Vendor
1 answer

how to get imeid or device id in android in maui?

can I get the device Id or IMEID scene is there is many devices and I want to sign them and I have to write something in each device?

.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-27T15:05:21.0433333+00:00
mc 3,521 Reputation points
answered 2024-03-28T05:44:28.8033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,486 Reputation points Microsoft Vendor
0 answers

Simple Graph Chart Required For Asp.net c# MS SQL

Hello This is my table data /****** Object: Table [dbo].[Table_2] Script Date: 03/28/2024 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Table_2]( [ID] [int] IDENTITY(1,1) NOT NULL, [JAN] [float]…

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-28T05:39:53.7333333+00:00
RAVI 776 Reputation points
1 answer

Typescript Declaration Files showing as compilation error in Completely Unrelated Project

This has been happening since the dawn of time and I'm finally annoyed enough to reach out to see if this can be resolved. I have a VS solution (this one happens to be a Blazor App) that shows hundreds of errors in http.d.ts which is not in my solution…

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,348 questions
asked 2024-03-12T00:32:36.51+00:00
Bob Crowley 0 Reputation points
edited the question 2024-03-28T05:38:43.81+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
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
commented 2024-03-28T05:32:15.56+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
0 answers

Creating an IOS app visual studio error

Trying to create a project and when I click create it pops up with an error and I can't seem ti find an answer as to why. Any help please.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-03-25T10:54:39.14+00:00
jf3000 0 Reputation points
commented 2024-03-28T05:15:09.3366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
0 answers

i get error Document was closed when try to display page number on pdf ?

I try to display page number at the the bottom of every page when export to pdf but i get error as below I get error iText.Kernel.Exceptions.PdfException: 'Document was closed. It is impossible to execute action.' on line int pageCount =…

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
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-26T10:12:55.9566667+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2024-03-28T05:09:23.7033333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
0 answers

Fixing issues with AOT compilation

Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…

.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-28T04:42:41.8566667+00:00
MKinOZ 1 Reputation point
0 answers

Opening a Window Using Its Name

From my MainWindow I am trying to open another window knowing only its name. In my MainWindow ViewModel, I have: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (lpClassName As String, lpWindowName As String) As…

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
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
asked 2024-03-26T09:29:31.52+00:00
RogerSchlueter-7899 1,176 Reputation points
edited a comment 2024-03-28T03:58:52.8966667+00:00
KOZ6.0 4,495 Reputation points
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
edited the question 2024-03-28T03:24:38.0366667+00:00
奕縢 陳 0 Reputation points
1 answer

Seeking Guidance for Invoice Extraction Project Using ML.NET with Blazor

Hello ML.NET community, I am embarking on a project to develop an invoice extraction application using Blazor, and I'm planning to integrate ML.NET for accurate invoice data extraction. As a newcomer to both Blazor and ML.NET, I am seeking guidance 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,348 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
150 questions
asked 2024-03-22T09:39:56.1966667+00:00
Dinushan 0 Reputation points
edited the question 2024-03-28T03:19:29.7333333+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor