Passing another parameter from Index.cshtml to ActionResult Index in StudentsControler.cs
I am able to pass a Search string and a Sort string parameter from Index.cshtml to ActionResult Index in StudentsControler.cs. I have added 3 button and need to pass either True if button1 or False if button2 or NULL if button3. It is much like Search…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
My CollectionView not update ItemSources ussing MVVM?
Hi, my name Liem! I using CommunityToolkit.MVVM for my NET MAUI project. I have success load data to CollectionView by binding ItemSource to [ObservableProperty] ObservableColleciont<T> Items. Now I use for loop to change item properties inide…
How to close Bootstrap modal in Blazor WASM?
Hi, In my Blazor WASM (.net 6) application, I am displaying a modal popup as follows. <!-- Modal --> <div class="modal fade bg-transparent" id="templatemo_search" tabindex="-1" role="dialog"…
How to connect Access Database to a VB.Net project in VS 2022 using .Net 8.0?
Hi All, I am trying to use .Net 8.0 in Visual Studio 2022; I am unable to use Access Database; the usual way of adding "Data Sources" is not available ( I have been using .Net Framework 4.5 for my projects without any difficulties.) I used the…
Develop an ASP.NET Core web app that consumes an API - NO SCORE AT ALL
hi, after submitting my assessment score didn't show after, that was my third attempt. Microsoft Credential task: "Develop an ASP.NET Core web app that consumes an API".
System.NullReferenceException: 'Object reference not set to an instance of an object.' model was null
model { public int VehicleID { get; set; } public int VehicleTypeID { get; set; } public string Brand { get; set; } public string Model { get; set; } public int Capacity { get; set; } = 0; public bool IsActive { get; set; } } controller //…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
validate antiforgery token genereted by aps.net mvc framework and used in back for front (BFF) api .net core when ajax called
Hi, there, I would like to validate an "antiforgery token" generated on an asp.net mvc framework application hosted on IIS in a BFF .net core API (back for front) hosted on Kestrel Linux with the ValidateAntiForgeryToken attribute. When I…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Getting "Value does not fall within the expected range." on a call to EventWaitHandle.WaitAll(WaitHandle[], Int32)
In my code I make a call (from an MTA thread) to EventWaitHandle.WaitAll(WaitHandle[], Int32) and get the exception: "Value does not fall within the expected range." All the handles in the array (three of them at this time) are non-null, valid…
Cancellation Token signal not being received by the application code
looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://learn.microsoft.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
Issue with View ActionResult on Button Click in MVC 5
The following code works fine and display student enrollment records on the page. Right before the table element, I have 3 buttons to filter out records based on the button that was clicked. In the controller, I added a function "IsEnrolled". …
How do you use the 26100 SDK with .NET?
Using the latest visual studio, all current updates, build system is OS version 22621, deploying to OS version 26100. 26100 SDK is installed from Visual Studio installer. Create a blank "WPF Application" project from Visual Studio Target…
.NET8 MAUI and Azure Notifications Hub implementation
In my NET8 MAUI application, I'm trying to add push notifications using Azure Notification Hub. I can't find an updated example of how to configure and implement correctly the push notification for Windows, Android and iOS. Can you point me in the right…
![](https://techprofile.blob.core.windows.net/images/da03c55ce18f412eb346cb3f4c6f0bda.jpg)
Shell.Current.GoToAsync Failed with Error: java.lang.IllegalStateException: The specified child already has a parent.
In my ViewModel, I had a RelayCommand to send parameters to another page. [RelayCommand] public async Task ReviewIt() { // ... await Shell.Current.GoToAsync(nameof(ReviewItView), new Dictionary<string, object>{ ["key1"] = value1,…
GoToAsync Failed With Java.Lang.IllegalStateException
In my ViewModel, I had a relaycommand to navigation another page: [RelayCommand] public async Task ReviewIt () { ... await Shell.Current.GoToAsync(nameof(ReviewItView), new Dictionary<string, object>{ ["key1"] = value1, …
How to design patterns from scratch using C# asp.net MVC
I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…
How to achieve key/value pair max accurately with simple string using c#
I have simple string value line which contain below content. logo Name raj mobile 9038874774 address 6-98 india bill auto generated Now I am trying key/Value pair to achieve my detail and the pair value output expecting like below [0] Key: Name …
How to achieve Named Entity Recognition (NER) using C# asp.net
When we read a text, we naturally recognize named entities like people, values, locations, and so on. For example, in the sentence “Mark Zuckerberg is one of the founders of Facebook, a company from the United States” we can identify three types of…
Will MIP SDK be supported newer versions of .Net core?
Will MIP SDK be supported on newer versions of .NET core?
Has the development of classic ASP been stopped at Microsoft side and if yes, when?
Dear Microsoft team, we have an application, which was developed with classic ASP. We have found the information, that ASP.NET is the successor of classic ASP. The question is, has the development of classic ASP been stopped at Microsoft side and if…
![](https://techprofile.blob.core.windows.net/images/CL9sTc5zkUClnOVlnXO8DA.png?8DC921)
Error running MAUI on iOS Device
Hi, I have just downloaded Visual Studio for Mac PRE 17.3 (Build 1038) but when I try to run the default MAUI app on iPhone device I get below error: …