Content
Blazor accessing global variable issue
Hi all I asked here how to save variable state and i get long answers and what I want is to know if it's possible in blazor to define a variable somewhere in the app structure so I can access it from any component. something like in console program…
Maui- app.cs write in constructor http call
Hi, I need to write http call asynchronously and i have only constructor their. Is not allowed to make asynchronous call in constructor? Thanks,
Maui - Order of launch
Hi, What order of steps that Maui launch ? Maui program.cs. app.xaml...... Thanks,
Unable to run .net 4.8 apps on IIS using Arm processor (M1 Max)
I have a macbook pro with M1 max processor running windows 11 pro in Parallels using the most updated version as to writing this message. When trying to run .net 4.8 app on IIS I get the following error in the event viewer: The Module DLL 'C:\Program…
Blazor default template application issue
Hi all. in the default template application of blazor when clicking the button the count variable is increasing by 1. but when navigate to other component and then return to the Counter component the count value is reset to 0 what changes I need to do in…
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…
Working on a tutorial and cannot find the Web Site Administration Tool.
Hello, I am working on a login tutorial and cannot find the Web Site Administration Tool to use to configure asp.net. Here is a link to the tutorial: https://learn.microsoft.com/en-us/previous-versions/aspnet/yh26yfzy(v=vs.100) I vaguely…
How To create a framework
How to create the framework in C# with Example
Logging in C# - To a text file
I am creating a console application and I understand that I need to use ILoggerFactory for logging purpose, but how can I get it to be written to a text file instead to the debug section or the console window.
docker compose didn't work with SSL for devcert
i have an issue to setup local environment to run docker compose to publish api services that using .net 7 docker-compose.debug.yml is version: '3.4' services: webapp: image: mcr.microsoft.com/dotnet/samples:aspnetapp ports: - 80 …
MAUI extensions not available on visual studio 2022
I have Visual Studio v 17.7.4 and Visual Studio Preview v 17.8.0 and have recently installed the MAUI suite.  I am not given the option to create multi-platform apps as I assume I would on VS or VSP. I have gone through previous iterations of the…
how can pass input type text value one cshtml view to another cshtml view usi
In my project I want to use a datatable in two ways. The data will be inserted with the data from index.cshtml. The page will then redirect to the purchaseDetails.cshtml page. Then the data that will be displayed is based on the invoice number of the…
Display Map in MVC CORE
I am displaying location from web browser I want to embed map here and pass latitude and longitude…
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 …
Customtextbox in customdatagridview
Hi , i have a Created a textbox which when gets the focus , changes its backcolor and forecolor . It also clear out its text when the user presses escape key . Moreover, it also have a custom caret in it which looks like Dos . Is it possible to create a…
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…
Store a Value in application
Hi , Can the experts here suggest me a way how to store a value of a label from a particular form in such a way that can be made safe until next restart of a application and can be retrieved next time for use .

MAUI: Listview isvisible property is not working from the code behind?
I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…