Content
How to find common parent class
I often have to find a class or interface common to controls or objects that make up controls. Is there an automatic tool to determine the first parent common to two or more classes or a shared interface?
Maui - Order of launch
Hi, What order of steps that Maui launch ? Maui program.cs. app.xaml...... Thanks,
How do I disable content filtering?
Can't get on websites
how to remove realm database used in swift iOS in .NET MAUI?
Hello, I rebuild iOS app using .NET MAUI. There was data stored in realm database in iOS app. In MAUI, i want to remove it because it's no longer needed. Is there any way to that? Thanks
How to automatically copy clipboard text into textbox using timer
Using VB.Net, am trying to get the text in clipboard into a specific textbox. Once text get into clipboard, I want it to be getting pasted and queuing automatically into the textbox, using timer. The below code was supposed to do as expected but only…
Getting Data in a List using four different tables
I have the following database tables Employee table -Database name Employee - EmployeeID is the primary key JobTitleID EmployeeNumber SectionID EmployeeId 9 1234 2 1 2 8976 3 …
TreeListView in .NET6
As per title, I am looking for a TreeView control with column support that is compatible with .NET4+, but also .NET 6 and 7. All the supposedly such controls I have found are too old and not compatible with the new versions. I also take this opportunity…
Session Timeout
Overview: Our ASP.NET 3.5 framework based web application is upgraded to .Net 4.8. There is no change to the code and the way sessions are handled. For some of the users the session timeout occurs though the inactivity on the page is less than 2-3…
HttpListener used on Xamarin.IOS app. "Safari cant open the page because it couldn't connect to the server" error only on iOS 17 devices.
Our project uses the latest Xamarin and our app has a function that creates a HTTP server to store a html and config file, and we use SfSafariViewController to view the contents on the html file. However, after the release of iOS17, this function does…
UI freezing due to Task.Run activity in async/await Task.Run() scenario (reworded)
[Previously} Help needed understanding C# await Task.Run() and threading I’m creating a desktop C# Winforms app. If an exception is thrown due to a missing essential component the user can choose an automated fix option that searches the app’s archives…

How to register Microsoft.ACE.OLEDB.12.0 provider on my machine?
I have a 64-bit version of Microsoft Windows 11. Whenever I try to run my apps, the error registers Microsoft.ACE.OLEDB.12.0 provider is not registered on my machine. I need that provider to run my apps that include a Data Grid View control. Are there…
Unable to add data into SQL table - exception thrown, but query works OK
I created a temp table in Server Management Studio, and imported it into my application using Scaffol-DbContext ` Scaffold-DbContext 'Data Source=MyServer;Initial Catalog=MyCatalog;Integrated Security=True;Connect Timeout=30;Encrypt=False;Trust…
Display value of DropDownList SelectedItem on a label
Hello, I have been trying to show the value of DropDownList selecteditem in a label but all efforts could not yield desired result. I have a table Data as follows: IdFruits colors1Apple Red2Banana …

No suitable constructor was found for entity type 'FilterDescriptor'
I have Visual Studio 2022 with a .NET 7 API project in it. I have been building out a set of models and having EntityFramwork build the database in Microsoft Sql Server. That has been going great. Today I added a .NET 7 Web App (MVC) to the solution and…
EF Core: Map multiple c# classes to DB table
Hello, I have a DB table named JobPosting with 60 columns. I'd like to have 2 c# entities JobPostingFull & JobPostingLite which both reference the JobPosting table. The JobPostingFull class has all columns from the DB, the JobPostingLite class has…
Is there a way to automate adding the FullText Index to an Entity Framework migration
Hi all; Yes I can add the script to the Migration.Up() everytime I revise my model. But that is fundamentally no different from having a CreateIndexes.sql that I just run in SSMS after creating a DB. Is there some way to declare the full text indexes in…


How do I get the FreeTextTable.Rank via Entity Framework
Hi all; I'm able to get a list of records using FreeTextTable in Entity Framework as follows: var EventsSqlWhere = $"SELECT top 200 * FROM FreeTextTable(Events, *, {0}, 200) as t INNER JOIN Events u on u.Id = t.[KEY] ORDER BY t.[RANK]…


How can I do a [MemberNotNull] for an Entity Framework IncludeAll() method I wrote?
I have the following helper method. This includes all complex properties in my Event DbSet (actually there's 9 properties but I reduced it for clarity): public static IQueryable<Event> IncludeAll(this IQueryable<Event> source) { return…


Asp.Net MVC 5 Jquery serialize Array not map class list property in
Jquery serializeArray, not map class list property. I am passing master and detail records using Ajax post request to my API controller List of Vias does not map; it gives a null value, but when I try this on a simple controller, it works. How can I…
"Failed to get document because the client is offline" error in Xamarin.Forms project
Here is my code of App.xaml.cs file of a Xamarin.Forms project: public partial class App : Application { public App() { CrossFirebaseCrashlytics.Current.HandleUncaughtException(); InitializeComponent(); …