Error Microsoft.AspNetCore.Components.ComponentFactory+<>c__DisplayClass9_0.<CreatePropertyInjector>g__Initialize|1(IServiceProvider serviceProvider, IComponent component)
Im getting this error in my WASM project: InvalidOperationException: Cannot provide a value for property 'AuthService' on type 'WebApp.Client.Pages.Login'. There is no registered service of type 'RWebApp.Client.Authentication.IAuthenticationService'. …
Nuget and The package manager on VS 2022 Community edition cannot find the Microsoft.EntityFrameworkCore
Typing Microsoft.EntityFrameworkCore into the Nuget package manager returns nothing and instead displays the NO package found message. The PM console prints the following error text when NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 8.0.3…
Problem building .NET Framework 4.8 project with .NET Standard 2.0 reference in Atlassian Bamboo
(apologise if this is the wrong forum, first time posting) Hello, We use Atlassian Bamboo for our CI/CD needs and I'm having trouble with one solution. There is a .NET Framework 4.8 project with a reference to another project that is .NET Standard…
MAUI .Net8 Android stuck at SplashScreen
Hello, I'm working with MAUI to develop a mobile application for Android/iOS. Since migrating to .NET 8 on Android, the application launches without crashing but remains stuck on the splash screen. On iOS, there are no issues. I've tested in both debug…
How to change the ios bundle id in vscode for maui
In Visual Studio, Xamarin Forms apps the Bundle Id is changed by opening the info.plist file and selecting the Application dropdown. The Bundle Id is on that page to change. I need to know how to do the same thing in vscode using the vscode maui…
Upload & download an excel file from Onedrive using C# razor page
I am trying to upload & download an excel file to Onedrive using c# razor pages and have tried following code snippets, // Install Microsoft.Graph SDK // Install Microsoft.Identity.Client (MSAL) SDK // Authentication var…
How to save session id and validate it with another session id when user log in to the application from new browser
Hi Support, I want to save the UserId and SessionID. When the user logs into the application with the same URL in another browser then I need to validate that the SessionID is not the same when logging into the application in another browser. I tried…
How to check if a razor component is called by WPF-Blazor hybrid or Blazor application?
As a razor component can be called in a WPF blazor hybrid or Blazor server/wasm project. Is it able to check if current running application is WPF or Blazor in the razor component? Thanks!
.NET Desktop Runtime 6 - Download
Is there a direct link that never changes for .NET Desktop Runtime (x64) At the moment it is currently version 6.0.7 and you download it by going to this link https://dotnet.microsoft.com/en-us/download/dotnet/6.0 If you hover over the…
Update a contact - Maui Android/Ios app
I have an app which is to run on Ios and Android. I use VS 2022 17.9.4 app for Android (which is my problem right now) targets And33 with min ver 23 The maui helper…
ASP.NET - xmlformatter
I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…
A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI
Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…
Fixing issues with AOT compilation
Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…
[Question] What is the root cause of Event Code: 3005 HttpException Request format is unrecognized.
I would like to learn and understand more about the error (HTTP Error 503. The service is unavailable) that I am getting when attempting to access the URL. When I checked my IIS, the application was in a Stop state. Did it crash or something? See below…
Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed
Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?
IIS CORS Module configuration with Windows Credentials
Hi, Does anyone have a Windows .Net Core API being accessed via Windows Authentication? I have not been able to get this to work. I have an .Net Core API hosted on my Windows 2022 server in IIS with Windows Authentication enabled. We have a on-premise…
How to deploy ASP.NET Core with COM module dependencies on Azure
Hello! We are trying to deploy an ASP.NET Core, .NET 8.0. Web Service to Azure. However, we have trouble registering the COM modules for the deployment process. What we’ve tried: Initially, we tried to deploy the service by publishing it to Azure as…
UnhandledException not fire in publish(realsed) mode as exe
Hi, Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 why UnhandledException not work in reeased mode after publish. public partial class App : Application { public App() { …
What Is the Best Way to See Raw Data Stream Being Passed from SQL to .NET Application?
I am running some functions on application startup for my .NET application. This mostly involves running a bunch of scripts on my SQL database to ensure plans are cached. These queries are generated from EFCore-compiled queries. In doing this, I…
MAUI apps with .NET 8 don't work on android
I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…