Content
Get Contact details by Id
Hi, How can I get the Contact details by its Id? like this: var contact = await Microsoft.Maui.ApplicationModel.Communication.Contacts.Default.PickContactAsync("contact-id-here"); Thanks, Jassim


Datagridview Font When editing cell
I have not used the Datagridview before so have started a test Windows Forms app to learn about it. I notice that when I edit a cell the font size changes to something too small to read, is there a way to prevent this?


How to show a loading prompt in view before the controller loaded the data?
With asp.net core 6.0 mvc It needs several seconds to load data in controller,before that ,how to show a loading promt in the view?


How to ignore ETag checking and fix this error
I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…
What is the difference of = and {get;set;}?
public int PageIndex{get;set;}=0; public int PageIndex=0; what is the difference?
Converting Virtual Directory into an Application.
I am attempting to run a application and encounter this error when trying to execute a install script in browser. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. …


Parse an array of objects to a JSON tree structure
I'm trying to use the bootstrap treeview and the JSON needs to be a certain format. I currently have this format: var data = [ { make: "Chevy", model: "2500", location: "lot" }, { make:…


How to use Service Principal/Managed Identities to access Azure App Configuration from .NET Framework Application?
I need to disable Local Authentication Methods (Access Keys) for Azure App Configuration Stores. Currently for an ASP.NET Framework application, I am using the following for accessing the App Configuration Store from my…


ASPNET authentication works but value for user.Identity.Name is null
I get a null value for user.Identity.Name, but user.Identity.IsAuthenticated returns the correct value. I get my claim values too. I have only found a few posts about user.Identity.Name is null, but nothing has solved it. I have a simple login form: …


How to change value of input field in a strongly-typed view from controller
Hello I am using ASP.NET Core 3.1 How can I change the value of the input fields in a strongly-typed view from controller. I have this simple example. I have three input fields and when the usee enters some values and submit them, I modify the values the…
Shell Navigation and setting Parameter Values
I have included the code that I am using to pass parameters from one view to another view using shell navigation. The issue I am having is that I would like to set my model properties using for example the text entry control. Do I do that using a relay…


Shell Navigation and passing Parameter Values
Hi friends, I was wondering how to pass multiple parameters. I can pass one parameter for now... ?Name={Name} Thanks Task Navigate() => Shell.Current.GoToAsync($"{nameof(DetailPage)}?Name={Name}",


How to use HttpContext or Claims in __Layout.cshtml?
I am using asp.net core 7.0 how to get UserClaims in Pages/Shared/_Layout.cshtml ? I do not want to use ViewData because I have to set it in each page.
Maui android on screen keyboard issue
Hello all. How I can modify the on screen keyboard for my application. I want that the on screen keyboard when my app run to contain only the alphanumeric and a few non alphanumeric characters. How I can do that and when exit my app to return…


State Management in .NET Core
Hi All, I am developing an application in .NET Core with angular client. In my application I have scenario where I have data in List<List<Employee>> in one controller in .NET Core API. Now I would like to access this data in another…


Maui android<helpview /> control issue
Hello all. because there is no helpview control. Is someone here can give me a way to add help to my application. Thank you very much


How to clear text box records before or after downloading a file in ASP.NET web application
using (FileStream fs = File.Create(dataDir + xmlFileToConvertTo)) { Byte[] info = new UTF8Encoding(true).GetBytes(xmlData); fs.Write(info, 0, info.Length); …


What is Best Practice for where to place Javascript for a View
In my views, if I need to include Javascript for that specific view only, I will code the page, then just place the Javascript at the bottom, like this: <div class="blabla" onclick="bleep()"></div> <script…
Questions about MAUI's Entitlement.plist
Hi, How important is the Entitlement.plist in MAUI? and why it's not added by default? so does this mean I don't need to for example to set the Push Notification capabilities? Kindly advise.. Thanks, Jassim


How can add Phone Number Charecter Validation asp.net mvc web
Guys I have question How can Add Phone Number Charecter Validation For example.. User writing 8 charecter but ı want minimum 10 charecter and maximum 20 charekter how can add ? Model index.cshtml

