16,506 questions with .NET-related tags

Sort by: Updated
3 answers

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,359 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,958 questions
asked Jun 7, 2024, 8:44 PM
Bernardo Garza García 5 Reputation points
answered Apr 5, 2025, 4:12 AM
Anup Marwadi 0 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,059 questions
asked Apr 2, 2025, 10:12 AM
Dani_S 4,401 Reputation points
commented Apr 5, 2025, 1:13 AM
Dani_S 4,401 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,059 questions
asked Apr 4, 2025, 4:12 PM
Dani_S 4,401 Reputation points
commented Apr 5, 2025, 1:06 AM
Dani_S 4,401 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
answered Apr 5, 2025, 1:02 AM
Bruce (SqlWork.com) 73,661 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,359 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,661 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,059 questions
asked Mar 31, 2025, 4:59 PM
Dani_S 4,401 Reputation points
commented Apr 4, 2025, 4:31 PM
Dani_S 4,401 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,059 questions
asked Mar 21, 2025, 3:54 PM
Steve Brooke 40 Reputation points
accepted Apr 4, 2025, 1:46 PM
Steve Brooke 40 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,059 questions
asked Apr 3, 2025, 6:22 PM
Toine de Boer 0 Reputation points
commented Apr 4, 2025, 10:50 AM
Toine de Boer 0 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,059 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,059 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
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,059 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,059 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
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,496 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
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,059 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,059 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 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,059 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,661 Reputation points