Please suggest me Alternatives for BinaryFormatter in .net 8 since it is obsolete in it.
I am migrating the .net 4.7.2 application to .net 8. Earlier we used BinaryFormatter for serialization and Deserialization but it is not available in .net 8. So I want any alternative to BinaryFormatter which I can implement in my .net 8…

What are the alternatives available for System.Messaging package in .net 8
I'm migrating .net 4.7.2 to .net 8.0. The System.Messaging package is not available in .net 8. How can I resolve the errors below errors - The type or namespace name 'Messaging' does not exist in the namespace 'System' (are you missing an assembly…
Error with Microsoft .Net Framework prohibits me from shutting off laptop.
Hello, Since purchasing and using this Lenovo Yoga laptop I have for the past two years been experiencing this error when I try to shut down the PC after having used it for about an hour or more. Does anyone have any experienced this before and knows a…
Blazor Server .NET 8 authorization Dependency Injection User Settings
I have a IUserSettings interface to use between Blazor and a Desktop. I have a task in the interface called Task GetUserSettingsAsync(AuthenticationStateProvider authenticationStateProvider). Once the website comes back from Microsoft Entra, I want to…
How to cancel navigation to a page in .NET MAUI
Please tell me how I can stop navigation to a page in a .NET MAUI Shell app if, for example, the user is not authorized to access the page. I have a nice authentication system and I have access and refresh tokens for communicating with the server, but…
>Net Maui - Passing object between pages
I'm having trouble getting my DetailsPage to show the Observation obs object passed from my ResultsPage. I have a TapGestureRecognizer_Tapped method in the code behind the ResultsPage private async void TapGestureRecognizer_Tapped(object sender,…
.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…
Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring nuget packages in VS 2022.
Hi All, I am getting the error "Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring Nuget packages in VS 2022. I have tried to delete Nuget config file as well but it did not help. Can anyone please…
How to register .net 8 build activex so that test program can run access it from different folder
I can run C:\Windows\syswow64\regsvr32 to register my activex.dll which is stored at the C:\Program Files (x86)\AA but the test program, test.exe, could not access it from C: \Program Files (x86)\BB folder. Any thought?

dotnet workload restore issue
came back to an old brooding .net maui project from last year. at the time, it was compiling and running fine. after starting it up again, ive run into compile issues. Error (active) NETSDK1147 To build this project, the following workloads must be…
how to write and read file in usb storage in .net -android?
I have android pad and there is usb disk and how to read file and write file ?
I have a Blazor App for .NET using the server mode. I now want to add wasm mode to it as well. What changes are required?
I started my project that uses the Blazor Server template from Visual Studio 2022 for .NET8. I now realize I want to add a wasm project to it as well so can take advantage of auto mode. What changes are required in the server project so my components can…
Entry Focus issue in scroll view Maui
I had created a view with 30 entries in a scroll view, for suppose I focus on the 16 entry and click in the background Entry 1 is being focused automatically. Here is the code for reference. <ScrollView BackgroundColor="Green" …
.Net MAUI - Microsoft.Identity.Client with latest Version="4.66.2" is giving the exception as "To enable the embedded webview on Windows, reference Microsoft.Identity.Client.Desktop and call the extension method .WithWindowsEmbeddedBrowserSupport()."
Hello, I was using the Microsoft.Identity.Client with version 4.60.3 is giving the vulnerable error. Hence I recently upgraded my Microsoft.Identity.Client version from "4.60.3" to 4.66.2. Previous versions <PackageReference…
how to change the icon in properties of the APP in .net - android?
I am using .net android and I have changed the appicon of the APP in desktop but when I open the properties the appicon is still the original ('.NET') icon how to change it?
Directory.EnumerateFiles vs Directory.Delete
Hi, Are this code: var dir = new DirectoryInfo(viewDeviceItem.Path); dir.Delete(true); Equivalent to: using System; using System.IO; class Program { static void Main() { string directoryPath = @"C:\path\to\your\directory"; // Specify your…
Why isn't Visual Basic developed like C#?
In fact, I feel very upset with Microsoft's strategy towards the Visual Basic language. You are practicing euthanasia for this language and losing a large base of programmers who prefer to deal with this language. You have wasted the expertise of these…
Latest Update
What is the latest update verified that supports MS Graph API as we are currently testing all phases
How do I get FilePicker to return a non-null result on MacCatalyst?
Maui Workload 9.0.14/9.0.100 SDK 9.0.200 XCode 16.3 (16e140) Mac OS Sequoia 15.3.2 Visual Studio Code 1.98.2 (Universal) I am developing a MAUI App that needs to run on Windows, MacOS and iOS (iPad only). I am trying to get…