How to enable CSP in asp:UpdatePanel without having to write 'unsafe-inline'
I have an asp:UpdatePanel and asp:ScriptManager in my web form. When I enable CSP in the web.config as below, the functionality of the pages are not working like 'OnSelectedIndexChanged' event of asp:DropDownList and many more. <add…
Latest Update
What is the latest update verified that supports MS Graph API as we are currently testing all phases
I m getting live metrics in application insights. But the logs in custom events are missing for a specific time of the day and available during other hours.
I have enabled application insights for my app services . I have added code in my project to get the logs in custom events. The logs are successfully getting into the app insights. Hence the connection & networking are fine. The live metrics can be…
Blazor Server App Crushes on Deployment Slot Swap
We have a Blazor Server app that crushes sometimes when we swap deployment slots. We use Managed Identity in our database connection string to connect to an SQL Server database in Azure. It seems like a database connection issue. Can you please help…
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)) …
Directory.EnumerateFiles vs Directory.Delete
Hi, Are this code: var dir = new DirectoryInfo(viewDeviceItem.Path); dir.Delete(true); Equivalent to: using System; using System.IO; class Program { static void Main() { string directoryPath = @"C:\path\to\your\directory"; // Specify your…
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…
Why can't I change directory path of dotnet core sdk from C drive to S drive?
After a long try, I installed the dotnet core on my computer. But the location PATH in the environment automatically stores the installed data of the dotnet core in the C drive. I want to change the directory path to S drive. How can I change the…
Why can't I change directory path of dotnet core sdk from C drive to S drive?
After a long try, I installed the dotnet core on my computer. But the location PATH in the environment automatically stores the installed data of the dotnet core in the C drive. I want to change the directory path to S drive. How can I change the…
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…
how to enable debug in release mode in MAUI mobile application
How can I enable debugging in release mode? Some functionalities are not working when I release the app, but they work in debug mode. I've tried multiple methods but haven't found a proper solution. Inside .csproj file <PropertyGroup…
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…
Deployed C# API is not accessible, swagger, routes, all return 404
I was able to connect my github repo, github action auto-deployment on commit. Builds and deploys successfully (creating artifact) from the yml script Azure I auto-generated and committed to my repo. Azure overview page says my app is running good, no…
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…
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…
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

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?
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 ?
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…
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…