16,524 questions with .NET-related tags

Sort by: Updated
0 answers

Auth pages with auto render mode in blazor

I want to build a Blazor 8 or 9 project using Interactive Auto . But I want to implement authentication using JWT or identity , so that whenever I want, I can show the login page inside a modal or elsewhere.( without refresh page or ... ) Because…

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.
23 questions
asked Apr 13, 2025, 4:46 PM
Mahdi Elahi 31 Reputation points
1 answer

Add Timer To Login Page In Blazor

Hi i create new blazor 8 web app auto render I want to define a C# timer on the default login page razor private TimeSpan timeLeft = TimeSpan.FromMinutes(1).Add(TimeSpan.FromSeconds(59)); private System.Timers.Timer? countdownTimer; private void…

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.
23 questions
asked Apr 13, 2025, 3:26 PM
Mahdi Elahi 31 Reputation points
answered Apr 13, 2025, 4:45 PM
Bruce (SqlWork.com) 73,886 Reputation points
1 answer

how to draw this in .net.android

there is two points to one circle how to draw it? I am using canvas in OnDraw points:(p0x,p0y)and (p1x,p1y) and the center of the circle is (x,y) how to draw the line and the circle? I know how to draw circle but I do not want to draw the rest of the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,062 questions
asked Mar 12, 2025, 2:29 PM
mc 5,186 Reputation points
answered Apr 13, 2025, 4:22 PM
Bruce (SqlWork.com) 73,886 Reputation points
1 answer

can azure function uses storage account non azure specific for maintaining bindings and triggers namely gcp , aws

can azure function uses storage account non azure specific for maintaining bindings and triggers namely gcp , aws

.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,208 questions
asked Apr 13, 2025, 2:52 PM
Mishra, Priyank Kumar 0 Reputation points
answered Apr 13, 2025, 2:52 PM
Q&A Assist
0 answers

how to change the icon in properties of the APP in xamarin.android?

I am using xamarin.android and I have changed the appicon of the APP in desktop but when I open the properties the appicon is still the original ('.NET') icon how to change it?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Apr 13, 2025, 12:39 PM
mc 5,186 Reputation points
0 answers

how to write and read file in usb storage in xamarin.android?

I have android pad and there is usb disk and how to read file and write file ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,380 questions
asked Apr 13, 2025, 12:30 PM
mc 5,186 Reputation points
0 answers

Seeking Support in Encrypted Video Streaming with WPF and LibVLC

Hello, I've developed a video player project using C#, WPF, and .NET 5. In this application, encrypted MKV videos (encrypted with AES) are first decoded as offline streams, then buffered in memory and finally sent to LibVLC for playback. The issue I'm…

.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,208 questions
asked Apr 13, 2025, 5:30 AM
Kamyab Faghih 70 Reputation points
2 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
answered Apr 12, 2025, 8:51 PM
Bruce (SqlWork.com) 73,886 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,062 questions
asked Apr 7, 2025, 1:01 AM
Kurt K 176 Reputation points
commented Apr 12, 2025, 6:21 PM
Kurt K 176 Reputation points
1 answer

Upgrading the application from .NET6 to .NET8 and have updated the packages as well and after that I am getting this error.

<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <AzureFunctionsVersion>v4</AzureFunctionsVersion> </PropertyGroup> <ItemGroup> <PackageReference…

.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,208 questions
asked Apr 11, 2025, 11:13 AM
Himanshu Chawla 0 Reputation points
answered Apr 11, 2025, 4:16 PM
Bruce (SqlWork.com) 73,886 Reputation points
0 answers

Appinsight setup without auto instrumentation

By default if you have an app service and you set up appinsight for it. Auto instrumentation is enabled. I'd like to disable it but I don't see in bicep provider any param for appinsight to do that…

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.
23 questions
asked Apr 11, 2025, 3:45 PM
Oussama Dhouioui 20 Reputation points Microsoft Employee
0 answers

How to prevent reflective DLL injection in a .NET application

Reflective DLL injection bypasses the standard Windows loader by manually mapping a DLL into memory and resolving its dependencies. This makes load-time checks, including verifying the DLL signature, ineffective. Also, implementing memory monitoring and…

.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,208 questions
asked Apr 11, 2025, 12:52 PM
Pradeep Viswanathan 0 Reputation points
2 answers One of the answers was accepted by the question author.

.net maui fully custom splash screen

I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,062 questions
asked Sep 22, 2023, 6:15 PM
Haider Ali Faizi 100 Reputation points
commented Apr 11, 2025, 4:37 AM
Leo Wagner de Souza 696 Reputation points
0 answers

MQTT message published from MAUI app to AWS IOT is not showing in MQTT test client

I am using below code to publish message from app to AWS IOT: public async Task PublishMessage(string topic, string payload) { if (_mqttClient == null || !_mqttClient.IsConnected) { Utility.DebugAndLog("MQTT client is not connected.…

.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.
37 questions
asked Apr 10, 2025, 3:40 PM
Sreejith Sreenivasan 1,001 Reputation points
edited the question Apr 10, 2025, 9:26 PM
Rob Caplan - MSFT 5,642 Reputation points Microsoft Employee
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 10, 2025, 7:20 PM
Bruce (SqlWork.com) 73,886 Reputation points
0 answers

Speech AI video translation has stopped working.

Previously working code is now failing. Seems to be on the Azure end as even the VideoTranslationSample app is also failing (https://github.com/Azure-Samples/cognitive-services-speech-sdk). In general, the Translation says it has succeeded, but the…

.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
160 questions
asked Apr 10, 2025, 5:13 PM
Paul Rony 0 Reputation points
1 answer

License Type of .Net Framework 4.8

Hello All, We are currently using .Net Framework 4.8 in our project and need some information regarding the 'License Type' of .Net Framework 4.8. We would want to know what type of license does .Net Framework 4.8 fall under. Like is it MIT or Apache or…

.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,208 questions
asked Apr 10, 2025, 5:12 AM
S Abijith 466 Reputation points
answered Apr 10, 2025, 4:44 PM
Bruce (SqlWork.com) 73,886 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,062 questions
asked Mar 31, 2025, 4:59 PM
Dani_S 4,421 Reputation points
edited a comment Apr 10, 2025, 12:35 PM
Dani_S 4,421 Reputation points
1 answer

Delete folder from bit locker throw exception

Hi, I got: 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,208 questions
asked Apr 8, 2025, 1:17 PM
Dani_S 4,421 Reputation points
edited a comment Apr 10, 2025, 12:29 PM
Dani_S 4,421 Reputation points
1 answer

What are the alternatives available for System.Messaging package in .net 8

I'm migrating .net 4.7.2 to .net 8.0. The System.Messaging package is not available in .net 8. How can I resolve the errors below errors - The type or namespace name 'Messaging' does not exist in the namespace 'System' (are you missing an assembly…

.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,208 questions
asked Apr 9, 2025, 4:47 AM
Aman Agrahari 0 Reputation points
accepted Apr 10, 2025, 2:04 AM
Aman Agrahari 0 Reputation points