16,508 questions with .NET-related tags

Sort by: Updated
1 answer

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
answered Apr 7, 2025, 11:16 AM
Pradeep M 7,220 Reputation points Microsoft External Staff
0 answers

How to access Windows setting for Speech TTS voice

Does anyone know where the setting is stored (registry I assume) for the following setting: On Windows 10 it seems to be here: HKCU\Software\Microsoft\Speech_OneCore\Settings\TextToSpeech\Voice But not so for Windows 11, I can't see it anywhere. The…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Apr 7, 2025, 8:59 AM
Gary Metalle 0 Reputation points
commented Apr 7, 2025, 9:05 AM
Gary Metalle 0 Reputation points
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,061 questions
asked Apr 2, 2025, 5:47 AM
AlexJK 6 Reputation points
commented Apr 7, 2025, 5:02 AM
AlexJK 6 Reputation points
0 answers

firebase Push notification crashing on MAUI IOS

I recently migrated my live Xamarin.Forms iOS app to .NET MAUI and implemented Firebase push notifications using plugin.firebase.cloudmessaging in the MAUI version of the app. Everything is working fine on Android and iOS in terms of receiving and…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Apr 7, 2025, 4:34 AM
Aayush Rawat 0 Reputation points
1 answer One of the answers was accepted by the question author.

Tooltip look transperant

Hi, I'm using NET 8 and tooltip in some computer look transparent. How is can be solved ? <Label Text="{Binding Name}" VerticalTextAlignment="Center" ToolTipProperties.Text="{Binding}" />

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Dec 16, 2024, 9:45 AM
Dani_S 4,401 Reputation points
commented Apr 7, 2025, 3:19 AM
Dani_S 4,401 Reputation points
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 7, 2025, 1:24 AM
Carlos 0 Reputation points
0 answers

Why does my .NET MAUI 8.0.100 iOS TestFlight app using Microsoft.Data.SqlClient crash immediately

I submitted my app for Apple's TestFlight. After deploying using TestFlight to my iPhone, it crashes immediately, not getting to any of my application code. This also an iOS device I've provisioned for development testing, so on my Mac build machine, I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Apr 7, 2025, 1:01 AM
Kurt K 176 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,061 questions
asked Mar 31, 2025, 4:59 PM
Dani_S 4,401 Reputation points
commented Apr 6, 2025, 11:13 AM
Dani_S 4,401 Reputation points
1 answer One of the answers was accepted by the question author.

SQLite Database Not Loading on iOS and Android with .NET MAUI but works with windows

Using Visual Studio 2022 preview with .NET 9 MAUI, there is an issue getting SQLite to work on iOS and Android. The code compiles for all maui platforms but does not load on the Android emulator or attached Iphone. It works on Windows without issues. I …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Mar 24, 2025, 10:19 AM
martin schneeberger 20 Reputation points
accepted Apr 6, 2025, 10:09 AM
martin schneeberger 20 Reputation points
0 answers

Move to maui 9.0.40 in MAC

Hi, When moving from .Net Maui 9.0.30. To 40 in MAC, do i nèed to updaue MAUI workload,if yes how? I'm using vs code Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Apr 4, 2025, 4:12 PM
Dani_S 4,401 Reputation points
edited a comment Apr 6, 2025, 7:20 AM
Dani_S 4,401 Reputation points
1 answer

Blank Screen after adding carplay to maui app

If I add the following to info.plist I get the splash screen and then a dark mainpage, take it out and app works…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,061 questions
asked Jan 17, 2024, 3:53 AM
rick ruhl 61 Reputation points
answered Apr 6, 2025, 3:21 AM
Rui Santos 0 Reputation points
1 answer

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
commented Apr 5, 2025, 11:16 AM
ramesh P 0 Reputation points
1 answer

How to fix Signature validation failed when trying to validate an access token of Microsoft Entra ID

Hi, I'm trying to validate my access token signature from Microsoft Entra ID, as you can see in the below image, the "kid" attribute is different from the keys retrieved in the second image below that were retrieved from…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 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,362 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,980 questions
asked Jun 7, 2024, 8:44 PM
Bernardo Garza García 10 Reputation points
commented Apr 5, 2025, 4:12 AM
Anup Marwadi 0 Reputation points
1 answer

CryptoStream padding in .NET 5.0 different from .NET Framework 4.6 ?

I have a program de-/encrypting data and running under .NET Framework 4.6 using CryptoStream and AES. When I run the same code in a .NET 5.0 program, I can decrypt anything encrypted with 4.6. But I cannot decrypt files in 4.6 that were encrypted by…

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,362 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,201 questions
asked Feb 2, 2021, 5:33 PM
Udo Riedel 1 Reputation point
edited a comment Apr 5, 2025, 12:46 AM
Bruce (SqlWork.com) 73,736 Reputation points
2 answers One of the answers was accepted by the question author.

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,061 questions
asked Mar 21, 2025, 3:54 PM
Steve Brooke 60 Reputation points
accepted Apr 4, 2025, 1:46 PM
Steve Brooke 60 Reputation points
0 answers

How to override Sustainsys.Saml2 ACS URL to /api/Saml2/Acs instead of default /Saml2/Acs in .NET Core?

Hi all, I'm integrating SAML-based SSO using Azure AD (Enterprise App) with a .NET 6 Web API using Sustainsys.Saml2 (via code-based configuration). My Goal: I want to use the Assertion Consumer Service (ACS) endpoint at:…

.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.
127 questions
asked Apr 4, 2025, 11:57 AM
Niket Kumar Singh 455 Reputation points
1 answer One of the answers was accepted by the question author.

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,061 questions
asked Apr 3, 2025, 6:22 PM
Toine de Boer 20 Reputation points
commented Apr 4, 2025, 10:50 AM
Toine de Boer 20 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,061 questions
asked Apr 1, 2025, 11:13 PM
Ha Hoang Nong 0 Reputation points
commented Apr 4, 2025, 8:57 AM
Ha Hoang Nong 0 Reputation points
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,061 questions
asked Apr 3, 2025, 6:03 AM
Shashank Gaddam [C] 20 Reputation points
commented Apr 4, 2025, 8:28 AM
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 49,936 Reputation points Microsoft External Staff
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