26,188 questions with .NET-related tags

Sort by: Updated
0 answers

how to mitigate many .NET CVEs at once

I need a reliable way to mitigate many .NET CVEs which I have identified in one go. How can I best do this

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 questions
asked 2024-11-21T09:27:58.8266667+00:00
Lwazi Qamata 0 Reputation points
0 answers

String is converted into invalid UTF-8 characters when passed into model from controller

Controller: DataTable dtt = new CommonModel().ManualQuerySelect("select isnull(ReportTitle,'Journal Voucher') from gen_VoucherTypes where VoucherType = 6 and LogSourceID = 0", clsCommon.AccountsnewConnectionString).Tables[0]; Model: public…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,519 questions
asked 2024-11-21T07:57:29.0866667+00:00
Huzaifa Sajid 0 Reputation points
commented 2024-11-21T09:25:24.5633333+00:00
Lan Huang-MSFT 29,911 Reputation points Microsoft Vendor
0 answers

Problem with the new Edge-to-Edge requirement in Android 15 when using net9.0-android35

Before modifying my app to support edge-to-edge, I thought I’d first try with one of my sample apps on my GitHub page. The existing sample app didn’t have a fragment with a RecyclerView, so I added a new fragment containing a RecyclerView to test the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-18T02:42:04.89+00:00
Graham McKechnie 421 Reputation points
commented 2024-11-21T09:02:14.8666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer

How to change tabbar style (font and size and ...)

i want change the style of tabbar menu item font and size and color how to do it ? AppShell <TabBar > <Tab Title="پروفایل" > <Tab.Icon> <FontImageSource FontFamily="MDReg"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,636 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 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.
816 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,636 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 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.
816 questions
asked 2024-11-14T05:09:08.0233333+00:00
Mahdi Elahi 31 Reputation points
answered 2024-11-21T08:59:23.61+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
1 answer

How to change tabbar style (font and size and ...)

i want change the style of tabbar menu item font and size and color how to do it ? AppShell <TabBar > <Tab Title="پروفایل" > <Tab.Icon> <FontImageSource FontFamily="MDReg"…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,636 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 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.
816 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,636 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 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.
816 questions
asked 2024-11-14T05:09:08.0233333+00:00
Mahdi Elahi 31 Reputation points
answered 2024-11-21T08:59:23.61+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
0 answers

Slow startup time and collection

I do not know what Microsoft did in .net 9, I am experiencing a weird error, where even if I put a startup time of 2 seconds, and it takes 13 seconds this is my startup page public partial class StartupPageViewModel : ObservableObject { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-20T16:15:51.9433333+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:58:37.64+00:00
Eduardo Gomez Romero 905 Reputation points
0 answers

CollectionView API image

For some reason my colletionView doesn't want to show the images <CollectionView Grid.Row="2" Margin="20" HorizontalOptions="CenterAndExpand" ItemsSource="{x:Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-20T12:37:44.04+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:56:53.27+00:00
Eduardo Gomez Romero 905 Reputation points
1 answer

combining shell with navigation with window navigation

As you already know, .net 9 is out and with that we have a tithe bar for windows I have my appshell, that enable me to go page to page <!-- Flyout for Desktop --> <FlyoutItem Title="{x:Static rex:AppResource.HomePage}" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-20T12:22:10.5+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:54:41.0733333+00:00
Eduardo Gomez Romero 905 Reputation points
0 answers

Can't deploy Visual Studio Net 9.0 project with Android

While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 0 Reputation points
0 answers

first page to be a windows

Hello In my app I have am MainPage and a MainWindow What I want to do is that if I'm on desktop, the first page to be MainWindow, if not to be the mainPage 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.
3,647 questions
asked 2024-11-19T20:35:22.4833333+00:00
Eduardo Gomez Romero 905 Reputation points
commented 2024-11-21T08:37:09.7433333+00:00
Eduardo Gomez Romero 905 Reputation points
1 answer

Double tapping Editor control locks app when deployed to iOS

Double tapping the Editor locks the app when deployed to iOS. This occurs for both net 8 and 9. Entry control works well and does not lock up the app. I added Editor and Entry controls to the demo Maui app as below. Am I missing a setting? Any known…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 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.
816 questions
asked 2024-11-14T07:29:50.46+00:00
TazKing 85 Reputation points
answered 2024-11-21T08:20:58.96+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor
1 answer

Configure AD Groups to use with Roles in .NET Core (C# 8) MVC

I am trying to use policy based authorisation in an MVC app in C# .NET CORE (8) , using membership of OnPrem AD groups to assign roles . This is a snippet of the appsettings.json telling the system I want to grant the Admin role to members of AD…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,636 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.
11,048 questions
asked 2024-11-20T15:33:49.45+00:00
Richard Scannell 361 Reputation points
answered 2024-11-21T08:10:00.61+00:00
Richard Scannell 361 Reputation points
1 answer One of the answers was accepted by the question author.

How to handle nullreference exception in "NM_CUSTOMDRAW" notification message?

Hello, I have a windows forms application having a user control . The user control has a Treeview named as TriView. TriView's drawmode is set to OwnerDrawAll. The form is visible all the time. When I run my application and switch between the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 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.
11,048 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,742 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,172 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 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.
11,048 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,742 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,172 questions
asked 2022-06-28T12:23:02.77+00:00
Rashmi Gupta 81 Reputation points
commented 2024-11-21T07:58:03.1433333+00:00
Ruri Nanase 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to handle nullreference exception in "NM_CUSTOMDRAW" notification message?

Hello, I have a windows forms application having a user control . The user control has a Treeview named as TriView. TriView's drawmode is set to OwnerDrawAll. The form is visible all the time. When I run my application and switch between the…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 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.
11,048 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,742 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,172 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 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.
11,048 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,742 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,172 questions
asked 2022-06-28T12:23:02.77+00:00
Rashmi Gupta 81 Reputation points
commented 2024-11-21T07:58:03.1433333+00:00
Ruri Nanase 0 Reputation points
3 answers One of the answers was accepted by the question author.

The problem lies in SeedData

I am following the article written by Rick Anderson about ASP.NET Core MVC web development with controllers and views. I face a fatal problem in the fifth part, working with a database. specifically the following statement in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,636 questions
asked 2024-11-20T01:48:47.58+00:00
Abdou/Fawzy Aboyoussef 0 Reputation points
commented 2024-11-21T06:36:32.5666667+00:00
Abdou/Fawzy Aboyoussef 0 Reputation points
0 answers

The program '[20628] MauiBlazorWeb.Maui.exe' has exited with code 2147958009 (0x80073cf9).

My code was successfully launching desktop app, android app, but yesterday onwards[i doubt after windows update] this is not working... and its giving me this error The program '[20628] MauiBlazorWeb.Maui.exe' has exited with code 2147958009…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-20T12:50:31.1866667+00:00
Jose KJ 0 Reputation points
commented 2024-11-21T06:33:56.39+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 44,481 Reputation points Microsoft Vendor
0 answers

Blazor Tutorial is "out of date"?

This question has been deleted. This question has been deleted. This question has been deleted.

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.
9 questions
asked 2024-11-19T16:42:14.25+00:00
Compton MacKenzie 0 Reputation points
commented 2024-11-21T06:13:17.33+00:00
Pradeep M 3,935 Reputation points Microsoft Vendor
0 answers

.NET MAUI app crashing on startup, apparently with an error in DirectUI::PointerAnimationUsingKeyFrames

I am an app developer, working with .NET MAUI. I have a .NET MAUI app published in the store, at **ms-windows-store://pdp/?productid=9WZDNCRFJ43B **which, for some users, is consistently crashing during startup, apparently in a call to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-18T10:11:03.81+00:00
Jim Chapman 11 Reputation points
edited a comment 2024-11-21T06:12:41.06+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor
1 answer

Tabbed Page - Tab Text truncate issue for MAUI 8.

Hi, I have converted project from Xamarin Forms to MAUI 8. There is a new feature request to Add Tab bar navigation on the app. There are 5 tabs at the bottom of app. I have implemented AppTabbedPage.xaml and added 5 pages. for Tab navigation. One of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-19T11:49:10.3433333+00:00
Chaurasia, Gaurav 0 Reputation points
edited a comment 2024-11-21T06:03:26.7666667+00:00
nandu kathmandi 1 Reputation point
0 answers

How to use a svg file as icon in a .net maui class library?

I'm moving some code to a sub project, for better modularity. As I don't want to reference the main app, I want to import the resource to this sub project. Here is the code I need help with: var notificationBuilder = new NotificationCompat.Builder(this,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,943 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 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.
11,048 questions
asked 2024-11-20T07:15:31.08+00:00
AbsolutelyFreeWeb 1 Reputation point
commented 2024-11-21T05:56:19.9766667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 32,781 Reputation points Microsoft Vendor