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

975 B

title author description keywords ms.author manager ms.date ms.topic ms.assetid ms.technology ms.prod uid
Adding Search to an ASP.NET Core MVC app rick-anderson Shows how to add search to simple ASP.NET Core MVC app ASP.NET Core, riande wpickett 04/07/2017 get-started-article d69e5529-ffff-4628-855d-200202096269 aspnet asp.net-core tutorials/first-mvc-app-mac/search

[!INCLUDEadding-model]

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

[!INCLUDEadding-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">

[!INCLUDEadding-model]

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