Blazor .Net 9 Default template simple usage of a service - porting from an earlier version
I tried to port this simple project: https://github.com/JWealthall/BlazorWindowResize to .net 9.0 So, I created a simple sample at: https://github.com/KKacer/BlazorTestWindowSize I'm trying to understand the usage and changes I need to do in the 2…
Why would my inbound port rules re-prioritize themselves automatically?
I have a server running on Azure and the Inbound Port Rules will automatically change their order in priority causing connection issues on the end-user. Is there anyway to avoid from having to rearrange priorities on these rules?
Cannot update .NET to 6.0.36
I'm currently trying to update .NET runtime however, when trying to uninstall an older version of .NET the following error occurs: I check for it and the program is in fact installed However uninstalling it by any means I've tried gives this error,…
VS 2019 always crashes whenever I try to open this one solution
I am tasked with maintaining an old VB.NET ASP.NET WebForms application. It has 9 projects within the solution. It is at least 15 years old, which is longer than I have been employed in this position. None of the original developers are around. They left…
Firewall blocking OneDrive file content using Graph .NET SDK
I have a C# backend code that uses Microsoft Graph SDK for .NET and reads file content from OneDrive. The solution is a multi tenant solution and is deployed in Azure but secured by NVA Firewall (Fortinet) even for outbound connections. We have patched…
Unable to display alert after modal popup
I have an issue I am unable to solve. In this code: var popupPage = new myPopup(); var taskCompletionSource = new TaskCompletionSource<bool>(); // Set up an event to resolve the task when the modal is dismissed popupPage.Disappearing += (s, args)…
aspx page i droge in a listbox to my form
aspx page i droged in a listbox to my form and i cannot move it even i set in code the location and it dont help it is staion on the feft side of the form and cannot move it
Button appearing above page content for all pages on iOS tablet - .NET MAUI
Hi, I have a .NET 8 MAUI app that I'm developing for Android and iOS. I have an issue where all of my pages are showing a blank space at the top with a button, but it's only doing that on iOS when on a tablet. My iPhone doesn't show it and neither does…
Requirements to register and authenticate a .NET desktop app in M365
Hi, all. I have a .NET desktop application (C# + WPF) which is to be registered in Microsoft Store and made available via subscription. Part of the process is clear, such as having authentication via MSAL (which I understand as having the user…
NPGSQL - Common Language Runtime detected an invalid program.
I have two servers with windows server 2019 and an a Simple API project developed with .NET 8. The project use Npgsql library at version 4.0.0. The configuration between servers are the same: same path same .NET hosting bundle same IIS…
NPGSQL - Common Language Runtime detected an invalid program.
I have two servers with windows server 2019 and an a Simple API project developed with .NET 8. The project use Npgsql library at version 4.0.0. The configuration between servers are the same: same path same .NET hosting bundle same IIS…
Will publishing an ASP.NET WebForms app remove Crysttal Reports from the web server?
I maintain a legacy Intranet ASP.NET WebForms app written years ago using VB.NET. When the original developers wrote it, they used Crystal Reports 13.0.2 (I think, I'm going on memory and I'm home, so I cannot verify this, but I'm sure it is very close.)…
Error RZ10012 when adding a component in blazor
Hello, I'm trying to learn Blazor with a youtube video. I have this page : MainLayout.razor @inherits LayoutComponentBase <div class="page"> <div class="sidebar"> <NavMenu /> </div> …
How Can I Detect if the System Clock is Moved Forward or Backward in a C# WPF Application?
Hello, In my C# WPF desktop project, I want to detect if the system clock has been moved forward or backward. When such a change is detected, I would like to take specific actions. For example: Show a warning if the system clock is moved forward. Log an…
[iOS] MAUI app crashing when calling function from external library in Release mode, but works in Debug mode
MAUI .NET 9, 9.0.21, targeting iOS and Android I'm observing the app crashing on iOS when running in Release mode build from TestFlight on physical device, but works when running in Debug mode in simulators. The app crashes when a particular method is…
Xamarin.uwp- getting run time error - System.Reflection.MissingMetadataException: ''Xamarin.Forms.Platform.UWP.WindowsPlatformServices' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859'
Xamarin.uwp- getting run time error - System.Reflection.MissingMetadataException: ''Xamarin.Forms.Platform.UWP.WindowsPlatformServices' is missing metadata. For more information, please visit http://go.microsoft.com/fwlink/?LinkID=392859' Tried multiple…
Called multiple times
Minimal code example AppShellViewModel public partial class AppShellViewModel { private readonly IConnectivity _connectivity; public AppShellViewModel(IConnectivity connectivity, NoInternetPopUp noInternetPopUp) { …
Why can I not see ioS Local Device in VS 2022 on Windows ARM (Snapdragon) device?
I have recently purchased a Surface laptop with Snapdragon X 12-core processor and am struggling to create a useable VS2022 .Net MAUI development environment. I discover that there are no Android emulators available at present, but attaching a physical…
Can I use custom DataAnnotations localization?
[Required(ErrorMessage = "The Email field is required.")] [EmailAddress(ErrorMessage = "The Email field is not a valid email address.")] [Display(Name = "Email")] public string Email { get; set; } how to…
MAUI: Issue with subscription page in play store, plans are not listing and no cancel option
I purchased a subscription for my own app from play store using real card and I successfully completed the payment. I am redirecting the users to play store subscription page for upgrade, downgrade and cancel subscription. My problem is when I visit the…