SurveyJS is a set of JavaScript components that allow you and your users to build surveys / forms, store them in your database, and visualize survey results for data analysis. This quick start template shows how to integrate the following SurveyJS components into a Blazor application without using any front-end framework:
SurveyJS also supports integrations with React, Angular, Vue 3, and jQuery. Refer to the following repository for an example with React: SurveyJS + Blazor + React Quickstart Template.
git clone https://github.com/surveyjs/surveyjs-blazor-vanillajs.git
cd surveyjs-blazor-vanillajs
dotnet run
Open http://localhost:5008/ in your web browser.
NOTE: This application uses .NET 8.0. Make sure that you have ASP.NET Core Runtime 8.0 installed on your machine.
This template covers most basic use cases. You can find code examples for them in the following files:
- Create a standalone survey
- Add Survey Creator to a page
- Export a survey to a PDF document
- Visualize survey results
Refer to the following SurveyJS help topics: