Skip to Main Content
Modern Web Development with ASP.NET Core 3 - Second Edition
book

Modern Web Development with ASP.NET Core 3 - Second Edition

by Ricardo Peres
June 2020
Intermediate to advanced content levelIntermediate to advanced
802 pages
16h 11m
English
Packt Publishing
Content preview from Modern Web Development with ASP.NET Core 3 - Second Edition
Reusable Components

This chapter covers ASP.NET Core's reusable components. By reusable, I mean that they can potentially be used across different projects—or in the same project in different places—with different parameters, yielding possibly distinct results. In this chapter, we will cover view componentsandtag helpers (which are new to ASP.NET Core), tag helper components (new to ASP.NET Core 2), and our old friend, partial views.

In this chapter, we will cover the following topics:

  • View components
  • Tag helpers
  • Tag helper components
  • Partial views
  • Razor class libraries
  • Adding external contents

Technical requirements

In order to implement the examples introduced in this chapter, you will need the .NET Core 3 SDK and a text editor. Of course, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781789619768Supplemental Content