Maui Need information to add stack smashing protection in ios build
Need information about to add -fstack-protector-all flag on ios Build
Maui - create only one instance
Hi, I have maui app on WINDOWS 8 desktop. I have shortcut to exe. When i click on exe it create and instance of this app. It possible to limit to only one instance of app will be alive ? Thanks in advance,
Securetorage Null
So, for my app, I need the functionality of letting the user change role (Student, Coordinator or teacher) So, the way that it was setup was when I log in, I immediately get the email from firebase. this was working fine. but for some reason when I quit…
Error: 'Package restore failed rolling back package change for' while running Scaffold-Dbcontext in Entity Framework Core 7.0.14
Hello, I'm working on a project using .NET Core 7 and encountering an issue when running Scaffold-DbContext with Entity Framework 7.0.14. The error message I'm getting is "there was an error running the selected code generator package restore failed…
Why is OnInitializedAsync() called twice on a page reload
Hi all; Normally when a page is being created & rendered in Blazor version 8, RenderMode.InteractiveServer, OnInitializedAsync() is called once. But when I do a Reload on Chrome, it is called twice. And all child components in the page are called…
.NET Authentication .NET 7 Vs .NET 8 in my simple API service
I’m working on a relatively simple .NET Core web API service that performs CRUD operations on a database. Not sure what's the best way to implement authentication. Here’s the situation: In .NET 7, I had to manually define all the authentication…
How to remove html tags and line break plain text
I wish to re format the email html page text below to a plain text style in a legible presentation with line breaks where breaks are present. The regularExpression example i am following for simplification, does not seem to work? ```Note, i am…
How to add a row to a DataGridView that has a ComboBox
I've been running this application for years. I just went from w10 to w11 and get the error message "DataGridViewComboBoxCell value is not valid" when loading data. The DataGridView has a ComboBox column, but I add structures that have only…
What is the meaning of "System.IndexOutOfRangeException: Index was outside the bounds of the array"?
I would like to know more about the "System.IndexOutOfRangeException: Index was outside the bounds of the array at System.Collections.Generic.HashSet`1." What could cause this exception during my login and recycling the application pool in IIS…
get a value of the row or item in ListView using a Button in Xaml
Currently I am able to get the value I have set the SelectedItem property to of the .Net Maui ListView by selecting an item in the ListView. However, I now have a button on every row of the listview that I would like to be able to click on and get a…
How to add accessible name ( aria-label ) in @DropDownListFor in razor?
I have filter dropdown and trying to add comply with 508 compliance. I used aria_label, aria-label and aria_labelledby but unable to see accessible name for the DropDownListFor. I see No ARIA attributes under ARIA Attributes on Chrome Browse tool. How…
How to setup functions in azure portal after upgrade?
Hello, I have upgraded my project to .NET 7 (isolated process), Azure Functions from v3 to v4 and CosmosDB to latest version, I have tested everything locally and, after a long journey, is working well. So, I deployed everything in our test env,…
Using and dispose correctly MediaElement
Hello, I'm developing a small android app using MAUI. In this app i have a MediaElement from MAUI Community Toolkit. I have two page; the home and about page. How i can correctly dispose media element when i close the application? Now i have put dispose…
How to fix provider: SSL Provider, error: 0 - One or more of the parameters passed to the function was invalid.
We have updated TLS 1.1 to 1.2 on application server where ASP.NET web application is hosted on IIS. The application is built with .Net framework 4.7.2. But after installing cipher on the application server, application unable to connect the SQL database…
Getting null continuation token ItemLinqQueryable
I seem to be having a strange issue when trying to use GetItemLinqQueryable method from the .NET implementation of the Microsoft.Azure.Cosmos. Specifically when I try to get around 40,000 records I got around ~3000 or so before I get a null continuation…
IIS 10 with Windows Authentication not working anymore HTTP Error 401.2 - Unauthorized
I have created an application with asp.net core mvc v8 that works with Windows authentication in IIS 10. Setting: Authentication: all are disabled except Windows authentication. I have it mounted on a server and I need it to work on my local network. And…
System.IO.Ports only availble on windows, but im using windows - .NET6
So i'm trying to read arduino serial from c#, but it shows me the folowing exeption when i try to open the port: System.PlatformNotSupportedException: 'System.IO.Ports is currently only supported on Windows I am currently using windows 11. Also i tried…
Pasing data to viewModel contractor
Since I need m data immediately, I decide to pass my class to the WelomePage Contractor public partial class WelcomePageViewModel : BaseViewModel { DemyUser? loggedUser; public WelcomePageViewModel(DemyUser demyUser) { loggedUser =…
MUAI Blazor App: A Blank "Screen" between splash page and login page.
Hi - We are using MAUI+ Blazor to develop our mobile App. One thing we notice is that as the app is starting, the splash screen shows, then it hides, then a very fast white flash shows right before the login page (or index page), because we are…
MAUI: Issue with deleteing the last item from ObservableCollection
I am using an ObservableCollection saving comments. When I delete a comment, I will fetch the deleted comment id and delete that comment from the ObservableCollection. My Problem is if I delete the last comment all the previous comments are vanishing…