BlazingApple.Survey.Shared 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BlazingApple.Survey.Shared --version 1.0.0
NuGet\Install-Package BlazingApple.Survey.Shared -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BlazingApple.Survey.Shared" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BlazingApple.Survey.Shared --version 1.0.0
#r "nuget: BlazingApple.Survey.Shared, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BlazingApple.Survey.Shared as a Cake Addin
#addin nuget:?package=BlazingApple.Survey.Shared&version=1.0.0

// Install BlazingApple.Survey.Shared as a Cake Tool
#tool nuget:?package=BlazingApple.Survey.Shared&version=1.0.0

BlazingApple.Survey 🍎

🔥 A totally copacetic, easy-to-use front-end Blazor Survey package. This front-end Razor Class Library is intended to be used by Blazor WASM projects, and targets .NET 5.

About BlazingApples

BlazingApples is an open-source set of packages that aims to speed application development for Blazor WebAssembly organizations.

⚡ Check out the demo site here, or this blog post on how the components work!

👏 Special thanks to ADefWebServer for creating the BlazorSimpleSurvey demo application which this is based off of.

Demo 📹

<p align="center"> <img alt="Demo of Copacetic" src="https://github.com/BlazingApple/Survey/blob/main/README/BlazingApplesDemo.gif?raw=true"> </p>

Installation 🔧

1. Get the required dependencies.

  1. On Client Project, right click and get to the NuGet Package Manager ("Manage NuGetPackages").
  2. Install BlazingApple.Survey Survey Administration
  3. Add the following to Program.cs's Main:
			builder.Services.AddScoped<DialogService>();
			builder.Services.AddScoped<TooltipService>();
			builder.Services.AddScoped<NotificationService>();
			builder.Services.AddScoped<BlazingApple.SurveyService>();
  1. In your index.html file, add the required Radzen style and script:
    <link rel="stylesheet" href="_content/Radzen.Blazor/css/default-base.css"> 
    <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>

2. Set up your server's API controller to receive the requests.

It is recommended to do this with EntityFrameworkCore to create the tables in my database and receive and process the request. This portion of the setup shows how to do this.

  1. In your Server project, open ApplicationDbContext, add the following tables:
		using BlazingApples.Shared;
		...
    public DbSet<Survey> Surveys { get; set; }
		public DbSet<SurveyAnswer> SurveyAnswers { get; set; }
		public DbSet<SurveyItem> SurveyItems { get; set; }
		public DbSet<SurveyItemOption> SurveyItemOptions { get; set; }
  1. Create a SurveysController.cs in the Controllers directory. Feel free to copy this controller.

Usage 💪

Once the (admittedly rather involved) setup is complete, using the components is straightforward:

  1. In a component, add the <DisplaySurvey></DisplaySurvey> component to show surveys to a user. If no survey is provided, this component will download all the active surveys from the server and give the user options to take them.
  2. Use the <SurveyAdmin></SurveyAdmin> component in a page in which you'd like to enable users to create or modify surveys.
  3. Step 3

Credits 💮

Authors 📝

  1. Taylor White

License 📜

License: GPL v2

Home Page 📷

Survey Administration

Taking Surveys 📷

Taking a survey

Monitoring Responses 📷

Survey Responses

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on BlazingApple.Survey.Shared:

Package Downloads
BlazingApple.Survey

BlazingApple is a collection of business objects and corresponding components to speed application development. BlazingApple.Survey renders survey management components and components to take a survey as well as sending the objects to a server.

BlazingApple.Survey.Components

BlazingApple is a collection of business objects and corresponding components to speed application development. BlazingApple.Survey renders survey management components and components to take a survey as well as sending the objects to a server.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.3.5 400 10/15/2023
2.2.9 477 3/21/2023
2.2.0 350 2/21/2023
2.1.5 272 2/20/2023
2.1.4 262 2/19/2023
2.1.1 269 2/18/2023
2.1.0 252 2/18/2023
2.0.0 644 8/24/2022
1.1.0 915 1/8/2021
1.0.0 2,395 11/28/2020