{"id":13597666,"url":"https://github.com/microsoftgraph/msgraph-sample-blazor-clientside","last_synced_at":"2026-03-07T13:02:42.848Z","repository":{"id":44610090,"uuid":"298080079","full_name":"microsoftgraph/msgraph-sample-blazor-clientside","owner":"microsoftgraph","description":"This sample demonstrates how to use the Microsoft Graph .NET SDK to access data in Office 365 from Blazor WebAssembly apps.","archived":false,"fork":false,"pushed_at":"2025-08-11T23:33:27.000Z","size":1583,"stargazers_count":34,"open_issues_count":8,"forks_count":13,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-20T19:21:27.951Z","etag":null,"topics":["blazor","devxsample","microsoft-graph"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoftgraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-09-23T19:56:49.000Z","updated_at":"2025-05-21T12:35:37.000Z","dependencies_parsed_at":"2024-02-05T16:27:50.115Z","dependency_job_id":"9016209e-4280-45f7-9923-70a7723a5d7a","html_url":"https://github.com/microsoftgraph/msgraph-sample-blazor-clientside","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/microsoftgraph/msgraph-sample-blazor-clientside","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoftgraph%2Fmsgraph-sample-blazor-clientside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoftgraph%2Fmsgraph-sample-blazor-clientside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoftgraph%2Fmsgraph-sample-blazor-clientside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoftgraph%2Fmsgraph-sample-blazor-clientside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoftgraph","download_url":"https://codeload.github.com/microsoftgraph/msgraph-sample-blazor-clientside/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoftgraph%2Fmsgraph-sample-blazor-clientside/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30214618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T12:15:00.571Z","status":"ssl_error","status_checked_at":"2026-03-07T12:15:00.217Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["blazor","devxsample","microsoft-graph"],"created_at":"2024-08-01T17:00:38.738Z","updated_at":"2026-03-07T13:02:42.831Z","avatar_url":"https://github.com/microsoftgraph.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"---\npage_type: sample\ndescription: This sample demonstrates how to use the Microsoft Graph .NET SDK to access data in Office 365 from Blazor WebAssembly apps.\nproducts:\n- ms-graph\n- office-exchange-online\n- blazor\nlanguages:\n- csharp\n---\n\n# Microsoft Graph sample Blazor WebAssembly app\n\n[![.NET](https://github.com/microsoftgraph/msgraph-sample-blazor-clientside/actions/workflows/dotnet.yml/badge.svg)](https://github.com/microsoftgraph/msgraph-sample-blazor-clientside/actions/workflows/dotnet.yml) ![License.](https://img.shields.io/badge/license-MIT-green.svg)\n\nThis sample demonstrates how to use the Microsoft Graph .NET SDK to access data in Office 365 from Blazor WebAssembly apps.\n\n\u003e **NOTE:** This sample was originally built from a tutorial published on the [Microsoft Graph tutorials](https://docs.microsoft.com/graph/tutorials) page. That tutorial has been removed.\n\n## Prerequisites\n\n- [.NET Core SDK](https://dotnet.microsoft.com/download)\n\n## Register an app in Azure AD\n\n1. Open a browser and navigate to the [Azure Active Directory admin center](https://aad.portal.azure.com). Login using a **personal account** (aka: Microsoft Account) or **Work or School Account**.\n\n1. Select **Azure Active Directory** in the left-hand navigation, then select **App registrations** under **Manage**.\n\n1. Select **New registration**. On the **Register an application** page, set the values as follows.\n\n    - Set **Name** to `Blazor Graph Sample`.\n    - Set **Supported account types** to **Accounts in any organizational directory and personal Microsoft accounts**.\n    - Under **Redirect URI**, set the first drop-down to **Single-page application (SPA)** and set the value to `https://localhost:7067/authentication/login-callback`.\n\n1. Select **Register**. On the **Blazor Graph Tutorial** page, copy the value of the **Application (client) ID** and save it, you will need it in the next step.\n\n## Configure the sample\n\n1. Create a new file in the **./GraphSample/wwwroot** directory named **appsettings.Development.json** and add the following code.\n\n    ```json\n    {\n      \"AzureAd\": {\n        \"ClientId\": \"YOUR_CLIENT_ID_HERE\"\n      }\n    }\n    ```\n\n1. Replace `YOUR_CLIENT_ID_HERE` with the **Application (client) ID** value from your app registration.\n\n## Running the sample\n\nRun the following command in the **GraphSample** directory.\n\n```dotnetcli\ndotnet run\n```\n\nOpen your browser to `https://localhost:7067`.\n\n## Code of conduct\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Disclaimer\n\n**THIS CODE IS PROVIDED _AS IS_ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoftgraph%2Fmsgraph-sample-blazor-clientside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoftgraph%2Fmsgraph-sample-blazor-clientside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoftgraph%2Fmsgraph-sample-blazor-clientside/lists"}