16,488 questions with .NET-related tags

Sort by: Updated
0 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,046 questions
asked Mar 31, 2025, 4:59 PM
Dani_S 4,361 Reputation points
edited the question Mar 31, 2025, 5:01 PM
Dani_S 4,361 Reputation points
1 answer

How to use a blazor server app with a web api for authentication and persist authentication across circuits?

I originally posted a comment under this question as I am following a similar scenario: https://learn.microsoft.com/en-us/answers/questions/1454927/how-to-use-a-blazor-server-app-with-a-web-api-for I have a custom AuthenticationStateProvider which is…

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,668 questions
asked Mar 30, 2025, 10:59 PM
Andrew White 0 Reputation points
edited an answer Mar 31, 2025, 4:43 PM
Bruce (SqlWork.com) 73,421 Reputation points
2 answers One of the answers was accepted by the question author.

win11 update

my system is win11, and i use the markdownpad2 app ,and recently ,win11 system updated ,and the markdownpad2 app can't open ,and the error is like below: Exception Information: System.Windows.Markup.XamlParseException: The invocation of the…

.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.
126 questions
asked Mar 8, 2025, 2:12 PM
FEDERER ROGER 5 Reputation points
commented Mar 31, 2025, 4:31 PM
C Barrass 80 Reputation points
0 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 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.
21 questions
asked Mar 31, 2025, 4:12 PM
Prathamesh Shende 401 Reputation points
2 answers One of the answers was accepted by the question author.

Create Identity Provider without Identity Server

Hi, I am learning something new and want to develop the identity provider similar to IdentityServer4. I am making quite some progress. The client project is Blazor OIDC, and Microsoft does it on Community Standup live. Auth Server is…

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,668 questions
asked Mar 26, 2025, 9:54 AM
Prathamesh Shende 401 Reputation points
commented Mar 31, 2025, 3:58 PM
Prathamesh Shende 401 Reputation points
2 answers One of the answers was accepted by the question author.

.NET Editor is not loading up in C# fundamentals course

.NET Editor is not loading up in C# fundamentals course. When i open c# certification from free codecamp one. xp and .net loader are not loading. please i need your help to fix it Link:…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
24 questions
asked Mar 24, 2025, 2:55 PM
HARSHA VARDHAN NAKKA 20 Reputation points
commented Mar 31, 2025, 1:40 PM
HARSHA VARDHAN NAKKA 20 Reputation points
0 answers

.NET MAUI Camera Not Opening on Android 15 (Works on Other Versions)

In my .NET MAUI application, I have the option to open the camera using MediaPicker.CapturePhotoAsync(). The camera works fine on other Android versions, but on Android 15, it does not open. Below is the code I am using to open the camera: try { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 21, 2025, 4:11 PM
Sakshi Poojary 95 Reputation points
commented Mar 31, 2025, 12:57 PM
Sakshi Poojary 95 Reputation points
1 answer One of the answers was accepted by the question author.

Looking to remove underline from Android Entry and Pickers in .NET Maui

I need to remove the underline in my .NET Maui application for entry and picker handlers. In addition to this, I need to set the background color to a custom color that I have. I have found ways to set the background color to transparent to remove the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Apr 8, 2024, 6:00 PM
Isspro-eng 45 Reputation points
edited a comment Mar 31, 2025, 12:11 PM
Rakesh Ravi G 0 Reputation points
3 answers One of the answers was accepted by the question author.

Blazor WASM JS Calls with an Object Argument Work in VS Debug But Not a Published Release

I have a Blazor WASM app that uses JSRuntime to Get/Put IndexedDB data (mockup below). Calls to "Put" functions that pass an object (not a native type) to be stored work fine in the VS Community 2022 debugger, but when I run a published…

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,668 questions
asked Mar 25, 2025, 6:48 PM
Steve Rehling 125 Reputation points
accepted Mar 31, 2025, 12:09 PM
Steve Rehling 125 Reputation points
1 answer

Download big file failed but it gives a success message

Hi, I have this code in windows , net 9. I'm download a big file file (5 giga) from our website when using DownloadCommand and action is failed but I got success message. This is the problematic start code , how to fix it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 27, 2025, 10:26 AM
Dani_S 4,361 Reputation points
commented Mar 31, 2025, 9:33 AM
Dani_S 4,361 Reputation points
2 answers One of the answers was accepted by the question author.

How to play an audio file in .NET MAUI

I want to play a sound on my mobile application (android and IOS) So I've Added the sound file under the “Resource/Raw” folder with BuildAction=MauiAsset and Added Nuget package "Plugin.Maui.Audio" and used below code to play the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 1, 2024, 8:04 AM
Mane, PRASHANT GORAKH 106 Reputation points
commented Mar 31, 2025, 9:30 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
0 answers

MAUI Maps Zoom Event

How can I listen for a MAUI Map Zoom Event? I would like to detect when the user has zoomed out of a MAUI Map and perform actions depending on the zoom event. Reason: On Android Google Maps api will only allow for plotting 10 PinPoints at once. When a…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Jun 1, 2023, 6:48 PM
Billy G 0 Reputation points
commented Mar 31, 2025, 9:28 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
1 answer

.Net MAUI app fails to deploy only to remote iPhone

I have a .Net Maui app (9.0.14) built in vs2022 (updated to 17.13.4 today) on WIndows 11 Pro, which works fine on local dev machine, in ios simulator, android simulator and windows machine. I'm frustrated that I can't get the app icon to display if I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 25, 2025, 2:54 PM
Adrian Lewis 20 Reputation points
commented Mar 31, 2025, 7:16 AM
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 36,331 Reputation points Microsoft External Staff
1 answer

Net 9- UnhandledException is working?

Hi, I'm using windows 10 net 9. Is UnhandledException working ? If it works , how can I test it? Please use the sample we used in:https://learn.microsoft.com/en-us/answers/questions/2202802/flyout-navigation-improvements AppDomain currentDomain =…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 27, 2025, 8:28 AM
Dani_S 4,361 Reputation points
edited a comment Mar 31, 2025, 6:59 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
1 answer

MAUI: How to increase the slider height

I have a slider like below: <Slider x:Name="audioSlider" Grid.Row="0" Minimum="0" VerticalOptions="Center" HorizontalOptions="Fill" ThumbColor="Transparent" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 6, 2025, 3:44 PM
Sreejith Sreenivasan 1,001 Reputation points
edited a comment Mar 31, 2025, 6:13 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
0 answers

Using layout_columnWeight & layout_rowWeight in RecyclerView

I have a Fragment with a root element of a 2×3 GridLayout, which contains several RecyclerView(s). The RecyclerView(s) at [1,0], [0,1] & [1,2] have either a dynamic (but not changing) width or height, and I want the RecyclerView at [1,1] to fill the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 28, 2025, 12:48 AM
Nathan Sokalski 4,111 Reputation points
edited a comment Mar 31, 2025, 2:42 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
0 answers

"You need to have an Theme.AppCompact" for this activity

Calling my app as a share target, I use an activity which is child to the main activity. On OnCreate(Instance) call completion, I get the above exception. I see I should create a Theme inherited from that of the main app one but can you provide more…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 28, 2025, 10:29 PM
SpyridonTompros-2868 0 Reputation points
commented Mar 31, 2025, 1:53 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
1 answer

How to make textview visible ?

Hello in my project i implement an algorithm and i wanted to display a textview before the algo is performed but when i run the app the textview becomes visible after the algo is performed Thanksm

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,046 questions
asked Mar 30, 2025, 12:24 PM
Shay Wilner 1,746 Reputation points
commented Mar 31, 2025, 1:42 AM
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 81,186 Reputation points Microsoft External Staff
2 answers

Blazor WebAssembly Keeps Accumulating Network Data on Page Navigation

Hi everyone, I'm facing an issue with my Blazor WebAssembly (WASM) application in Chrome. When I navigate between pages, the network data keeps accumulating instead of resetting. I noticed this in the Network tab of DevTools—at the bottom, where it shows…

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.
21 questions
asked Mar 28, 2025, 6:26 AM
Mahir Mirapakayala 0 Reputation points
answered Mar 28, 2025, 3:27 PM
Bruce (SqlWork.com) 73,421 Reputation points
1 answer

There was no top-level authentication property found in configuration. - Error during integration tests

We have an issue with XUnit integration test in dotnet 8 We are upgrading our projects one by one to DotNet 8. During this process we upgraded one of our projects and it is working fine. But its integration tests are failing with the following error…

Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
9 questions
asked Mar 28, 2025, 5:18 AM
Jagan P 0 Reputation points
commented Mar 28, 2025, 12:51 PM
Jagan P 0 Reputation points