969 B
969 B
title | author | description | keywords | ms.author | manager | ms.date | ms.topic | ms.assetid | ms.technology | ms.prod | uid |
---|---|---|---|---|---|---|---|---|---|---|---|
Adding Search | Microsoft Docs | 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-200206d96269 | aspnet | asp.net-core | tutorials/first-mvc-app-xplat/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