-
Course
- Core Tech
ASP.NET Core 2 Tag Helpers and View Components
This course gives you everything you need to know to start using Tag Helpers and View Components in your ASP.NET Core web apps. Learn how to use all the built-in Tag Helpers as well as how to expertly author your own.
What you'll learn
Tag Helpers and View Components are new to ASP.NET Core and make building web pages with the Razor View Engine easier and more intuitive for both designers and developers. In this course, ASP.NET Core 2 Tag Helpers and View Components, you will gain the ability build Tag Helpers, Tag Helper Components, and View Components which will lead to you and year team at being more productive in building Razor view pages. First, you will learn how to build your own Tag Helpers and View Components. Next, you will discover how to use all the built-in Tag Helpers provided by Microsoft. Finally, you will explore how to build your own advanced Tag Helper that incorporates dependency injection among other advanced capabilities. When you are fiished with this course, you will have the skills and knowledge of Tag Helpers and View Components needed to both author your own Tag Helpers and View Components as well as efficiently use all the built in Tag Helpers in ASP.NET Core.
Table of contents
- Version Check | 15s
- Why Did Microsoft Add Tag Helpers and View Components to ASP.NET Core? | 1m 15s
- What Is a Tag Helper? | 5m 13s
- What Is a View Component? | 1m 49s
- When Should You Use a Tag Helper or a View Component? | 2m 4s
- Exploring Tag Helper Basics | 3m 8s
- Matching the Tag Helper Element to a C# Class | 4m 8s
- Rendering Output from Our speaker-card Tag Helper | 3m 2s
- Nesting Tag Helpers for Better Layouts | 1m 17s
- Replacing Our Speaker Card Tag Helper with a Speaker Card View Component | 2m 52s
- What to Expect and Our GitHub Repository | 1m 37s
About the author
Peter is the founder of Silicon Valley Code Camp and long-time software professional specializing in mobile and web technologies. He has also been a Microsoft MVP in ASP.NET since 2006.
More Courses by Peter