23,696 questions with .NET-related tags

Sort by: Updated
0 answers

Help fixing my .NET framework

I have a problem with my .NET Framework, whenever I run programs like Discord, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework already…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,524 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,324 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,118 questions
asked 2024-04-14T18:47:50.3633333+00:00
Jonathan Joseph 0 Reputation points
edited the question 2024-04-14T18:52:52.8133333+00:00
Jonathan Joseph 0 Reputation points
1 answer

Selection Rectangle not moving along with datagrid content during scroll.

I am attempting to replicate the selection behavior of Windows File Explorer within a WPF DataGrid. Specifically, I aim to implement a selection rectangle that mimics the functionality of File Explorer's selection mechanism. Currently, I have created an…

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,660 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,165 questions
asked 2024-04-11T05:08:56.16+00:00
Amit 0 Reputation points
commented 2024-04-14T18:07:39.8433333+00:00
Amit 0 Reputation points
0 answers

how to save in other storage folder in android?

I am using .net MAUI and want to save the sqlite db to other folder. I know I can get the FileSystem.AppDataDirectory and save the db but it will be deleted when I remove the APP. how to keep the db when I remove the APP and when I reinstall it I can use…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,814 questions
asked 2024-04-14T15:56:15.6833333+00:00
mc 3,601 Reputation points
1 answer

Visual Studio MAUI .NET 8 Android: app data is not preserved between deploys

After upgrading Visual Studio (17.8.0) and MAUI project to .NET 8, each build and deploy destroys previous application local data and launches app fresh new. Parameter "Options -> Xamarin -> Android settings -> Preserve application data…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,558 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,814 questions
asked 2023-11-21T13:50:42.0966667+00:00
Serg Tomcat 20 Reputation points
answered 2024-04-14T15:32:47.92+00:00
Olivier Dahan 0 Reputation points MVP
1 answer

.NET Maui App Crashes on Android Emulator After Upgrading to .NET 8

After upgrading my project to .NET 8 Maui, authentication type code examples (MSAL or Auth0) cause my app (running on Android 34) to crash the emulator but with no specific error message. Other than: Failed to clear debug property on device Unable to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,814 questions
asked 2024-04-11T09:41:30.4866667+00:00
Matt Lovell 0 Reputation points
answered 2024-04-14T11:35:37.65+00:00
Thorsten Fiedler 0 Reputation points
1 answer

I am trying to implement firebase into my maui.net app but have run into a snag with the FirebaseAuthProvider

I just dont understand why in the video the persons worked perfectly but my firebase authprovider is being seen as abstract.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,814 questions
asked 2023-04-29T01:38:21.3666667+00:00
MysticsDen 70 Reputation points
commented 2024-04-14T02:24:20.1233333+00:00
Felipe Sotelo S 0 Reputation points
1 answer

MSBuild 16.4 MSB3644 Error .NET 8 Deployment Center Sync

I have 3 API projects repo'd in devops and hosted on windows 2016 servers (App Services) that were using the app service continuous deployment sync functionality. So far, everyday i have deployed small code changes to all three environments. One by one…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,118 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,775 questions
asked 2024-04-11T12:52:50.5866667+00:00
Ables, Bradley 15 Reputation points
commented 2024-04-14T00:44:41.66+00:00
James Barton 6 Reputation points
1 answer

Learning EF - Error running Scaffold-DbContext

I am learning how to user Entity Framework where the models are built from an existing SQL server. I ran this command in the package manager: Scaffold-DbContext “Server=xxx; database=Contoso; user id = cnnxxxxx; password = xxxx”…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
694 questions
asked 2023-02-07T22:47:49.0433333+00:00
Stephen Ng Qui Sang 10 Reputation points
edited a comment 2024-04-13T20:52:12.7133333+00:00
Yash Jha 0 Reputation points
0 answers

CNEXT.exe - Application Error X The application was unable to start correctly (0xc0150002). Click OK to close the application. showing when i am installing catia v5 app

few days ago i deleted some files of visual c++ redistributable but after that i install visual c++ redistributableof years 2012,2013,2015 to 2022 but it show me same error also app is works in other laptop please guide me.

.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,118 questions
asked 2024-04-13T18:11:29.62+00:00
saurabh ghode 0 Reputation points
commented 2024-04-13T18:27:41.75+00:00
scorpion24 0 Reputation points
0 answers

is waiting for the debugger to attach error

Hello, I have installed Visual Studio Enterprice 2022 Preview 17.10.0 Preview 1.0, I also have the xamarin components. When debugging my Xamarin application I get this error and I don't know how to remove it "is waiting for the debugger to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,284 questions
asked 2024-04-13T17:24:52.4533333+00:00
Salomon Cardos Uc 0 Reputation points
edited the question 2024-04-13T17:33:46.29+00:00
Salomon Cardos Uc 0 Reputation points
2 answers

How to convert Wordpress website to ASP.net web form?? is it possible??

We don't have the source code for the WordPress website. We got the code from the inspect-->view page source method. We just pasted the code in Visual studio and it's working but the problem is we were unable to separate the CSS and script file. As…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,234 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,558 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,058 questions
asked 2023-04-25T07:18:03.89+00:00
Anitha Sivakumar 0 Reputation points
edited a comment 2024-04-13T16:15:42.64+00:00
Arslan Shabir 0 Reputation points
1 answer

Can I force AuthenticationState to refresh (when claims have changed)?

Hi all; Is there any way to force the AuthenticationState to re-read the database when claims have changed? I've implemented a ServerAuthenticationStateProvider and it works great for my adding IdentityUser.Enabled. But when I set it to re-read the…

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,371 questions
asked 2024-04-11T23:07:09.2+00:00
David Thielen 2,231 Reputation points
commented 2024-04-13T12:48:38.9133333+00:00
David Thielen 2,231 Reputation points
1 answer One of the answers was accepted by the question author.

.NET 9 Preview 1 extension installed on Windows Function App, how to enable?

I've installed the .NET 9 runtime extension, how do I enable it? I don't see it present in the version selection dropdown, I've restarted after installing the extension. Does anyone know? Thanks in advance I've also tried something like : az…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,185 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,118 questions
asked 2024-03-08T09:54:27.45+00:00
David Callan 20 Reputation points MVP
accepted 2024-04-13T12:36:43.71+00:00
David Callan 20 Reputation points MVP
1 answer

Xamarin navigate to page throws "Object reference not set to an instance of an object."

I'm trying to navigate and pass data to an edit page when I select a row. I select a row in the checklistpage and what to pass that rows data to the treeinfopage. (has two points of entry 1 from menu and 1 from ChecklistPage) the page structures are as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,284 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,558 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 40 Reputation points
edited a comment 2024-04-13T12:30:50.0866667+00:00
tim 40 Reputation points
0 answers

How to upload multiple documents and view it in viewer from Gridview using ASP.NET in C#

I am developing ASP.NET application which is end user want to upload multiple documents from the page. My problem is, i am already developing software like uploading single document. But, uploading multiple document haven't done so far. Also, after…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,234 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,165 questions
asked 2024-04-13T11:59:46.5366667+00:00
Gani_tpt 1,466 Reputation points
1 answer

C# ASP.NET MVC: develop app with running tasks and ASP.NET MVC web UI to control it

There's a url from which I need to run api get data in JSON format and store to MS-Sql Server. This project will run mostly on server(s). We also need an application to provide an interface so that whenever needed user can select which data to be stored…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,118 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,234 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,165 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.
291 questions
asked 2024-04-13T10:07:08.52+00:00
RASHMI GUPTA 0 Reputation points
edited an answer 2024-04-13T11:56:47.5+00:00
AgaveJoe 26,031 Reputation points
1 answer

Add Validator in Blazor

I want Location text box to accept only alphabets both cases,number and comma 1)a-z 2) A-Z 3) 0-9 4) comma(,) So Location can be like 125 Harkness Ave,Pasadena or London,Ontario Location shouldnt accept %![ etc. Please suggest how do I add Validator in…

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,371 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,814 questions
asked 2024-04-12T18:16:54.3033333+00:00
Maui Learner 400 Reputation points
answered 2024-04-13T11:21:57.24+00:00
AgaveJoe 26,031 Reputation points
1 answer

POS for .NET - Arabic characters appear reversed.

Dears, I have issue with printing Arabic characters in POS for .Net. the Arabic word "مرحبا" appears "اب ح رم". I have "EPSON TM-T20II". I used "Epson.opos.tm.setpos.exe" to add device with character set…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,324 questions
asked 2024-04-11T23:24:12.76+00:00
Ahmed Dardeer 1 Reputation point
commented 2024-04-13T10:15:52.7366667+00:00
Ahmed Dardeer 1 Reputation point
0 answers

The Application installed on customer not responding on developer environment working properly

My application working, with limitation of a beginner in Visual Studio C# programmer, working properly from 10 months. After last security updates of March the application not responding. I have developped three programs: the first program is a…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,814 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,118 questions
asked 2024-04-13T09:53:08.9533333+00:00
Org-Inf 0 Reputation points
0 answers

how to fix "Designer load encountered and error. Please ensure that the project can be built successfully."

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,814 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,165 questions
asked 2024-04-12T17:01:22.2533333+00:00
Santos, Mark Jairo (Student) 0 Reputation points
commented 2024-04-13T08:56:30.3966667+00:00
Karen Payne MVP 35,026 Reputation points