This project lets users login with their Microsoft account and schedule a call with a HR\recruiter in your company.
This project uses:
Blazor WebAssembly
so it's a web site written in .NET and once opened, it operated mostly client side. The first loading can be slow.Microsoft Graph .NET SDK
to access data in Office 365 (in this case only Calendar and some personal data as Name and Email)MudBlazor
to style the website with a modern material-boostrap look
-
Navigate to the Azure Active Directory admin center. Login using a personal account (aka: Microsoft Account) or Work or School Account.
-
Select Azure Active Directory in the left-hand navigation, then select App registrations under Manage.
-
Select New registration. On the Register an application page, set the values as follows.
- Set Name to
CallScheduler
. - Set Supported account types to Accounts in any organizational directory and personal Microsoft accounts.
- Under Redirect URI, set the first drop-down to Single-page application (SPA) and set the value to
https://localhost:7067/authentication/login-callback
.
- Set Name to
-
Select Register. On the page CallScheduler copy the value of the Application (client) ID and paste it in the project file
./CallScheduler/wwwroot/appsettings.Development.json
:{ "AzureAd": { "ClientId": "YOUR_APPLICATION_CLIENT_ID_HERE" } }
-
Save the file and Run the project
-
Sometime when you try to login with Microsoft account it stucks and continues to load forever
- Solution: Stop the project and Run it again
-
The project was build using some code peaces from msgraph-sample-blazor-clientside
-
The project was made as a candidate for Hack Together: Microsoft Graph and .NET event
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.