Examining the Routable Razor Components

Learn how to use and implement routable Razor components.

The routable Razor components are in the Pages folder. There are three routable Razor components in the Demo project:

  • The Index component
  • The Counter component
  • The FetchData component

The Index component

The “Home” page of the Demo project uses the Index component that is defined in the Pages\Index.razor file:

Get hands-on with 1400+ tech skills courses.