WPF: Concerns about Concurrent Access to Singleton Run Logger across Threads
Our WPF application targets .NET framework 4.8. the WPF application can control instrument and run a plate and collect run data and show run status in the User Interface. The application defines a run log which can record application operations,…
editor.disableReadOnlyMode( 'feature-id' ); is not working in DecoupledEditor
Hi! The question is simple. This works: <script src="~/js/ckeditor5-build-classic/ckeditor.js"></script> <textarea id="editor_middle">@Model.Description</textarea> ClassicEditor .create(…
can not draw on UIImage in MAUI?
var g=UIGraphics.GetCurrentContext(); g.SetTextDrawingMode(CGTextDrawingMode.Stroke); g.SetStrokeColor(UIColor.FromRGB(255, 255, 255).CGColor); g.SetFillColor(UIColor.FromRGB(0, 0, 0).CGColor); g.FillRect(new CGRect(0, 0, 309,…
Exception when using Firebase streaming
Hi, When I try to read data from Firebase using FirebaseDatabase.net Library I receive Newtonsoft.Json.JsonReaderException exeptionn this code works Imports Firebase.Database Imports Firebase.Database.Query Public Class Form1 Private Async Sub…
.NET 9 UWP Build Error
A blank project created in Visual Studio 2022 using .NET 9 UWP generates a build error: Microsoft.UI.Xaml.Markup.winmd cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more…
Resolving TPH Inheritance and Migration Issues in Entity Framework Core with Multi-Project Architecture
Hello, I’m working on a multi-project architecture with models and data access layers in separate .csproj files (These are Classes Libraries.) Using EF Core 8 and TPH inheritance, I encounter the following error when running Add-Migration in…
CarouselView Navigation Behavior Changed After MAUI Essentials 8.0.83 Update
Hello MAUI Community, I'm experiencing an unexpected change in CarouselView navigation behavior after updating to .NET MAUI Essentials version 8.0.83. Previous Behavior (Before Update): When clicking an indicator dot, the CarouselView would directly…
Visual Studio keeps underlining wrong code
Hi, I am using visual studio 2017 and I am trying 2022 Community. In both I see underlines under using System.Linq and using System.Web.WebSockets and everything from these is ignored by Visual Studio. For example myArray.FirstOrDefault(a=> true);…
Error Validating the service descriptor
Good day all. I come across several errors in the past day, that were not present prior to my removing a service from my application. While this service did not touch any of these classes that are showing the error, I am at a loss on how to resolve it.…
Error Validating the service descriptor
Good day all. I come across several errors in the past day, that were not present prior to my removing a service from my application. While this service did not touch any of these classes that are showing the error, I am at a loss on how to resolve it.…
how to get pixel of UIImage in MAUI?
I am using maui in platform ios. I create UIImage and how to get the pixel of (x,y)? if the UIImage is 30*5 and I can get the pixels of the Image?
How to create persistent Cookie from HttpContext's Cookie.Append method?
var token = await _jwtTokenService.GenerateToken(user); HttpContext.Response.Cookies.Append("accessToken", token, new CookieOptions { HttpOnly = true, Expires = DateTime.UtcNow.AddHours(1), SameSite = SameSiteMode.None, Secure =…
.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…
Why can't we target the browser in .Net MAUI using WebAssembly and WebGL?
Integrating WebGL and WebAssembly (WASM) at a low enough level to support a .NET MAUI/XAML runtime is possible but requires a thoughtful design that bridges the WebAssembly execution model with the rendering and UI framework requirements. Here's how this…
Why can't we target the browser in .Net MAUI using WebAssembly and WebGL?
Integrating WebGL and WebAssembly (WASM) at a low enough level to support a .NET MAUI/XAML runtime is possible but requires a thoughtful design that bridges the WebAssembly execution model with the rendering and UI framework requirements. Here's how this…
the image can not fill the area in maui?
I am using .net maui Shell and there is image <Image Source="myimage.png" VerticalOptions="Fill" HorizontalOptions="Fill"/> the title bar is not filled why?
Windows Form Project c#, checking if Key exist in Registry
Hi, I tried various things does not seem to work if key does not exist it gives exceptional error, but if it does it works. Here Code: private void Form1_Load(object sender, EventArgs e) { RegistryKey Key =…
Image placeHolder
For some reason the URL image https://www.sciencedaily.com/images/scidaily-icon.png doesn't want to show on desktop in my collection view, even though is there Android Desktop Website (Edge) So, I have two possible solutions find out why it doesn't…
Creating and displaying forms in VS 2022 Community 17.12.3
Hello I reopen under VS 2022 Community 17.12.3 an old WinForm application developed by me under VS 2010, which targets .Net Framework 4.0. Under VS 2022 it now targets .Net Framework 4.8.1. The compilation is Ok and I start the execution (in Debug and…
Visual Studio 2019 Crashes When Closing Windows Form in Design View
Maintaining a Windows Forms application in Visual Studio 2019 (version 16.11.42) that uses Janus controls. Recently, there is a form within the application that when opened in design view indicates there are changes as soon as it is opened. Closing and…