Blazor WebAssembly and Graph SDK v5 #81
Replies: 3 comments 2 replies
-
@maisarissi @andrueastman check this out ☝️ |
Beta Was this translation helpful? Give feedback.
-
That's great to hear that you were able to make the Graph SDK v5 work with Blazor WebAssembly! To answer your questions: The templates for Blazor WebAssembly are located in Visual Studio in the "New Project" window, under the "Blazor App" project type. |
Beta Was this translation helpful? Give feedback.
-
Yesterday in the stream you (maisarissi) said, it was not possible to use the Graph SDK v5 in Blazor WebAssembly just yet. Which seems true if you use the template in Visual Studio.
I have no clue where those templates are, or how to update them, but I saw it as a challenge. And after half an hour I have a working solution.
Steps taken:
Microsoft.Graph
to version 5.0.1IAuthenticationProvider
to be the Kiota one.User
is no longer in the root, so had to addMicrosoft.Graph.Models
import.You can check out the project here I even made a special branch with only the changes required to set this up here
Maybe I can contribute something like this to the template? Where are they? How are they used? Can we contribute?
Beta Was this translation helpful? Give feedback.
All reactions