This guide will help you run a sample Blazor project from GitHub. It is a ready-to-use application with several live Flexmonster demos. Get the sample project to try out Flexmonster.
To integrate Flexmonster into an existing Blazor project, see integration with Blazor.
Download a .zip
archive with the sample project or clone it from GitHub with the following commands:
git clone https://github.com/flexmonster/pivot-blazor cd pivot-blazor
Run the sample project from the console:
cd Flexmonster.Blazor.Sample dotnet run
Open http://localhost:5000/
in your browser to see the result. The application can be shut down manually with Ctrl + C
.
Our sample project is based on a Blazor WebAssemly template project, so most of the project’s files are the same as in the template. Learn more about a Blazor WebAssembly project structure.
Now take a look at the files specific to our sample project:
Flexmonster.Blazor.Sample/Shared
— menus and toggle elements used in the sample project.Flexmonster.Blazor.Sample/Pages
— demos that cover different aspects of Flexmonster usage in Blazor:
PivotTableDemo.razor
)HandlingEvents.razor
)UsingApiCalls.razor
)UpdatingData.razor
)Learn more about how these demos work: Usage examples.
Integrate into an existing Blazor project or adjust the sample project to your needs: