Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Build an HTML Helper Library for ASP.NET MVC 5

via Pluralsight

Overview

Creating your own HTML Helpers simplifies your MVC coding when working with Bootstrap and HTML 5. Moving this code into Helpers can reduce the runtime errors and CSS errors you might otherwise encounter.

Paul's Training Company has developed a web site to input their product data. Your boss wants you to add a login screen and more pages to the site. Unfortunately, he needs it done quickly, so that means you need to work smarter. He wants all the controls to use Bootstrap and take advantage of HTML 5. Working with the limited set of HTML Helpers in MVC means you have to add a lot of custom attributes. This takes more time to code and leads to potential runtime errors. If you had more flexible HTML Helpers that added HTML5 and Bootstrap CSS for you, this would speed up development and testing. In this course, you learn to build a set of MVC HTML Helpers to do just this.

Syllabus

  • Understanding the Benefits of HTML Helpers 5mins
  • Creating Custom HTML Helpers 24mins
  • Capturing HTML and CSS Features in HTML Helpers 32mins
  • Extending Existing MVC HTML Helpers 29mins
  • Promoting HTML and CSS Reuse with HTML Helpers 21mins

Taught by

Paul D. Sheriff

Reviews

4.4 rating at Pluralsight based on 122 ratings

Start your review of Build an HTML Helper Library for ASP.NET MVC 5

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.