Cannot Migrate Database
Hello all, I am having issue updating the migration of my database. I am currently using .NET 9.0. I have modified one of my files to include the following: protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.UpdateData( …
Can we set custom labels defined through Microsoft Information Protection on emails via Graph API?
I am working on integrating Microsoft Information Protection (MIP) with an email system. Specifically, I want to know if it's possible to apply custom sensitivity labels, which are defined through MIP, to emails using the Microsoft Graph API. Here are…
How Can I call RuntimeHostConfigurationOption OnStartup of a WPF (C#) application in .NET 8?
Hi there, I have a WPF application where the UI is a very important thing and heart of the application. Due to some UI elements requirements I have some custom RuntimeHostConfigurationOption which I put in my WPF application through the *.csproj file. I…
.NET 6 / .NET 8 migration, downward compatible
Hi, we started migrating parts of our large project from .NET 4.x to .NET 6 in beginning of 2023. When we started, .NET 8 hadn't existed. It was quite some big effort to do this. Now we will release our product soon. Until the product is at the customer…
.NET 6 / .NET 8 migration, downward compatible
Hi, we started migrating parts of our large project from .NET 4.x to .NET 6 in beginning of 2023. When we started, .NET 8 hadn't existed. It was quite some big effort to do this. Now we will release our product soon. Until the product is at the customer…
I got two error in the MAUI project when I try to run the project
Below I attached the error message and screenshot: Severity Code Description Project File Line Suppression State Error APPX0002 Task 'WinAppSdkGenerateAppxPackageRecipe' failed. The specified module could not be…
NullReferenceException when building Xamarin Android Binding Library
I've been trying to build a Xamarin Android Binding Library having a .jar file in it. It builds just as expected with different .jar-s I tried, however when I add jackson-databind library, I keep receiving BINDINGSGENERATOR : error BG0000:…
Authenticate my own Blazor App with against my SSO-REST Backend
Hi, regarding to this blog https://devblogs.microsoft.com/dotnet/whats-new-with-identity-in-dotnet-8/ I've successfully created a REST-API with Identity and SSO. But now I need my Blazor frontend to authenticate against this rest service. The blog…
How to get diagnostics / trace or from a MAUI Android app that is crashing but no clear FATAL exception or clue
Hi, I have an app that is crashing in MAUI Android, but when looking at logcat or in the console etc, I cannot see any FATAL Exception or other native information to give me a clue to work out what to do next? Could someone be so kind to give me ideas…
App Hangs: Navigate from home tab to its details page(3 level navigation) and switch another tab in shell tabbar and then back to home tab does not work.
In my .Net Maui App. I have 3 tabs in shell tabbar (Home, Notification, Account) Default tab is Home. I have few items on Home page, Now i navigate to one of the items page present on default Home page. From here i can navigate 2 more level from…
Using Renegotiation in C#
Hi All, We have a WPF application built on .Net Framework 4.8. This application acts an HTTPs client. We are currently using the code provided in the attached file for HTTPs communication. This code is used to run a sequence of commands one after…
Android Emulator waiting for debugger to attach in .net maui app
I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…
Unable to Install App from Visual Studio – Error: Detecting existing process
I'm having trouble installing my MAUI app directly from Visual Studio. Whenever I try to install it, I encounter errors, and the app breaks during the installation process. Development Environment: Microsoft Visual Studio Community 2022 (64-bit) -…
DriveItem AdditionalData Patch method with error in Graph Api
I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…
Xamarin.Forms 5.0.0.8532 not available in https://www.nuget.org/packages/Xamarin.Forms
Currently on the official nuget package page (https://nuget.org/packages/Xamarin.Forms ) you can only download Xamarin.Forms up to version 5.0.0.2662, but within Visual Studio my project has version 5.0.0.8532+0-pr.15765-sha.fb33d7158-azdo.88278, why is…
How to make the Popup control in WPF ignore mouse events
I want to implement a function: display Popup when the mouse enters the Grid, update the Popup position when the mouse moves, and close Popup when the mouse leaves the Grid. This is my current xaml and cs: MainWindow.xaml <Window…
How to Enable App Installer in a Secure Way After CVE-2021-43890 for many domains as sources?
Hi there, I'm interested to know if there's an update regarding this Github issue after CVE-2021-43890 was reported. In a nutshell, I'm looking for a secure way to enable App Installer for installation from the web in many domains as ms-appinstaller…
How to connect to Azure Service Bus through Private Endpoint?
I'm developing an application in our organization using C#/.NET(8.0) and have to use Azure Service Bus. My access in our organization's Azure account is mostly read-only, so I don't know actually how they created the instances. But I can see that the…
How to build post request to create the nested folder on site using updated graph api version 5.56.0.
I am try to create the POST request in c# using graph api version 5.56.0 but not able to create. I have try like var graphClient = GetGraphServiceClient(); var result = …
Not able to Authorize in the asp.net core web api
I am not able to authorize any method in any API