The recipes in this chapter focus on fundamental programming constructs that you will use often when creating views using Razor. As an ASP.NET Core MVC developer, you will likely spend a significant amount of time creating views. Mastering basic Razor syntax and HTML Helpers is essential to becoming productive on the ASP.NET Core MVC platform. Recipe 3-1 is a Razor program that includes a bonus quick-reference guide when you run the sample web application associated with the recipe.
This chapter also includes a set of recipes dedicated to using the ActionLink HTML Helper. ...