How to access Microsoft.AspNetCore.Http.HttpContext in Microsoft.NET.Sdk project
In Microsoft.NET.Sdk.Web projects, we can directly access Microsoft.AspNetCore.Http.HttpContext. How to access HttpContext in Microsoft.NET.Sdk projects (representing a class library)? We discuss the tried options in the following…
How to access Microsoft.AspNetCore.Http.HttpContext in Microsoft.NET.Sdk project
In Microsoft.NET.Sdk.Web projects, we can directly access Microsoft.AspNetCore.Http.HttpContext. How to access HttpContext in Microsoft.NET.Sdk projects (representing a class library)? We discuss the tried options in the following…
Flyout flickering problem
I have been working in a feature, that lets the user enter in compact mode I had an issue where the title doesn't show, I fix that, with the help of the awesome @Anonymous I am facing some issues, where the shell takes some time, to go the right…
MAUI iOS - HideSoftInputOnTapped is not working issue
I have an MAUI .NET 8 project, I am facing an issue that When I click outside the custom entry when it has focus, it won't lose focus and won't hide the soft keyboard even when I Set HideSoftInputOnTapped="True". But this issue does not happen…
Crash on .NET MAUI Android - JNI 'Deleted Global Reference' Error
It has been quite challenging to identify the exact cause of this issue. If anyone has any insights or suggestions on how to trace which library or line of code might be responsible, I would greatly appreciate your help. 10-04 13:07:10.445 20018…
Title in flyout doesn't show
Hello @Anonymous Do you remember this post https://learn.microsoft.com/en-us/answers/questions/1637791/transparent-flyout-items Where you told me that y flyout items are transparent, because I have to wait for the items to be ready. Well, I have a…
What will happen to performance when creating this layout?
There is a layout As I see it, it can be done on 7 "FlexLayout" elements. It will not harm the performance, and how good is this option. Maybe it is possible to somehow optimize the layout so that to use a minimum of layouts
Text localization
I want to add the ability to use languages in my application, but from what is written in the doc. it is not clear at all. I am interested in a couple of questions. In which folder to create resource files. You can use the Resources/Languages folder,…
Range validator in MAUI Blazor
Here is a simple app to Add numbers from 0 to 100 , after which I like to perform some statistical operations. Add Insert works fine , I can restrict only 0 to 100 Delete works fine. When editing it is accepting all numbers , I like to restrict 0 to…
How to add the date selected to an ASP.net form with text boxes ? / v 3,5
hi, I an using a simple asp,net form to get the name, number and email address from my web page. It works fine but there is also a JS date picker which looks good and I am happy with it. My question is how do I pass the selected date to the code behind…
The user can determine which page will be the main one.
I want to add a setting to the application so that the user can determine which page will be loaded as the "main" when the application is launched. Do I understand correctly that this should be defined in the "App" class, but then…
Get user data before downloading the application
I'm trying to add a login page to an Android app. There are no problems with the page itself, the issue is how to get user data before loading the app, namely. public partial class App : Application { public App() { InitializeComponent(); var…
FONT SCALING
I have developed a pretty large application for desktop using VS Community on a 14" laptop with Windows 10. Now I migrated to a desktop PC with a 22" monitor and Windows 11. When I run my application with the default display scaling 100% it's…
How to move the creation of the layout for the "DataTemplate" class into a separate function?
There is such a code CollectionView _collection = new CollectionView { RemainingItemsThreshold = 10 }; _collection.ItemTemplate = new DataTemplate(_GetDataTemplate); private Border _GetDataTemplate() { var flexLayout = new FlexLayout { Direction =…
ACR Authentication Options
Our .NET service is currently authenticating and pulling images from isolated ACR using an app registration with a username and password. We are considering using dSMS certificates instead. The plan is to obtain an access token from AAD, exchange it for…
Slider vs SeekBar on Xamarin.Android in Visual Studio 2022
I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…
Slider vs SeekBar on Xamarin.Android in Visual Studio 2022
I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…
Is it possible to use my own cryptocurrency token in my iOS/Android game? How can I create such a token?
I want to create my own cryptocurrency token and implement it in my iOS/Android game if it is not to difficult. I want to grant my own cryptocurrency as a reward to players when they completed a specific task in my game. In addition, I want that players…
How to Drag and Drop Outlook Attachments into a .NET MAUI Application?
I’m working on a .NET MAUI application that allows users to drag and drop file attachments from Outlook. I have successfully implemented drag-and-drop functionality for files from Windows Explorer, but I’m facing challenges when trying to do the same…
How to stop Visual Studio's Android emulator displaying off screen.
I'm trying to use Visual Studio 2022 Community Edition to develop a MAUI application for an Android phone. I use a laptop that is sometimes connected to an external monitor. When I'm not connected to an external monitor the Android Emulator that Visual…