Navigate PopToRoot when Tab Reselected in .NET MAUI - Navigation.PopToRootAsync
In Xamarin.Forms, we use the following code for tab reselection, and it works there. I want to achieve the same functionality in .NET MAUI, where selecting a tab will navigate to the root of the navigation stack. using Dev.Controls; using…
CarouselView Window bug asthmatically loop
I have a CarouselView, but on Windows in will loop, this doesn't happen on android <VerticalStackLayout> <Label Margin="20" HorizontalOptions="Center" Text="{Binding…
What could be causing issues with referencing the iOS binding library?
Incorrect Path: Ensure the path to the binding library is correct. Any typos or incorrect directory structures can lead to reference errors. Framework Compatibility: Check if the binding library is compatible with your version of iOS and the target…
Issue with BitmapEncoder and BitmapDecoder in Windows.Graphics.Imaging
Hi everyone, I'm encountering an error while working with the Windows.Graphics.Imaging namespace. Here's the relevant code snippet: using (Windows.Storage.Streams.InMemoryRandomAccessStream stream = new…
How to fix in .Net 8 - NotSupportedException: The keyword 'context connection' is not supported on this platform.
I am building a new ASP.Net Core MVC application (.Net 8) with a MS SQL server (inside a docker container). After creating the data and the viewer classes based on my existing (but empty) tables, I am getting following error: NotSupportedException: The…
.NET MAUI ios Application Crashes When Published. Can Someone Guide me?
I maintaining .NET MAUI application that are created using .NET MAUI Blazor hybrid application project. now wwe need to publish it on Apple Appstore and there also some platform specific codes for android as well. so what i did is create .NET MAUI multi…
How to Deploy Xamarin 4.8 Apps to Simulator with VS Code on Mac After Migration?
Hi everyone, With Visual Studio for Mac being dropped, I’ve migrated to using VS Code for Mac and am using Meteor as a simulator for my Xamarin 4.8 app development. I’m trying to deploy a Xamarin 4.8 application to the simulator, but I’ve encountered an…
Burn the files on CD with the full directory tree structure.
The application built on C# Winforms, Framework 4.6.2 and there is the need to burn all the files and folders from the root folder, including itself to CD. The entry parameter is the source root folder path. The folder contains inside all of the needed…
Blazor Hybrid (MAUI) - Customize TitleBar
This is a follow-up to a previous question. I now see that the Title Bar customization API only works for Windows 11 (AppWindow.TitleBar is null on <Windows 11). For this question, keep in mind that I am only asking about the Title Bar when…
How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."
Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…
Migrating from MasterDetail to Flyout, and how to make a common page view?
Yes, I am aware there are two questions to this, perhaps a third in asking if I even need to worry about migrating from MasterDetail at all. I've been going over my code, migrating some API's and so on. One issue I have been finding is that…
How to troubleshoot the exception, Could not create TLS secure channel?
Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…
C# Extension method specificity
Suppose I have an interface and a class implementing that interface: public interface IFoo {} public class Foo : IFoo {} Now suppose I have defined an overloaded extension method on both the class and the interface: public static class FooExtensions…
What's the difference between DOTNET_ROOT and DOTNET_ROOT(x86) environment variables?
I have x86 .NET SDK binary set up on x64 system with DOTNET_ROOT environment variable set, and exe files in the bin\Debug\net8.0 path still run without errors. DOTNET_ROOT(x86) does not exist on my system (I haven't created it). So what's the purpose of…
Error calling a Web API with self-signed ClientCertificate using HttpClient in .NET Core (IIS and Winforms using C#)
We are currently migrating our code from .NET 4.7.2 to NET 7 (.Net Core). Everything has been moved forward except one project that has to consume another company’s WebApi rest web service. When we were forced to interact with this company they were…
Install net 8 runtime where i have vs version 17.8.4 can cause problem.
Hi, I have VS 17.8.4 installed in my machine. Does install also net 8 runtime as prereuisite for specfic app can cause problem in my computer? Can I uninstall net 8 runtime later seperatly? Thanks,
Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR
I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…
Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR
I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…
Will Blazor Server ever work with Windows Authentication?
Where I work all applications must use Windows Authentication. No exceptions. I am learning Blazor using .NET 8. I had hoped that I could use Windows Authentication with the Blazor Server App template. I am aware of the fact that Microsoft advises…
How to add IsPressed effect to a Control?
I would like to create a custom control which is inherited from Control. But Control doesn`t have the IsPressed DP as Button. I want to change the background of my control when it is pressed. However, I don't like to bring other properties which Button…