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…
.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…
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…
how to solve a dot net core MAUI Dependency Injection failure that just hangs
I am developing a MAUI application with dot net core 8. i need to setup getting data from a rest api and binding the data to xaml pages with MVVM. i have used online examples to be the basis for my code and the samples run. in my app a content page will…
Update iOS SDK to 17 or later
Hi, After publishing my app to AppStore, I received this email I'm using Visual Studio 2022 Mac version 17.6.9 (build 415) , and Xcode 15.2 After receiving that email, I went to my iOS Xamarin project -> Properties -> iOS->Build and changed my…
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…
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…
Inject EntityFramework DbContext in a .NET 6 Azure Function
Where do I have to put the DbContext in a .NET 6 Azure Function? builder.Services.AddDbContext
How can I access calendar and reminder items on .net MAUI?
I have made a .net MAUI app, and I would like to access the calendars on phones and also be able to create reminders. Is there a native .net MAUI way to do this? Thanks
How to troubleshoot registration errors particularly in the RegisterModel page and carefully review the server-side registration process to implement sweetalert pop up.
I can not register with this code. I am encountering registration errors despite the notification popping up but i would get is error message and can't register, how to address issues with the server-side registration process or with how the form data is…