Add Or Change Identity Claims In .Net 8 Blazor Web App
Hi, In Create New Blazor Web App Project : Check => Individual Check => .Net 8 Check => Auto Interactivew and in ApplicationUser.cs I add a property for use full name { public sting Fullname { get; set; } } but in components i want show…
Visual Studio failed to publish to Azure Container Registry
Hi, I have an ASP.NET Core application that I am trying to migrate to Azure. I am using Azure Container Registry to publish my app's images and run it on Container App. Until a few days ago, I was able to successfully push the image to the container…
Cursor pagination for query based full-text search
I need to implement cursor based pagination on an endpoint which accepts a search query. The problem is that since rows will be ranked based on a relevance score derived from a full-text search in natural language, IDs won't be sequential. Does anyone…
Could not find a part of the path '/tmp/functions\standby\wwwroot/Templates/template1.html'. ReadAllText on Linux Azure functions app seems not to append correct root path.
Following line of code is breaking for Azure function app in Flex Consumption plan with .net 8 Isolated worker, while its working perfectly on local windows machine. Even though I am using Path.Join for platform specific separator. Here templatePath is…
Remote debugging of ASP.NET (.NET Core 8) app under IIS 10 will not show source code on breakpoint
Historically, I've had no problems using the remote debugger on a Windows server for .NET Framework web services. I've now had to create a .NET Core 8 Web API using VS2022. I've published the service to a W2016 host and am hosting it under IIS…
Need code to move panels to extreme right
I have 5 panels that I am working with, all of them are in the same position, havinig the same size. When I want to select one of them, what code can I use to push all the others to the extreme right away from the left, so that I can work with one of…
Maui app in mac using VS Code stop working
Hi, Maui app in mac using VS Code stop working. I got this error. Using .Net 8.
Table border issue
Hi, What is wrong below? How to correct it?
Called multiple times
Minimal code example AppShellViewModel public partial class AppShellViewModel { private readonly IConnectivity _connectivity; public AppShellViewModel(IConnectivity connectivity, NoInternetPopUp noInternetPopUp) { …
Weird disappearing error
I have a very weird error where everything disappears after a while and I think the fault is here <?xml version="1.0" encoding="utf-8" ?> <ContentPage x:Class="METROWIND.Views.NewsPage" …
MAUI: Serilog log file is not creating
I am trying to write all log details to a file and send that to our server using an API. I am using Serilog for this. I did below steps: Installed Serilog, Serilog.Extensions.Logging and Serilog.Sinks.File. MAUIProgram.cs added below code: public static…
Create exe for .NET MAUI windows
I am developing a windows application in .NET MAUI using Visual Studios 2022. I need to test it on another machine so I publish the app and create MSIX file. But when I install the certificate there, it is installed successfully but on executing the…
How to fix Process with an Id of (Random number) is not running
Hi Team, I have been stuck with an error "Process with an Id of (Random number) is not running" and the number keeps on changing every single time. This is what I get in my output window :The program '[17716] iisexpress.exe' has exited…
Playing Video in WPF
Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…
Playing Video in WPF
Description : I have a WPF Project with one Main Window under main window multiple tab item each tab item i binded with user control(Separate xaml)In user control i tried to play one video using MediaElement control... Project Setup: Project that target…
compile binding help
So I am trying to follow the docs <HorizontalStackLayout BindingContext="{x:Reference slider}" x:DataType="Slider"> <Label Text="{Binding Value}" /> <Label Text="{Binding Text,…
Requirements to register and authenticate a .NET desktop app in M365
Hi, all. I have a .NET desktop application (C# + WPF) which is to be registered in Microsoft Store and made available via subscription. Part of the process is clear, such as having authentication via MSAL (which I understand as having the user…
MSAL Android Xamarin Stuck Dialog - "Are you trying to sign in to {your_appname}"?
We are using MSAL through Azure Portal in single tenant mode. This dialog comes up and pressing the buttons gives nothing. Pressing "continue" does nothing and no output comes to the debugger Pressing "cancel" does nothing…
COMException -2147023728 when calling BackgroundTaskRegistration in MAUI WinUI project
I downloaded the C#/WinRT example here for implementing background tasks and it runs successfully, but it's a WPF app. Attempting to do the same in a single or multi-project MAUI app results in COMException -2147023728 when calling…