Content
Maui for android toolkit ppoup Size(x,y) works when x,y are literals only.
Hello all this works using CommunityToolkit.Maui.Views; namespace MauiToolKitPopup; public partial class MyPopup : Popup { public MyPopup() { InitializeComponent(); this.Size = new(300, 120); } async void…
why Layout.cshtml will run lots of times?
I am using asp.net core web application using a _Layout.cshtml in Index.cshtml I write some code in _Layout.cshtml and add breakpoint. I find it will hit 10 or 8 times when I open the Index.cshtml why?
iOS app suddenly kicking out can not encode offset
Hi, I have a VS 2019 project for iOS with Xamarin. It was working fine in June, I have my SKD version set for 10.2 and supported architectures set to ARMv7 + ARM64. Today I loaded up my project as I wanted to check something but when I go to build I now…
What is way to get IServicePrincipal using Azure.ResourceManager?
In deprecated packages IServicePrincipal was a result of calls: Microsoft.Azure.Management.Fluent.Azure.Configure()?.Authenticate(...)?ServicePrinciples
InvalidProgramException in Windows Forms application
Hello, I'm a developer of the desktop .NET Windows Forms application. I faced a strange exception thrown by .NET runtime on a single production PC. On a component initialization phase .NET throws the following: System.InvalidProgramException: Common…
Differences between GC.Collect method and JavaScript's window.gc method
Version .NET Framework 4.8 What are the differences between the GC.Collect method and JavaScript's window.gc method? Specifically, what are the differences in the scope of objects targeted for garbage collection? Is there a possibility that manually…
C# Winforms how to set Datagridview DataGridViewCheckBoxCell via code
I am stumped on finding a solution to allow me to set a hidden DataGridViewCheckBoxCell checked state with code. The application is using a DataGridView to present a recipe on the form. Users are allowed to add/change the rows of the recipe. I want…
when microsoft not support for vs for mac can we use vs code to develop maui?
I know microsoft will not support vs for mac 2024. what should we use to develop ios ?
[MAUI]When I use the AudioTrack.Write() ,it stuck the main thread
I created an AudioTrack object named audioTrack, and use the audioTrack.Play(), Then in an Event I use the audioTrack.Write() method, and it stuck the MainThread, I have try to use the async, but it doesn't help. I also try to use Task.Run() to created…
.NET Maui Android App not showing Flyout Menus
In my Windows app, my Flyout Menus are showing up correctly and respond correctly when clicked, however, the Flyout Menus do not show up while using any Android Emulators. Here is my xaml: <ContentPage.MenuBarItems> <MenuBarItem…
how to remove or hide indicator carouselview MAUI app
how can i remove or hide this? it appears when i swipe carousel. it happens on iOS
How to ask user permission before closing MAUI APP?
I have read about the lifecycle events in maui and found the below: #if WINDOWS events.AddWindows(windows => windows .OnActivated((window, args) => LogEvent(nameof(WindowsLifecycle.OnActivated))) …
Magnifier with pixels grid in WPF
How can I create magnifier with pixels grid in WPF app? I need that pixels under cursor of mouse showing in circle of magnifier in enlarged size, for example like on photo.
Apple Developer Account: Individual - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'
I have an issue when trying to sign in with my apple developer account on visual studio 2022 (v17.4.1). Firstly, I when trying to sign in as an 'individual account' I get this error ‘there was an error while loading your certificates: The Apple Developer…
iOS Error: clang++ exited with code 1:
Hi, Why i am suddenly getting this error: Xamarin.Shared.Sdk.targets(3,3): Error: clang++ exited with code 1: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_OSInAppMessage", referenced from: objc-class-ref in registrar.o …
JQuery, Inline Edit, calender bbox not disppearing
Hi I am using Datatables.net For inline editing I'm using https://github.com/ejbeaty/CellEdit Git Repo to depemostrate the problem https://github.com/singhswat/InLineEditDatatables Problem: Once I click on a cell that has date to be entered. Cell becomes…
How to prevent to navigate to the previous page
Hello In android app xamarin In my app i have 2 activities. Is there a possibility to prevent the user to navigate to the previous activity (the last page). when i click the > on the bottom toolbar i navigate to the last page so i would like…
Sync data of Table A between SQL Server 1 and SQL Server 2
One is live and SQLSVR2 is a backup. From time to time, I may need to switch them so I am writing a sync application that uses ADO .Net to read the modified/new rows from SQLSVR1->Table A and update/insert/delete them from SQLSVR2->Table A. These…
Issue with adding Service-Based Database
When I attempt to add a Service-based database to my project, I encounter an error message that reads: "Could not load file or assembly 'Microsoft.Data.SqlClient, Version=3.0.0.0, Culture=natural, PublicKeyToken=23ec7fc2d6eaa4a5' or one of its…
Will Applying a Patch to ASP.NET MVC Also Update Associated Components (Web Pages, Web API, SignalR)?
The question is asking whether, when applying a patch to ASP.NET MVC, the other associated components (ASP.NET Web Pages, Web API, and SignalR) will also be updated as part of the patching process. In other words, will the patch affect not only ASP.NET…