5,369 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 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 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 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
2 answers One of the answers was accepted by the question author.

How to change the grey default background of a combobox in wpf in xaml

Hi how can I change the grey default background color of a combobox? Of the selected Item not the dropdown list Any help?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,854 questions
asked Feb 2, 2024, 8:36 PM
VFarkas 30 Reputation points
commented Jun 17, 2025, 10:56 AM
Jan-Willem Alderliesten 5 Reputation points
2 answers One of the answers was accepted by the question author.

.NET 8 WinForms Migration – System.Data.SQLite vs Microsoft.Data.Sqlite

Hi everyone, I'm in the process of migrating a Windows Forms application from .NET Framework 4.7.2 to .NET 8. The original project uses System.Data.SQLite (version 1.0.113), and everything has been working smoothly so far. Now that the application is…

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

How to fix this issue - Failed to marshal the Objective-C object 0x1257d5880

I am facing an issue on an iOS device. After installing the app and opening it, I encounter this error. Failed to marshal the Objective-C object 0x1257d5880 (type: Microsoft_Maui_Controls_Handlers_Items_VerticalCell). Could not find an existing managed…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 13, 2025, 6:43 AM
Bhuwan 881 Reputation points
edited a comment Jun 15, 2025, 8:01 AM
Bhuwan 881 Reputation points
1 answer One of the answers was accepted by the question author.

how to divide Path by line in .net android?

I am using .net android canvas. and how to divide Path into two paths by line? there is Path which by many lines. and I want to dive the shape into two paths by the green one. but actually the line is the orange one

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,150 questions
asked Jun 8, 2025, 12:35 AM
mc 5,406 Reputation points
edited a comment Jun 13, 2025, 8:34 PM
Bruce (SqlWork.com) 77,631 Reputation points Volunteer Moderator
3 answers One of the answers was accepted by the question author.

How to program Windows Service with the Timer

I have a service in C#, runs great, but I have trouble with the time offset. I want the event to fire every hour, but if the job is 2 minutes long, it bumps up the next hour by 2 minutes. Example: Fire event at 7am. If Job runs for 2 minutes. then fire…

.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 12, 2025, 12:18 AM
Corey Fleig 80 Reputation points
commented Jun 13, 2025, 6:03 PM
Corey Fleig 80 Reputation points
3 answers One of the answers was accepted by the question author.

Saving files to "/storage/emulated/0/MyApp"

Hello, I have been using this code to create and use a directory for storing my files, and reports. public async Task<string> CreateSavePath(string path = null) { var filePath =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Mar 4, 2022, 2:57 AM
Jesse Knott 691 Reputation points
answered Jun 13, 2025, 2:34 AM
Aomer gasym 0 Reputation points
3 answers One of the answers was accepted by the question author.

Old .NET versions automatic uninstallation/removal

Hello, How are you removing old versions of .NET from your devices? Is there a way to automate this? To better clarify our issue, please see the screenshot below. We just installed the latest version (6.0.35) for both: .NET Runtime and Desktop Runtime…

.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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,597 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,267 questions
.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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,597 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,267 questions
asked Oct 22, 2024, 2:36 PM
Mark Marco 25 Reputation points
commented Jun 11, 2025, 4:47 PM
KenDeEuphrates-4177 0 Reputation points
3 answers One of the answers was accepted by the question author.

Old .NET versions automatic uninstallation/removal

Hello, How are you removing old versions of .NET from your devices? Is there a way to automate this? To better clarify our issue, please see the screenshot below. We just installed the latest version (6.0.35) for both: .NET Runtime and Desktop Runtime…

.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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,597 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,267 questions
.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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,597 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,267 questions
asked Oct 22, 2024, 2:36 PM
Mark Marco 25 Reputation points
commented Jun 11, 2025, 4:47 PM
KenDeEuphrates-4177 0 Reputation points
1 answer One of the answers was accepted by the question author.

dynamic tabbar in xamarin.forms shell?

ok can it be changed dynamiclly? the title icon route and contentTemplate?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Nov 23, 2020, 2:18 AM
mc 5,406 Reputation points
accepted Jun 10, 2025, 12:33 PM
mc 5,406 Reputation points
2 answers One of the answers was accepted by the question author.

CSS style loading failed after RCL library release ?

hi, I have created a new RCL library. (RazorClassLibrary1 .net 9.0) Component1.razor : @page "/test1" <div class="my-component"> This component is defined in the <strong>RazorClassLibrary1</strong>…

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 7, 2025, 5:44 PM
929Free 641 Reputation points
commented Jun 10, 2025, 6:12 AM
Pradeep M 9,680 Reputation points Microsoft External Staff Volunteer Moderator
1 answer One of the answers was accepted by the question author.

How to get a copy of the .NET Upgrade Planner

I would like to use the .NET Upgrade Planner from this link but access is denied when trying to download https://apisof.net/upgrade-planner Are there any alternatives places to get the download? Thank you.

.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 9, 2025, 1:16 AM
James Dunlop 20 Reputation points
accepted Jun 10, 2025, 1:04 AM
James Dunlop 20 Reputation points
1 answer One of the answers was accepted by the question author.

Migration from .Net Web Application (Framework 4.7) into .Net Core Web 8.0

Hi, I would like to migrate my application from .Net Framework 4.7 to .Net Core 8.0 as I would like to have my application in the latest version. My application is in MVP architecture and web pages are aspx (UI part). Is there any easy way to migrate it…

.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
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,597 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
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
444 questions
asked Jan 29, 2025, 3:37 AM
Banu 40 Reputation points
accepted Jun 9, 2025, 7:15 AM
Banu 40 Reputation points
1 answer One of the answers was accepted by the question author.

problem with .net framework 4.0

hi. i installed windows 7 yesterday and tried to install .net framework 4.0. the error code is 0x800c0019. I need it to install other peograms, pls help :C

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,825 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,267 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,825 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,267 questions
asked Apr 2, 2023, 1:24 PM
commented Jun 7, 2025, 12:28 PM
Anmol Aeri 0 Reputation points
1 answer One of the answers was accepted by the question author.

problem with .net framework 4.0

hi. i installed windows 7 yesterday and tried to install .net framework 4.0. the error code is 0x800c0019. I need it to install other peograms, pls help :C

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,825 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,267 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,825 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,267 questions
asked Apr 2, 2023, 1:24 PM
commented Jun 7, 2025, 12:28 PM
Anmol Aeri 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to try .net 10 preview development on Windows?

I am currently working on .net 9 with Visual Studio Community 2022 v17.14.4. I would like to try .net 10 preview. I have looked at the information on website: https://dotnet.microsoft.com/en-us/download/dotnet/10.0 I saw the information of .net10 preview…

.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 4, 2025, 5:16 AM
William Liu 536 Reputation points
accepted Jun 6, 2025, 12:13 AM
William Liu 536 Reputation points