-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Blazorade Teams is a component library designed to be used when creating Tab applications for Microsoft Teams as Blazor applications. It can be used in both Blazor Server and Blazor WebAssembly applications.
The Design Principles section outlines the key principles that guide the design of Blazorade Teams.
Check out the Getting Started section for the best guidance on how to include Blazorade Teams in your application, how to set it up and how to write applications with it.
To give you a better understanding of how easy it is to write Teams applications with Blazorade Teams, have a look at the code below. It is a complete application page (content page) for a personal tab application that displays the name of the logged in user. This information is received from Azure AD by the TeamsApplication
component with the help of MSAL.js.
@page "/personal"
<TeamsApplication RequireDefaultScopes="true">
<ApplicationTemplate Context="ctx">
<h2>Personal Tab For @ctx.AuthResult.IdTokenClaims["name"]</h2>
</ApplicationTemplate>
</TeamsApplication>