AspNetCore.Docs/aspnetcore/tutorials/first-mvc-app-xplat/search.md

887 B

title author description manager ms.author ms.date ms.prod ms.technology ms.topic uid
Adding Search rick-anderson Shows how to add search to simple ASP.NET Core MVC app wpickett riande 04/07/2017 asp.net-core aspnet get-started-article tutorials/first-mvc-app-xplat/search

[!INCLUDE adding-model]

Note: SQLlite is case sensitive, so you'll need to search for "Ghost" and not "ghost".

[!INCLUDE adding-model]

Change the <form> tag in the Views\movie\Index.cshtml Razor view to specify method="get":

<form asp-controller="Movies" asp-action="Index" method="get">

[!INCLUDE adding-model]

[!div class="step-by-step"] Previous - Controller methods and views Next - Add a field