{"id":15649782,"url":"https://github.com/adefwebserver/blazorsimplesurvey","last_synced_at":"2025-07-28T12:38:12.177Z","repository":{"id":52475303,"uuid":"293154283","full_name":"ADefWebserver/BlazorSimpleSurvey","owner":"ADefWebserver","description":"Blazor Simple Survey","archived":false,"fork":false,"pushed_at":"2023-04-13T21:06:17.000Z","size":695,"stargazers_count":51,"open_issues_count":0,"forks_count":20,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-19T07:46:56.108Z","etag":null,"topics":["azure-b2c","blazor","blazor-server"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ADefWebserver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-05T21:06:33.000Z","updated_at":"2025-04-01T06:22:56.000Z","dependencies_parsed_at":"2024-10-23T01:21:48.762Z","dependency_job_id":null,"html_url":"https://github.com/ADefWebserver/BlazorSimpleSurvey","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADefWebserver%2FBlazorSimpleSurvey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADefWebserver%2FBlazorSimpleSurvey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADefWebserver%2FBlazorSimpleSurvey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADefWebserver%2FBlazorSimpleSurvey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ADefWebserver","download_url":"https://codeload.github.com/ADefWebserver/BlazorSimpleSurvey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251748950,"owners_count":21637418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-b2c","blazor","blazor-server"],"created_at":"2024-10-03T12:32:01.004Z","updated_at":"2025-04-30T17:11:10.017Z","avatar_url":"https://github.com/ADefWebserver.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Blazor Simple Survey Logo Large](https://user-images.githubusercontent.com/1857799/141389995-aabd3af0-a083-4c17-836b-a45c81925469.png)\n## Live Example: \n#### [Blazor Simple Survey (https://blazorsimplesurvey.azurewebsites.net/)](https://blazorsimplesurvey.azurewebsites.net/)\n![Animation](https://user-images.githubusercontent.com/1857799/95696373-ac419300-0bef-11eb-945d-85ba107e50e6.gif)\n## Articles:\n\n* [Blazor Simple Survey: Creating Dynamic Surveys](https://blazorhelpwebsite.com/ViewBlogPost/44)\n* [Blazor and Azure B2C: The Big Picture](https://blazorhelpwebsite.com/ViewBlogPost/42)\n* [Blazor Azure B2C User And Group Management](https://blazorhelpwebsite.com/ViewBlogPost/43)\n\n## Features\n\n* Unlimited Surveys\n* Unlimited Survey Questions\n* Survey responses in pie charts \n* Survey Question Types\n  * Text Box\n  * Text Area\n  * Date\n  * Date Time\n  * Dropdown\n  * Multi-Select Dropdown\n* Azure B2C Integration\n* View Azure B2C Authorization Claims\n* Administration\n  * User Management\n  * Search and edit users in Azure B2C Tenant\n  * Custom designate Azure B2C group as Administration Group \n* Activity Logs\n\n\n## Set-Up:\n\n### Database Set-up\n* Create a Database and run scripts in **!SQL** directory\t\n* Edit *appsettings.json* to set the database connection\n\n### Azure B2C Setup\n* Follow the directions in: [Creating A Blazor Server Azure B2C App](https://blazorhelpwebsite.com/ViewBlogPost/55) to set-up a Azure AD B2C Tenant\n* Copy the settings to the appsettings.json file (AzureAdB2C section). \n\n### Azure B2C Management Configuration\nMicrosoft Graph allows you to manage many of the resources within your Azure AD B2C tenant. To configure this follow these directions:\n* [Register a Microsoft Graph application](https://docs.microsoft.com/en-us/azure/active-directory-b2c/microsoft-graph-get-started?tabs=app-reg-ga)\n* Ensure you add these permissions to the Azure Application you create:\n  * AuditLog.Read.All\n  * Directory.ReadWrite.All\n  * Policy.ReadWrite.TrustFramework\n  * User.Read\n  * User.ReadWrite.All\n* Copy the settings to the appsettings.json file (AzureAdB2CManagement section). \n\n### Azure B2C *Advanced Configuration* (optional)\nIf you desire to allow any Azure AD tenant to log in, you need to use Custom Policies. This application can also be configured to use Azure Active Directory B2C Custom Policy files. \n\nSee an overview of this process here: [Blazor Multi-Tenant Azure B2C](https://blazorhelpwebsite.com/ViewBlogPost/42). To get started see [Get started with custom policies in Azure Active Directory B2C](https://docs.microsoft.com/en-us/azure/active-directory-b2c/custom-policy-get-started)\n\nAfter you follow the directions, you will make a new policy in the Identity Experience Framework. \nYou will create a **Relying Party (RP)** file like **B2C_1A_signup_signin**.\nUpdate the **SignUpSignInPolicyId** property in the appsettings.json file with the name of this file to use it. \n\nYou can get the sample Azure B2C Custom policy .xml files in the **!AzureB2CConfig** directory (you will need to update the custom values)\n* If using **Azure Active Directory Multi-Tenant** login follow these steps: [B2C-Token-Includes-AzureAD-BearerToken](https://github.com/azure-ad-b2c/samples/tree/master/policies/B2C-Token-Includes-AzureAD-BearerToken)\n* If using **Google** login follow these steps: [Set up sign-in with a Google account using custom policies in Azure Active Directory B2C](https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-google-custom?tabs=app-reg-ga)\n* If using **Twitter** login follow these steps: [Set up sign-in with a Twitter account using custom policies in Azure Active Directory B2C](https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-twitter-custom?tabs=app-reg-ga)\n* If using **Microsoft Accounts** for login follow these steps: [Set up sign-in with a Microsoft account using custom policies in Azure Active Directory B2C](https://docs.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-microsoft-account-custom?tabs=app-reg-ga)\n\n### Screen Shots\n\n![ScreenShot-001](https://user-images.githubusercontent.com/1857799/95694318-50bed780-0be6-11eb-9ed1-97bc5b1945b6.png)\n![ScreenShot-002](https://user-images.githubusercontent.com/1857799/95694320-51576e00-0be6-11eb-89fb-6568eeb4a8d3.png)\n![ScreenShot-003](https://user-images.githubusercontent.com/1857799/95694322-51576e00-0be6-11eb-9b49-9c863fd24548.png)\n![ScreenShot-004](https://user-images.githubusercontent.com/1857799/95694314-50264100-0be6-11eb-90ae-83470d69f803.png)\n![ScreenShot-005](https://user-images.githubusercontent.com/1857799/95694316-50bed780-0be6-11eb-8366-cb7811b2057b.png)\n![ScreenShot-006](https://user-images.githubusercontent.com/1857799/95694317-50bed780-0be6-11eb-9ed8-f2dd4a62b58a.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadefwebserver%2Fblazorsimplesurvey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadefwebserver%2Fblazorsimplesurvey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadefwebserver%2Fblazorsimplesurvey/lists"}