16,504 questions with .NET-related tags

Sort by: Updated
0 answers

Sorry I don’t recognise any of the tags or child tags. My outlook emails now ask me to sign in with Authenticator. When I do so I get the following error code 4s8qt. Can tell me how to fix it?

.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.
36 questions
asked Mar 7, 2025, 8:50 AM
Scott Parrott 0 Reputation points
commented Apr 4, 2025, 4:24 AM
Kevin Rutkowski 0 Reputation points
2 answers

Report on progress bar of download file

Hi, I have progress bar control, i got from API the content stream response. How i can report on progress of download process of file in the UI page? Thanks, try { using (var fileStream = File.Create(zipPathForFolderOrPathForFile)) …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Mar 31, 2025, 4:59 PM
Dani_S 4,401 Reputation points
commented Apr 4, 2025, 2:42 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,936 Reputation points Microsoft External Staff
1 answer

AADSTS165000: invalid Request: The request tokens do not match the user context,

MAUI. Android app, use Oauth2D to login. Always get the error: Requestld:50664542-03a0-48dc-b330-acf123cf9f00 Correlationld:27fdf9bd-1dd4-4b3b-a556-34f7c03c17af Timestamp:2025-04-02T02:58:37Z Message:AADSTS165000: invalid Request: The request tokens do…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 2, 2025, 5:47 AM
AlexJK 6 Reputation points
commented Apr 4, 2025, 2:33 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,936 Reputation points Microsoft External Staff
1 answer

HttpClient - Uploading file through API is taking more time in .NETMAUI(.NETCore 8.0) compared to Xamarin.Forms

In MAUI application from Android device, I am uploading file through API via HttpClient into controller. In Xamarin.Forms upload file is taking 3 minutes of time, but after migrating into .NET MAUI uploading is taking 6 minutes of time. I am suspecting…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 3, 2025, 9:42 AM
Venkatareddy Desireddy 0 Reputation points
answered Apr 4, 2025, 2:20 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,936 Reputation points Microsoft External Staff
1 answer

Toolkit DrawingView is giving AndroidRuntime] java.lang.RuntimeException: Canvas: trying to draw too large(216039040bytes) bitmap.

Toolkit DrawingView is giving AndroidRuntime] java.lang.RuntimeException: Canvas: trying to draw too large(216039040bytes) bitmap when I draw a single horizontal line after reading from Memory stream await using var stream = await…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 3, 2025, 6:03 AM
Shashank Gaddam [C] 20 Reputation points
answered Apr 4, 2025, 2:08 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,936 Reputation points Microsoft External Staff
2 answers

Clickonce: error of downloading application file for Install Mode and Settings: This application is available online only

Hi I have the following Windows forms application which is used to publish by ClickOnce technology. When I publish the application with "Install Mode and Settings: This application is available online only". The setup.exe is generated in…

.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,201 questions
asked Apr 2, 2025, 1:58 AM
Carlos 0 Reputation points
commented Apr 4, 2025, 1:41 AM
Minxin Yu 13,491 Reputation points Microsoft External Staff
0 answers

Blazor Server .NET 8 authorization Dependency Injection User Settings

I have a IUserSettings interface to use between Blazor and a Desktop. I have a task in the interface called Task GetUserSettingsAsync(AuthenticationStateProvider authenticationStateProvider). Once the website comes back from Microsoft Entra, I want to…

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 Apr 3, 2025, 9:03 PM
Dennis Vossen 1 Reputation point
commented Apr 4, 2025, 1:38 AM
Tiny Wang-MSFT 3,161 Reputation points Microsoft External Staff
0 answers

Line number and path or file name missing when logs maintain in azure applicationinsights for blazorWASM application

I had develop blazorWASM application logs using these links. I had used .NET core 6.0.I had use ILoggers<Type> logger…

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 Apr 3, 2025, 12:46 PM
ramesh P 0 Reputation points
edited the question Apr 4, 2025, 1:29 AM
Zhi Lv - MSFT 33,186 Reputation points Microsoft External Staff
2 answers

How to Implement Notification Badge on TabbedPage in .NET MAUI 8?

Hello, I have implemented a TabbedPage in my .NET MAUI application using AppTabbedPage.xaml. It contains 5 pages for tab navigation. One of the tabs is dedicated to notifications, and I need to display a notification badge on this tab. The badge should…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Nov 21, 2024, 11:40 AM
nandu kathmandi 11 Reputation points
commented Apr 4, 2025, 12:56 AM
Leonard Harris 6 Reputation points
0 answers

How do I get FilePicker to return a non-null result on MacCatalyst?

Maui Workload 9.0.14/9.0.100 SDK 9.0.200 XCode 16.3 (16e140) Mac OS Sequoia 15.3.2 Visual Studio Code 1.98.2 (Universal) I am developing a MAUI App that needs to run on Windows, MacOS and iOS (iPad only). I am trying to get…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 2, 2025, 5:27 PM
Alex Phillips 0 Reputation points
commented Apr 3, 2025, 8:47 PM
Alex Phillips 0 Reputation points
1 answer

What does IsCxx option do when using iOS .a static libraries/NativeReferences ?

Im using an iOS .a library and Im not sure what kind of code it contains, C++ or ? So I tried the playing with the setting 'IsCxx' but nothing happens. everything keeps on working package size stays the same <ItemGroup> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 3, 2025, 6:22 PM
Toine de Boer 0 Reputation points
answered Apr 3, 2025, 7:58 PM
Bruce (SqlWork.com) 73,581 Reputation points
1 answer

Add a new tab in the web outlook

Hi, Aim: I want to add a new tab in the web outlook, the tab will be in the ribbon. There is any way to achieve that the tab will includes a buttons that trigger an API for sending email or do something else. Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 2, 2025, 10:12 AM
Dani_S 4,401 Reputation points
edited an answer Apr 3, 2025, 7:38 PM
Bruce (SqlWork.com) 73,581 Reputation points
1 answer One of the answers was accepted by the question author.

Does using --self-contained will install all the need runtime files for running the app in server 2019/2022Does using --self-contained will install all the need runtime files for running the app in server 2019/2022

Hi, I have Maui app in .NET 9. Does using --self-contained will install all the need runtime files for running the app in server 2019/2022. I installed the app ,deployed as exe with using -- self contianed. dotnet publish -f net9.0-windows10.0.19041.0 -c…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 2, 2025, 3:05 PM
Dani_S 4,401 Reputation points
commented Apr 3, 2025, 6:42 PM
Dani_S 4,401 Reputation points
2 answers

How to set up Custom Authentication State in Blazor Server .net 8 or 9

Hi, I set authentication settings in Blazor Server .NET 9. After setting it, I put the [Authorize] attribute on the API call in the controller. So it will fetch the authorization header of the access token, and the API will be authorized to show…

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 Mar 31, 2025, 4:12 PM
Prathamesh Shende 401 Reputation points
edited an answer Apr 3, 2025, 4:07 PM
Bruce (SqlWork.com) 73,581 Reputation points
1 answer One of the answers was accepted by the question author.

How to Monitor Performance of Message Consumer Applications

I have developed a background service in .NET 8.0 which is responsible for receiving messages from an Azure Service Bus queue. The Program.cs has Application Insights configured as you can see in the code snippet below. Is it possible to see in…

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,543 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
asked Dec 19, 2024, 12:23 PM
sohlae 150 Reputation points
accepted Apr 3, 2025, 3:55 PM
sohlae 150 Reputation points
1 answer

Add-Migration works, but Update-Database says "no migrations to update". I tried deleting the Mig.. Folder

Visual Studio and EF Core problem. Migrations don't work. Add-Migration Title works to update the schema, but Update-Database in NuGet Command Console says that the db is already up to date, but the db does not have my new table in it. I tried…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
779 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,494 questions
asked Dec 31, 2023, 1:49 AM
John Murphy 30 Reputation points
commented Apr 3, 2025, 3:55 PM
Chris Fox 0 Reputation points
2 answers

I get cswinrt.rsp exited with error code 1 when compiling for ios simulator

Building for local iOS iPhone is OK. Only fails when building for iOS simulator. Visual Studio is running on a PC and paired to a Mac. 1>EXEC : error : Path '18.2' is not a file or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Mar 21, 2025, 3:54 PM
Steve Brooke 40 Reputation points
edited a comment Apr 3, 2025, 2:33 PM
Christopher Hofmeister 0 Reputation points
0 answers

Create an IPA from Windows MAUI iOS + Extensions

Hi, we have a MAUI project with iOS extensions. We can run them on emulators and create the IPA either in Visual Studio or Visual Code on a Mac. Due to dotfuscator issues, we need to create the IPA, but now from Windows! We can create the IPA using the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Mar 14, 2025, 10:08 PM
DAVIS JIMENEZ PETER ALEXANDER 20 Reputation points
commented Apr 3, 2025, 8:45 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,331 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Deployment as exe on windows 11 is not working

Hi, Please see: https://app.screencast.com/LrNZnzuMjSgLd I installed the app ,deployed as exe with using -- self contianed ,on windows 11 and it not openning. dotnet publish -f net9.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 1, 2025, 6:56 AM
Dani_S 4,401 Reputation points
accepted Apr 3, 2025, 7:51 AM
Dani_S 4,401 Reputation points
0 answers

Unable to Publish .NET MAUI iOS App for Ad-Hoc Distribution

Hi, I have been following the steps outlined in this guide to publish my .NET MAUI iOS app for ad-hoc distribution. However, I am encountering an issue in the "Publish the app" section, specifically at Step 5. When I attempt to archive the app…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,058 questions
asked Apr 1, 2025, 11:13 PM
Ha Hoang Nong 0 Reputation points
commented Apr 3, 2025, 7:36 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,331 Reputation points Microsoft External Staff