Issue with AuthenticateAsync
If anyone can give me a clue as to where I am going wrong. I have slowly been upgrading my code base from .NET 6 to .NET 8. With my authorization controller, in the authorize method with .NET 6 this line of code var results = await…
Cannot upload a file using ASP.NET Core REST Web API and Swagger
Hello, The [FromForm] IFormFile file is null for a REST API HttpPost. The project was created using the Visual Studio 2022 ASP.NET Core Web API template. I deleted the Weather model and controller. And added my own controller. Here is my controller…
BINDING DOES NOT RECOGNIZE TYPE
I have a custom component that exposes a property 'Amount64' of type Int64; I would like to bind it to a property 'Amount', also of type Int64, in the host page: <components:MyNumericKeyboard x:Name="keypad" Amount64="{Binding Amount,…
MAUI: Slider ThumbImageSource is not moving after disabling the slider to select lower time
Using this and this threads I implemented the slider reduction prevention logic on my MAUI application. My requirement is that after dragging the slider, the user should not be allowed to select a lower value. However, if they choose a higher value, it…
Embedding of Blazor Server Component in Web Forms
We have a legacy application on ASP.NET Web Forms (version .NET 4.8), now we want to shift it to latest tech stack Blazor using Server Hosting Model only (version .NET 8). I am facing issues in embedding the Blazor Server components in Web Forms. Is…
Error in navigation: Shell.Current is null. MainPage is null or not an instance of AppShell
hi, When I click on the buttons this error appears in the console: Error in navigation: Shell.Current is null. MainPage is null or not an instance of AppShell. Macos visual studio for mac .net8 .net maui AppShell.xaml.cs using…
Azure Data Factory SFTP Linked Service: Failed to read binary packet data! (ProtocolError)
Hi everyone, I'm facing a problem with a SFTP server, where some restrictions are applied to avoid the usage of RSA Keys with SHA1 signature. I can connect without any problem to the SFTP server using WinSCP. There are no network restrictions so I can…
ASP.NET API + Swagger + Azure B2C
This is my 3. try to get help for a ASP.NET Core + Swagger + Azure B2C demo project. I am not sending code because this results into…
CRITICAL ERROR | Ask a question -> Page not found!
I worked OVER 1 HOUR on a question and when I submitted it I got redirected to PAGE NOT FOUND! My draft I had IS GONE! I am very unhappy with this.
BINDING CONVERTER THROWS EXCEPTION
HELP I have a simple binding like that: <Entry Text="{Binding Amount" OK <Entry Text="{Binding Amount, Converter={StaticResource amountConverter}}" THROWS an exception. Here is the complete page: <?xml…
How to make "RefreshView" friends with "AbsoluteLayout"
public CollectionPage() : base() { collection.SelectionChanged += _OnSelectionChanged; collection.ItemTemplate = GetDataTemplate(); LoadedCollection(); refresh.Command = new Command(LoadedCollection); refresh.Content = collection; var fabButton…
Xamarin iOS How to File.ReadAllBytes a file inside /private/var/mobile/Containers/Shared/AppGroup/
string filePath = "/private/var/mobile/Containers/Shared/AppGroup/7E6455EB-2EF9-417E-BC79-71BA25B53853/File Provider Storage/file.pdf" byte[] byteFile = File.ReadAllBytes(filePath); When I run the code above on Xamarin iOS I get an…
Cannot call an aspx file in MVC .NET 4.7.2 Web App from MVC .NET 4.7.2
Hi, I have two MVC projects, MVCWebappDLL project and MVCRegularDLL project. Both in two different solutions. I reference MVCWebappDLL from inside the MVCRegularDLL. I have an .aspx with its .aspx.cs that resides in MVCWebappDLL. In my…
Help with GitHub Actions CI/CD Blazor Web App .NET8-> Azure App Service
yaml-copy.txtThe publish directly from Visual Studio works correctly but my yaml script results in the css/bootstrap not being applied correctly. Are there any changes needed to be made with my yaml script? It is a Blazor Web App .NET8 interactive…
MAUI Application refuse to run due to microsoft family
When I run MAUI app from VS on windows machine , I get the following error and the app get prevented from running : I am running on Windows 10 PRO edition I am the organizer in Microsoft Family Safty app , so technically I should be able to run and…
MAUI Application refuse to run due to microsoft family
When I run MAUI app from VS on windows machine , I get the following error and the app get prevented from running : I am running on Windows 10 PRO edition I am the organizer in Microsoft Family Safty app , so technically I should be able to run and…
System.NotSupportedException: The given path's format is not supported
I have a project that has been building and publishing successfully. However, after attempting to solve the iOS 18 white screen issue, a new error has started to appear, and I am unsure where to look to fix it. The following changes have been made since…
Get property that is not in class C# (Android)
public class DashboardPage : ContentPage { public DashboardPage() { RunObject(new DemoObject { Name = "Text" }); RunObject(new Demo1Object { Name = "Text 1" }); } private void RunObject(BaseObject…
Lifetime validation failed, the token is expired.
Even if the token is new then also it gives me this error.
ImageView not updating in RecyclerView
I have a RecyclerView with the following item layout: <?xml version="1.0" encoding="utf-8"?> <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"…