Content
Access Control
Good morning, I am working on a .NET Core 6, SQL Server project and I need some idea of how to implement permissions by fields, let me explain: in a form, for example, that has [Name, Surname, Date, Address, Gender] to be able to assign in an access…


The type or namespace name 'Platform' does not exist in the namespace 'Microsoft.Maui.Graphics' (are you missing an assembly reference?)
I am using Visual Studio Community 2022 64 bit 4.8.04161 on Windows 11 Pro. I need to be able to draw an image at a particular location. I am attempting to use the documentation at…


The MAUI GraphicsViewDemos image draw causes iOS app to abort
The GraphicsViewDemos app found at https://github.com/dotnet/maui-samples/tree/main/6.0/UserInterface/Views/GraphicsViewDemos aborts on iOS when the "Image paint" option is selected.


How to use a auto ml pickle file from azure studio in a c# .NET api?
Hello to all, I am currently working on a Machine Learning project, I have launched the auto ML of Microsoft Azure Studio on my data and I have downloaded the best model in a folder with the appropriate Pickle file. However I would like to use this…


Printing a div card with exact styles as it appears on the web page
On my web form, I have these div card where there are labels with values, and two image controls. The labels on the card can have their font-family and color changed by the user o the client side to the desire of the user, using controls provided to do…


passing data from view model not working
Hello , I have this text field <Border BindingContext="{Binding Source={RelativeSource TemplatedParent}}" StrokeThickness="0" StrokeShape="RoundRectangle 10"> …


Show Pop Up for entering Data
Hi Friends. I want to show a Modal Pop Up to get data from the user. Is there a base class for a Pop Up View and Can I use a RelayCommand to display the Pop up? Thanks !!!!


Java.Lang.NoClassDefFoundError com.google.android.exoplayer2.source.ConcatenatingMediaSource
I use Xamarin MediaManager version 1.2.2 to play songs in my Android and iOS applications: https://github.com/Baseflow/XamarinMediaManager But the problem is that it is not working in every Android project. For example, it works in a new empty Android…


CS1579 - - foreach statement cannot operate on variables of type 'object'
Hello, I have the following C# code in the ContactsViewModel.cs of a .NET MAUI app: - public void ReadContacts() { var contacts = Contact.GetContacts(); Contacts.Clear(); foreach (var contact in contacts) //…
CS1061 errors in converting a MySQL Server code to MS SQL Server code
Hello, I am converting some MySql Server Code to MS SQL Server code in a .Net Maui app which I am working on. I received three instances of CS1061 errors in a Contact.cs file as shown below: - public static bool CheckIfUserExists(Contact contact) …
How to update appSetting for a Background Service (Service Worker) (.NET 6)
Hello, I came to ask you for your help, please. I have created a Worker Service which periodically deletes files in a folder. My path to the folder is stored in an App.config file, I read the value via ConfigurationManager. It works, but I want to be…
Custom configuration provider with sqlserver
Hi everyone, I need to create my own customized provider configuration with a sqlserver database in order to offer my client (who manages his website) to change some settings. My idea is to use the settings in the json file for the "system"…


How to upgrade Xamarin native Mac application project to Mac .NET macOS application project
I find out 3 template in VS2022 for Mac, The first one is Mac .NET macOS Application, the second one is Mac .Net Mac Catalyst Application and the third one is Multiplatform .NET MAUI project. In order to upgrade and migrate my Mac Xamarin native project…


How to bind table data dynamically to pdfmake table body using jquery
I have created a HTML Table and I want to download selected columns into pdf using pdfmake below is my code example html code :- <div id="tablediv"> <table id="stockalloctbl_1"> <thead> <tr…


Net Maui CollectionView, Image Source
I have a CollectionView in .Net Maui, and this collectionview has items as Label and Image, ImageSource i am getting from URL, also I have bottom tabs, and when I am switching tabs and come back to parent tab, all images are lost in collectionview


saving png image to the database
I am trying to save a .png image to the database. I have a field in database called sign with type varbinary(max) and I have following in the Model: public partial class EmployeeInfo { public int EmployeeInfoId { get; set; } public byte[]? Sign { get;…


Create Audio and Video Streaming with Xamarin Forms
Hi to all, I would like to create an audio and video call streaming between 2 apps, a simple one to one call with Xamarin Forms. I have seen this Azure streaming…


How to convert xml to style so that browser can render html from xml when using RSS
I have downloaded a app called MessageBoard and trying to configure RSS Feed to output serialised data to browser. The result display a error message with code written in xml format. This XML file does not appear to have any style information associated…


error when I tried to findBy string in API
Hello, currently, I'm learning Swagger, when I tried to create find by username ,I got the below error [HttpGet] [Route("{fullname:string}")] public async Task<IActionResult> signIn([FromRoute] string…


.Net MAUI , restore deleted platform
Hello , I deleted by mistake the windows application from.net Maui platform. is there any way to add the windows form again?

