title: How to dynamically filter viewmodel of a Razor page in ASP.NET Core?
body: <p>I have a viewmodel that I send and render in a page. Now, I'd like to add an input control and when I type something there (and press a button, possibly), filter the viewmodel.</p>
  
  <p>The data set is limited so I want to avoid a roundtrip to the server. Filtration can be carried out on the client.</p>
  
  <p>In an Angular application, it's easy. I'm not sure how to do it in a proper way in MVC, though. Googling gave a too wide range of suggestions and also drowned in WPF and XAML references for viewmodel.</p>
  
  <p>Suggestions?</p>