All Projects → wmgdev → BlazorGraphApi

wmgdev / BlazorGraphApi

Licence: other
Blazor Server App with Azure AD Authentication, that calls the Microsoft Graph API on-behalf of the signed-in user.

Programming Languages

HTML
75241 projects
C#
18002 projects
CSS
56736 projects

Projects that are alternatives of or similar to BlazorGraphApi

BlazorCefApp
Build windows desktop GUI app via CEF / WinForms / Blazor server-site
Stars: ✭ 28 (+0%)
Mutual labels:  blazor, blazor-server
BlazorSimpleSurvey
Blazor Simple Survey
Stars: ✭ 39 (+39.29%)
Mutual labels:  blazor, blazor-server
BlazorVirtualScrolling
Blazor components for efficiently rendering large lists and data using virtual scrolling
Stars: ✭ 56 (+100%)
Mutual labels:  blazor, blazor-server
AsteroidsWasm
Collection of applications based on a single C# .NET Standard project running in: Blazor Client (WebAssembly), Blazor Server, Electron, WPF, WinForms, Xamarin
Stars: ✭ 136 (+385.71%)
Mutual labels:  blazor, blazor-server
QuickTeams
Download, Clone, Archive, Un-Archive your Microsoft Teams and manage the apps you've installed to them
Stars: ✭ 31 (+10.71%)
Mutual labels:  microsoft-graph-api, microsoft-graph
MvvmBlazor
A lightweight Blazor Mvvm Library
Stars: ✭ 203 (+625%)
Mutual labels:  blazor, blazor-server
Blazor.PersianDatePicker
A free JavaScript Jalali (Persian) and Gregorian (Miladi) dual datepicker library for Blazor applications
Stars: ✭ 40 (+42.86%)
Mutual labels:  blazor, blazor-server
Ant Design Blazor
🌈A set of enterprise-class UI components based on Ant Design and Blazor WebAssembly.
Stars: ✭ 3,890 (+13792.86%)
Mutual labels:  blazor, blazor-server
SyncfusionHelpDesk
Blazor Syncfusion Help Desk
Stars: ✭ 38 (+35.71%)
Mutual labels:  blazor, blazor-server
FindRazorSourceFile
This is a set of NuGet packages that makes your Blazor apps display the source .razor file name that generated the HTML element under the mouse cursor when entering the Ctrl + Shift + F hotkeys.
Stars: ✭ 39 (+39.29%)
Mutual labels:  blazor, blazor-server
Blazorade-Teams
A Blazor component library that is designed to be used when building applications for Microsoft Teams.
Stars: ✭ 29 (+3.57%)
Mutual labels:  blazor, blazor-server
BlazorFullCalendar
A Server-Side-Blazor wrapper for FullCalender.io
Stars: ✭ 24 (-14.29%)
Mutual labels:  blazor, blazor-server
blazor-docs
Public Documentation for Telerik UI for Blazor components.
Stars: ✭ 42 (+50%)
Mutual labels:  blazor, blazor-server
powershell
PnP PowerShell
Stars: ✭ 326 (+1064.29%)
Mutual labels:  microsoft-graph-api, microsoft-graph
Matblazor
Material Design components for Blazor and Razor Components
Stars: ✭ 2,599 (+9182.14%)
Mutual labels:  blazor, blazor-server
MudBlazor
Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
Stars: ✭ 4,539 (+16110.71%)
Mutual labels:  blazor, blazor-server
blazor-ui
A collection of examples related to Telerik UI for Blazor Components: https://www.telerik.com/blazor-ui
Stars: ✭ 182 (+550%)
Mutual labels:  blazor, blazor-server
TextEditor
Rich text editor for Blazor applications - Uses Quill JS
Stars: ✭ 156 (+457.14%)
Mutual labels:  blazor, blazor-server
MASA.Blazor
Blazor component library based on Material Design. Support Blazor Server and Blazor WebAssembly.
Stars: ✭ 469 (+1575%)
Mutual labels:  blazor, blazor-server
smart-blazor
Blazor UI Components & Examples
Stars: ✭ 32 (+14.29%)
Mutual labels:  blazor, blazor-server

BlazorGraphApi

Blazor Server App with Azure AD Authentication, that calls the Microsoft Graph API on-behalf of the signed-in user.

This code uses Microsoft.Indentity.Web

You will need to register your app in Azure and modify appsettings.json to include your details

{
  "AzureAd": {
    "Instance": "https://login.microsoftonline.com/",
    "Domain": "your.domain",
    "TenantId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "ClientId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "ClientSecret": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "ClientCertificates": [
    ],
    "CallbackPath": "/signin-oidc"
  },
  "DownstreamApi": {
    "BaseUrl": "https://graph.microsoft.com/beta",
    "Scopes": "user.read"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*"
}

Notes

Code has now been updated to include the new features, especially written for Blazor Server in Microsoft.Indentity.Web

This is a minimal example of calling MS Graph Api from Blazor Server. Microsoft.Identity.Web contains many other features which can be used in Blazor Server, including calling downstream WebApi and using incremental consent.

Hopefully these features will be rolled into the new project templates for Blazor in .NET 5

This example has evolved over time. Now that Microsoft.Identity.Web has improved and embraced Blazor Server, it's now pretty much a copy of the "blazorserver --auth SingleOrg --calls-graph" example app in their Repo

For more info refer to Microsoft.Indentity.Web

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].