23,838 questions with .NET-related tags

Sort by: Updated
0 answers

How to fix vite error in Angular ASP.NET project?

I have started my Angular ASP.NET project and ended up with the following error, just want to find out how to fix it: Thank you!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,360 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-04-24T03:07:40.3233333+00:00
Yardley Estiverne 0 Reputation points
edited the question 2024-04-24T05:16:05.34+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,360 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,854 questions
asked 2024-04-18T08:06:36.18+00:00
דני שטרית 2,706 Reputation points
commented 2024-04-24T05:15:11.2+00:00
Jiale Xue - MSFT 31,516 Reputation points Microsoft Vendor
0 answers

Can't convert Word Document Equation into HTML readable format text like MathML in C#

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
658 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,360 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,152 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,226 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,569 questions
asked 2024-04-24T04:35:09.1466667+00:00
conduct exam 0 Reputation points
0 answers

Selection using Selection Rectangle

Can anyone please tell me how to make this kind of behaviour in our own WPF app. Right now i am making a File explorer kind of behaviour using the WPF datagrid. Can someone please help me with the logic or post some code. Here if we see the rows are…

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.
4,736 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,670 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,226 questions
asked 2024-04-24T04:34:37.6333333+00:00
Amit 0 Reputation points
1 answer

Hotfix for Microsoft .NET Framework 4.0

Hello! I need this file please   Hotfix for Microsoft .NET Framework 4.0 (KB2390372).

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
1 question
asked 2024-04-19T15:48:15.7033333+00:00
Mohamed Khalifa 0 Reputation points
edited the question 2024-04-24T04:23:03.4633333+00:00
Pradeep M 165 Reputation points Microsoft Vendor
0 answers

How to restore direct dependencies packages only by 'restore --packages' command

I want to restore a .NET project's packages by command line dotnet restore --package. The behavior like this in dotnet restore doc: Package Restore first installs the direct dependencies of a project as needed, then installs any dependencies of those…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,360 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,152 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,226 questions
asked 2024-04-24T03:50:34.2266667+00:00
Charlie Xie 0 Reputation points
1 answer

How to fix DbContextOptions resolving properly from services to apply EF migration to create database?

I'm trying to run a migration to create my initial database from code, but i'm having difficulties with proper registration of DbContextOptions. My program.cs contains the service registration: var builder = WebApplication.CreateBuilder(args); // Add…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
asked 2024-04-05T22:58:14.0533333+00:00
Vatai Domonkos 10 Reputation points
commented 2024-04-24T03:22:33.8766667+00:00
Jack J Jun 24,286 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to add a check box to the list of items in Picker?

I need to add a check box for the picker list items. Please guide me to the solution.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,854 questions
asked 2024-04-23T10:33:18.3833333+00:00
Sowndarrajan Vijayaragavan 310 Reputation points
accepted 2024-04-24T03:18:08.9166667+00:00
Sowndarrajan Vijayaragavan 310 Reputation points
0 answers

Is it normal that the publishing of my NET MAUI app on iOS never ends?

Hello everyone, I am actually trying to do an ad-hoc deploy on iOS, of my .NET MAUI app. But for some reason it don't work. I've followed every step from there…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,360 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,854 questions
asked 2024-04-23T11:41:03.2766667+00:00
Cyril Auquier 0 Reputation points
edited a comment 2024-04-24T02:52:04.38+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,146 Reputation points Microsoft Vendor
1 answer

Virtual path maps to another application

First, I'm not sure if I am in the correct Forum please direct to proper forum if it is wrong. I'm am getting the following error when I run my VS2019 WCF app. (Note it was originally written in VS2019) [ArgumentException: The virtual path…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,152 questions
asked 2024-04-23T19:34:00.3866667+00:00
Mobile Application Developer (MAD) 20 Reputation points
commented 2024-04-24T02:28:43.0933333+00:00
AeinBagheri-8958 0 Reputation points
1 answer

how to check user data

Hello In asp.net textbox if user enter something like this with special charater i need to show alert check data For example APPLE /45 it has auto correct like this APPLE /45 MFLOW +/ CURRENT it has to auto corrrect like this MFLOW / CURRENT HELLO…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
asked 2024-04-16T12:33:55.6866667+00:00
RAVI 896 Reputation points
commented 2024-04-24T02:26:50.27+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
1 answer

How to change the titlebar menu style to Windows 11 style

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,670 questions
asked 2024-04-02T06:48:56.2833333+00:00
quan zhao 20 Reputation points
commented 2024-04-24T02:10:41.48+00:00
Hui Liu-MSFT 38,191 Reputation points Microsoft Vendor
1 answer

Linq join of 3 tables

I have three tables with same fields. I can join 2 tables with following Linq. List<CommonPoints> lista = poso.assists.ToList(); List<CommonPoints> listp = poso.points.ToList(); List<CommonPoints> listg=poso.goals.ToList(); var…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,854 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,226 questions
asked 2024-04-23T20:58:23.7866667+00:00
Lloyd Sheen 1,356 Reputation points
answered 2024-04-24T02:01:48.76+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
0 answers

Reading and Writing Files on Android 13

I want to read and write files in internal storage on android 13, but I get an error. What is the best way to deal with this?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2024-03-29T00:45:08.4566667+00:00
木幡 弘文 1 Reputation point
edited a comment 2024-04-24T01:43:40.1766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Xamarin Forms I can not get SelectedItem to run the edit Code

I've tried everything I could find to get a selected row to run an edit code. tried TapGestureRecognizer, Buttons , Selecteditem but nothing happens and the only thing that happens is the background color on the row changes when using…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 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,593 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.
762 questions
asked 2024-04-07T14:36:19.0533333+00:00
tim 80 Reputation points
edited an answer 2024-04-24T01:43:10.9033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

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,292 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,593 questions
asked 2024-04-10T23:23:39.3666667+00:00
tim 80 Reputation points
edited an answer 2024-04-24T01:41:42.12+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

Xamarin Forms: Portable: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE when creating a PendingIntent

I am facing below issue when I updated the target platform of the Android to 34. Java.Lang.IllegalArgumentException: 'com.companyname.appname: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 questions
asked 2024-04-19T04:31:05.6933333+00:00
Sreejith Sreenivasan 691 Reputation points
edited a comment 2024-04-24T01:41:00.4466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Xamarin GoBackAsync does not return to last page.

I have a tabbed main page that I can select other pages from. one page has code to select a row and navigate from that content page to another content page to edit the selected row. Checklist page var navService =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,292 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,593 questions
asked 2024-04-20T18:15:44.7833333+00:00
tim 80 Reputation points
edited an answer 2024-04-24T01:39:58.8833333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,261 Reputation points Microsoft Vendor
1 answer

Request to Transfer Azure Certification to Another Account

Dear Microsoft Support Team, I hope this email finds you well. I recently earned an Azure certification that is currently associated with my old Microsoft account. I would like to transfer this certification to my new Microsoft account for easier…

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
92 questions
asked 2024-04-24T01:03:11.8+00:00
Naveedullah Hamnawa 0 Reputation points
answered 2024-04-24T01:29:15.6333333+00:00
S.Sengupta 15,036 Reputation points MVP
1 answer One of the answers was accepted by the question author.

Empty space between elements .NET MAUI

The entire page is a grid. I'm trying to position a child grid on top of the parent grid. This works on Android. On Apple up to iPhone 14 too. On iPhones 14 and 15, the space between the parent and child grids is displayed. <?xml…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,854 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,226 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.
762 questions
asked 2024-04-19T07:41:18.8766667+00:00
Влад Тигинян 40 Reputation points
commented 2024-04-24T00:59:01.8733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,121 Reputation points Microsoft Vendor