How To Implement Search Functionality In ASP.NET Core MVC Index View VS2019

preview_player
Показать описание
#addsearchbox #searchfunctionalitycore

Add search functionality to an ASP.NET Core MVC application on index view page

To implement Add search functionality to an ASP NET Core MVC application on index view page, add a search input field to the view. In the controller, filter the data based on the search input and pass it to the view using a ViewModel. Modify the Index action to handle search queries and display filtered results.

Рекомендации по теме
Комментарии
Автор

very healpful and clear explanations ! thank you !

SM-omtw
Автор

Always well done, helpful and right to the point. Another great video.

uh_oh_letsgo
Автор

i love all your tutorial videos. very helpful and easy to follow :')

loni
Автор

it works. than u some, i learned many things

jotanmazumder
Автор

can we have multiple methods of the index with different params right ??

ammadkhan
Автор

Nice one! Do you have anything about how you can make a checkbox model validation like : public bool termsandconditions { get; set; } ?!

attilaguba
Автор

Hi, I get a mistake (line 37 in the video) sounds like "Cannot implicitly convert type 'System.Web.Mvc.ViewResult' to Maybe someone here can help me to solve it.
Thank you!

annahumeniuk
Автор

was anyone able to pass an integer into the parameter in the function for search

boulderstrong
Автор

Thanks for the video. It looks like you are copying the whole table from the database into server memory, then filtering the results within server memory. Wouldn't it be much more efficient to query within the database and just return the results?

RH-zkje
Автор

Where do I find the "AsNoTracking" method? I can't find it. did it replace?

TheWonderOfJelly