16,714 questions with .NET-related tags

Sort by: Updated
4 answers One of the answers was accepted by the question author.

.Net 9.0 not showing in options in Visual Studio 2022 although SDK is installed -

Hi gentlemen, I have encountered a strange problem on my system. Very recently I installed .Net9 SDK on my system. When I ran dotnet--list-sdks I get the following information: When I run dotnet--list-runtimes I get the following information: …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
asked Dec 27, 2024, 7:17 PM
P. G. Choudhury 146 Reputation points
answered Jun 22, 2025, 6:02 PM
Gaurav Gupta 0 Reputation points
1 answer

.Net Maui Shell navigation, is it possible to keep previouse page state as in NavigationPage (old way)?

I have a listing page with a CollectionView control, when item clicked it opens a details page, when back button pressed on details page, i lose the scoll position on listing page! With Shell navigation the previouse page is rerendered everytime we back…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Nov 22, 2023, 11:14 AM
Shaher A 5 Reputation points
commented Jun 22, 2025, 3:19 PM
Mehdi Mieg 0 Reputation points
1 answer

Entity Framework bulk functionalities (bulk insert,bulk delete)

I'm currently working on an enterprise project that requires some logic for bulk functionalities using Entity Framework. We found a couple of options but both are under licence: EF. Core.BulkExtensions…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
asked Feb 19, 2024, 9:21 PM
Greivin Chaves 0 Reputation points
commented Jun 22, 2025, 8:39 AM
Fabien Ménager 0 Reputation points
1 answer

How to improve tapping feedback in Maui

Hello. Please. how to improve the feedback of tap recognize on a label of one character because the tapping area is small the tapping feedback is lower. In my app I have a grid row with 10 columns and in each grid cell I have a one character label with…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 11, 2025, 7:37 AM
Haviv Elbsz 2,071 Reputation points
commented Jun 21, 2025, 6:40 PM
Haviv Elbsz 2,071 Reputation points
1 answer

Supportability of XBAP + WCF Message Security + ClientFormsAuthenticationMembershipProvider + TLS 1.2-only in IE11 / PresentationHost.exe (.NET 4.8)

We are troubleshooting the following architecture scenario: • Client: XBAP application(.xbap) running in IE11/PresentationHost.exe on Windows Server 2022 • WCF Service Binding: wsHttpBinding with SecurityMode="Message Security" …

.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,267 questions
asked Jun 19, 2025, 8:20 AM
Sivagnanam Munusamy 0 Reputation points
answered Jun 21, 2025, 6:29 PM
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
1 answer

Dynamic NavMenu

I am trying to implement the default NavMenu.razor with a number of NavLinks where one of the items is not visible by default. It should only become visible after an authenticated user belonging to a specific role condition is true. My code snippet is…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 16, 2025, 10:02 PM
Onyango, David 31 Reputation points
answered Jun 21, 2025, 6:18 PM
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
0 answers

What is the way to certify commercial Windows Forms applications in .NET for Windows to inform that the application is not trusted?

We have a commercial application that was developed in C++ with .NET 4.7 Framework, and then we generated the installer with Inno Setup, but when running the application on some versions of Windows, customers claim that the application is not…

.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,267 questions
asked Jun 20, 2025, 6:40 PM
Thiago Rodrigues 0 Reputation points
edited a comment Jun 21, 2025, 6:40 AM
RLWA32 49,396 Reputation points
1 answer One of the answers was accepted by the question author.

ingenico CPX10.14 Pad - How to init and read keypad

I have a ingenico Card Reader Pad, and I want to use it as an Input device to read user Pin Number Changes. Any Ideas on best approach? I am not looking to connect to some POS System, I am only looking to use the device as an Input device for a self…

.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
42 questions
asked Jun 17, 2025, 9:26 PM
David Meisland 20 Reputation points
accepted Jun 20, 2025, 11:29 PM
David Meisland 20 Reputation points
1 answer

page components doesn't update after oidc authentication in blazor web app server based

I have a blazor web app (server based) with page components defined parametrically as below: @page "/System/{iSysnum:int?}" @page "/System/{iSysnum:int?}" @implements IDisposable @rendermode InteractiveServer @page…

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.
39 questions
asked Jun 18, 2025, 3:25 PM
Zahra Ghadyani 40 Reputation points
commented Jun 20, 2025, 4:30 PM
Syed Saleem Peera 13,055 Reputation points Microsoft External Staff Volunteer Moderator
1 answer

iOS App crash on version 15.8.4

My iOS app crash on version 15.8.4 and getting this error- Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[UIBarButtonItem initWithBarButtonSystemItem:primaryAction:menu:]: unrecognized selector sent to instance…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 20, 2025, 3:19 PM
Bhuwan 881 Reputation points
answered Jun 20, 2025, 3:28 PM
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

ExportToCsv Library Not Working in .NET 8 (Could not load type 'System.Web.HttpContext' from assembly 'System.Web' Exception)

Hi, I'm currently migrating a WinForms application from .NET Framework 4.7.2 to .NET 8, and I'm getting an exception with the ExportToCsv library, we were using it to export tabular data of Order Book, Trade Book to CSV files. In .NET Framework, we used…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
31 questions
asked Jun 10, 2025, 10:21 AM
Aman Agrahari 60 Reputation points
accepted Jun 20, 2025, 9:05 AM
Aman Agrahari 60 Reputation points
1 answer One of the answers was accepted by the question author.

ERR_SSL_PROTOCOL_ERROR when running BlazorWebAppOidcServer

0 I am trying the sample code from https://github.com/dotnet/blazor-samples/tree/main/8.0/BlazorWebAppOidcServer. The Home and Count components work fine but the Login results in : This site can’t provide a secure connection localhost sent an invalid…

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.
39 questions
asked Jun 18, 2025, 1:59 PM
Zahra Ghadyani 40 Reputation points
accepted Jun 20, 2025, 8:16 AM
Zahra Ghadyani 40 Reputation points
1 answer

How to fix error code 0x80072F8F when trying to install .Net framework 3.5 due to an OS issue Windows 11 computer

When trying to install the .Net framework 3.5 I get the following - Windows needs files from Windows Update to finish installing some features and I then click Let Windows Update download the files for you. It then says this can't be completed due to…

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
16 questions
asked Jun 20, 2025, 2:43 AM
KOG 0 Reputation points
edited an answer Jun 20, 2025, 3:57 AM
Pradeep M 9,680 Reputation points Microsoft External Staff Volunteer Moderator
2 answers

How to fix could not find error

I'm working on a maui app. when i try to build project it gives "System could not find the file. (2): C:\Users\jello\OneDrive\Masaüstü\wx\VSC\MAUI\Ccalculate\Ccalculate\obj\Debug\net9.0-android\assets." error message. how can i fix it?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 19, 2025, 6:04 PM
Eren Çam 5 Reputation points
commented Jun 20, 2025, 12:35 AM
Lê Minh Huấn 0 Reputation points
2 answers

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp

Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 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,672 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked May 8, 2024, 3:16 AM
م.طارق علي 5 Reputation points
answered Jun 19, 2025, 9:58 AM
Danny Nguyen (WICLOUD CORPORATION) 165 Reputation points Microsoft External Staff
13 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 questions
asked Sep 6, 2023, 6:51 PM
Brad Knode 70 Reputation points
answered Jun 19, 2025, 6:40 AM
R&D Microstudio 0 Reputation points
0 answers

how to change the color of the rippleDrawable of button in .net android?

I am using .net android and how to edit the color of the rippleDrawable of button in .net android? I have set the colorstatelist of enabled but it not changed.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 19, 2025, 4:33 AM
mc 5,406 Reputation points
1 answer One of the answers was accepted by the question author.

.NET 9 Core MVC - Database qurstions

I have a very old MS SQL database. When I say old, I really mean that it was created and built upon without any adherence to proper database design discipline. Anyways, this is currently running a very outdated combination of asp and asp.net webform…

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
16 questions
asked Jun 17, 2025, 6:27 PM
Michael Torres 40 Reputation points
edited a comment Jun 18, 2025, 8:59 PM
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
0 answers

Supportability of XBAP + ClientFormsAuthenticationMembershipProvider + WCF Message Security + TLS 1.2-only in IE11 / PresentationHost.exe (.NET 4.8)

We are troubleshooting the following architecture scenario: Client: XBAP application (.xbap) running in IE11 / PresentationHost.exe on Windows Server 2022 WCF Service Binding: wsHttpBinding with Security mode="Message" (certificate used for…

.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,267 questions
asked Jun 18, 2025, 10:37 AM
Sivagnanam Munusamy 0 Reputation points
2 answers

How to Rename a Solution and Projects in Visual Studio 2022 Without Affecting Functionality?

I have a working application that includes Blazor Server, Blazor WASM, and an API. I want to change the names of the solution and the projects while ensuring that the current application remains unaffected. What is the easiest and problem-free way to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,815 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,672 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,557 questions
asked Nov 29, 2024, 7:38 AM
Cenk 1,036 Reputation points
answered Jun 18, 2025, 4:26 AM
Danny Nguyen (WICLOUD CORPORATION) 165 Reputation points Microsoft External Staff