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

902 B

title author description manager ms.author ms.date ms.prod ms.technology ms.topic uid
Adding Search to an ASP.NET Core MVC app 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-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