Demo application for my writings about Blazor
This is my simple Blazor application that demonstrates how to build SPA on Blazor and how to communicate with ASP.NET Core backend. Demo application is simple books database.
Solution contains:
For Azure AD there are two project in solution:
On Azure the following services are needed:
Configuration in code files:
To use search you have to comment in calls to search service in BooksAzureFunctionsClient.cs (BlazorDemo.AdalClient project)
BACPAC for SQL Server is in External Files folder. After creating database on SQL Azure it is possible to import it as a data-tier application. Same way it is possible to import it to SQL Server LocalDb used by BlazorDemo.Client project.
More information is available in my blog post Azure AD authentication in Blazor using ADAL.js.
As of 2019-05-20 the following tooling is needed to build and run this solution:
If you tried out this solution and you understand how Blazor works then please find some moments to take brief survey by Microsoft helping to make Blazor even better.