O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Coding for the UI (Views and Related Web UI Elements)

Writing a UI view can seem like a complex endeavor. You need to know a lot of different server-side and web technologies to make everything work. This includes client-side JavaScript, HTML markup, CSS for visual styling, server-side Razor code, multiple client-side JavaScript libraries, page layouts and partial views, and even more. Thankfully, Visual Studio and ASP.NET help to abstract a lot of this complexity so we can focus on building our actual pages for rendering.

This section starts with the basics of building a view in ASP.NET 5 MVC, including HTML, Razor, helper methods, page layout, and the like. We then look at using these basics to build the sample pages based on the CustomerController ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required