Getting Started with ASP.NET Core Accordion Component
17 Feb 20223 minutes to read
This section briefly explains about how to include ASP.NET Core Accordion component in your ASP.NET Core application using Visual Studio.
Create ASP.NET Core web application with Razor pages
## Install ASP.NET Core package in the application
Syncfusion ASP.NET Core components are available in nuget.org. Refer to NuGet packages topic to learn more about installing NuGet packages in various OS environments. To add ASP.NET Core components in the application, open the NuGet package manager in Visual Studio (Tools → NuGet Package Manager → Manage NuGet Packages for Solution), search for Syncfusion.EJ2.AspNet.Core and then install it.
Add Syncfusion ASP.NET Core Tag Helper
~/Views/_ViewImports.cshtml file and import the
@addTagHelper *, Syncfusion.EJ2
Add ASP.NET Core Accordion Component
Now, add the Syncfusion ASP.NET Core Accordion tag helper in
Press Ctrl+F5 (Windows) or ⌘+F5 (macOS) to run the app. Then, the Syncfusion ASP.NET Core Accordion component will be rendered in the default web browser.