Creating the Customer Example Pages

The prior sections should have given you a good overview of writing ASP.NET 5 MVC 6 views. We will now use this information (helper methods, TagHelpers, Razor syntax, HTML input tags, layout, and the like) to create views using the customer example model and controller created previously.

This section steps you through writing each of the customer sample views. It contains complete listing for the two views. It then walks you through the salient points for creating the final view. Of course, the code for all this is available from the download for this book.

Add Basic Navigation

The first thing we are going to do is add navigation support for customers to the menu bar. The following walks you through this ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.