16,545 questions with .NET-related tags

Sort by: Updated
0 answers

Where to get App SID for a Windows Notification Server if I have a Entra Id Line of Business App?

I have a WinUI .NET Maui Windows App that does not get publish on the Windows Store - it is a Line of Business app - the Windows Push Notification server requires that I get the App SID and Security Key - where would I get that for a LOB app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,072 questions
asked Apr 22, 2025, 3:38 PM
Helen Mamalaki 10 Reputation points
commented Apr 23, 2025, 9:19 AM
Alekhya Vaddepally 585 Reputation points Microsoft External Staff
2 answers

Get USB Info with impersonation is not working

Hi, Without impersonation I get USB info. With impersonation is not working. I'm using .NET 9 , MAUI on windows. I got driver is not ready!!! Can you please help ? My code with impersonation is : `if…

.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,215 questions
asked Apr 22, 2025, 2:06 PM
Dani_S 4,461 Reputation points
answered Apr 23, 2025, 8:39 AM
Dani_S 4,461 Reputation points
2 answers

MAUI deep linking handling

I am new to MAUI app development. I need a sample code snippet on how to handle deep linking using a custom scheme. like myapp://payment/success

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,072 questions
asked Apr 22, 2025, 5:41 PM
Humayun Aziz 0 Reputation points
answered Apr 23, 2025, 7:53 AM
Gitanza 2 0 Reputation points
2 answers

How to add Nuget packages into Visual studio?

How to add Nuget packages For newly installed visual studio

.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,215 questions
asked Apr 23, 2025, 5:27 AM
Chintalapudi Lavanya - Contractor 0 Reputation points
answered Apr 23, 2025, 7:08 AM
Gitanza 2 0 Reputation points
1 answer

Please suggest me Alternatives for BinaryFormatter in .net 8 since it is obsolete in it.

I am migrating the .net 4.7.2 application to .net 8. Earlier we used BinaryFormatter for serialization and Deserialization but it is not available in .net 8. So I want any alternative to BinaryFormatter which I can implement in my .net 8…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
27 questions
asked Apr 19, 2025, 6:32 PM
Aman Agrahari 40 Reputation points
accepted Apr 23, 2025, 4:34 AM
Aman Agrahari 40 Reputation points
0 answers

Alert header not seen well

Hi, After installing the app as exe in windows .NET 9, the alert header go to right and button change order. bool answer = await Application.Current.MainPage.DisplayAlert("Format USB", "Are you sure you want to format the USB…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,072 questions
asked Apr 22, 2025, 12:52 PM
Dani_S 4,461 Reputation points
edited a comment Apr 23, 2025, 1:42 AM
Dani_S 4,461 Reputation points
8 answers

How to fix Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine

After trying to follow several solutions online none seem to be working. I'm using 64bit Microsoft access and 2019 visual studio and have already installed the engine from https://www.microsoft.com/en-au/download/details.aspx?id=13255. I've tried running…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
asked Mar 3, 2021, 3:33 AM
Rhys Mckinnon 36 Reputation points
commented Apr 22, 2025, 10:24 PM
Nisreen Alhassani 0 Reputation points
2 answers

NET 3.5 install error 50 - Parent features must be enabled before this feature can be enabled -

I refer to this thread which was archived. The solution was to reboot the PC and run a repair. I am in a company acnd just can't just repair all computers with problems. I wonder if there is a solution to this issue. I try to install NET3.5 with: …

.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,215 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
2,025 questions
asked Jan 4, 2022, 9:07 AM
Stefan K 106 Reputation points
commented Apr 22, 2025, 6:52 PM
Patrick Wahlmüller 5 Reputation points MVP
0 answers

App Service - .NET Decimal Places Issue

I'm a DevOps Engineer assisting a developing team with a recent issue regarding decimal places for currencies within a .NET 6 application suddenly changing from 2 to 3 without any changes being made. The issue was first picked up by automated tests on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,659 questions
asked Jan 24, 2024, 9:53 AM
Bunny Davies 46 Reputation points
commented Apr 22, 2025, 2:41 PM
Chris Shields 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to monitor the completion of table data loading ?

hello, I want to perform some tasks after loading data in the table. How should I proceed? for example : <table class="table"> <thead> <tr> <th>Date</th> …

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.
26 questions
asked Apr 22, 2025, 7:01 AM
929Free 561 Reputation points
accepted Apr 22, 2025, 12:04 PM
929Free 561 Reputation points
2 answers

Create a build pipeline with Azure Pipelines - Get the sample application

Hello, I am having difficulties following the training material in the section below: Create a build pipeline with Azure…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
27 questions
asked Apr 21, 2025, 11:51 PM
CoachSergio 0 Reputation points
answered Apr 22, 2025, 6:57 AM
Gitanza 1 0 Reputation points
2 answers

Building a MAUI app from Visual studio 2022 on Windows to run it on Mac, Mac acts as a remote build host. ?

Hi, I have created the MAUI and Paired to the Mac system using ip address from Visual studio. Selected the target as "Mac Catalyst" and while running from VS in windows i am getting below error, Same way i tried from another windows…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,072 questions
asked Apr 21, 2025, 11:08 AM
Iyyappan, Murugan 0 Reputation points
answered Apr 21, 2025, 8:38 PM
Bruce (SqlWork.com) 74,536 Reputation points
0 answers

How can I use BinaryFormatter in .net 8 application

I'm migrating .net application from .net 4.7.2 to .net 8. I had used BinaryFormatter for serialization and deserialization in my application but it is obsolete in .net 8. Still I want to use binaryFormatter in upgraded .net 8 application temporarily…

.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,215 questions
asked Apr 21, 2025, 10:47 AM
Aman Agrahari 40 Reputation points
commented Apr 21, 2025, 11:46 AM
RLWA32 48,151 Reputation points
0 answers

Error with Microsoft .Net Framework prohibits me from shutting off laptop.

Hello, Since purchasing and using this Lenovo Yoga laptop I have for the past two years been experiencing this error when I try to shut down the PC after having used it for about an hour or more. Does anyone have any experienced this before and knows a…

.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.
129 questions
asked Apr 19, 2025, 4:43 PM
Søren 0 Reputation points
edited a comment Apr 21, 2025, 9:46 AM
Søren 0 Reputation points
2 answers

AmbiguousMatchException in net8 Blazor web app

I am encountering an AmbiguousMatchException error in my client-side Blazor web app. The error message says "The request matched multiple endpoints. Matches: Fallback {*path:nonfile}". I tried to add app.razor containing this lines…

.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
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
.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
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
asked Jan 6, 2024, 6:25 PM
ayman awadallah 30 Reputation points
answered Apr 21, 2025, 1:11 AM
master_lam 0 Reputation points
2 answers

AmbiguousMatchException in net8 Blazor web app

I am encountering an AmbiguousMatchException error in my client-side Blazor web app. The error message says "The request matched multiple endpoints. Matches: Fallback {*path:nonfile}". I tried to add app.razor containing this lines…

.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
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
.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
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
asked Jan 6, 2024, 6:25 PM
ayman awadallah 30 Reputation points
answered Apr 21, 2025, 1:11 AM
master_lam 0 Reputation points
1 answer One of the answers was accepted by the question author.

Delete folder from bit locker throw exception

Hi, The exception: 2025-04-08 16:09:51,501 [1] ERROR GssdDesktopClient.Maui.ViewModels.CopyViewModel - DeleteFolderCommandExcute System.IO.IOException: No mapping for the Unicode character exists in the target multi-byte code page. : 'E:\גגגגגגג'.    at…

.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,215 questions
asked Apr 8, 2025, 1:17 PM
Dani_S 4,461 Reputation points
accepted Apr 20, 2025, 8:57 AM
Dani_S 4,461 Reputation points
1 answer One of the answers was accepted by the question author.

Directory.EnumerateFiles vs Directory.Delete

Hi, Are this code: var dir = new DirectoryInfo(viewDeviceItem.Path); dir.Delete(true); Equivalent to: using System; using System.IO; class Program { static void Main() { string directoryPath = @"C:\path\to\your\directory"; // Specify your…

.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,215 questions
asked Apr 15, 2025, 3:40 AM
Dani_S 4,461 Reputation points
accepted Apr 20, 2025, 8:54 AM
Dani_S 4,461 Reputation points
0 answers

How to cancel navigation to a page in .NET MAUI

Please tell me how I can stop navigation to a page in a .NET MAUI Shell app if, for example, the user is not authorized to access the page. I have a nice authentication system and I have access and refresh tokens for communicating with the server, but…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,072 questions
asked Apr 19, 2025, 2:16 AM
Marcus Wolfe 20 Reputation points
commented Apr 20, 2025, 12:59 AM
Marcus Wolfe 20 Reputation points
1 answer

Blazor Server App Crushes on Deployment Slot Swap

We have a Blazor Server app that crushes sometimes when we swap deployment slots. We use Managed Identity in our database connection string to connect to an SQL Server database in Azure. It seems like a database connection issue. Can you please help…

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.
26 questions
asked Apr 13, 2025, 6:38 PM
Hayk Shirinyan 0 Reputation points
commented Apr 19, 2025, 8:46 PM
Hayk Shirinyan 0 Reputation points