- Visual Studio
- Open windows terminal
- Git clone this repository
- Open file explorer
- Navigate to the path that you cloned the repository to
- Double click on
MSGraphWebApi.sln
. Make sure that this opens in Visual Studio - Open Solution Explorer (View > Solution Explorer)
- Navigate to
GraphWebApi
>appsettings.json
in Solution Explorer and open up the json by double clicking - Fill in the tenantId, clientId, clientSecret and AzureConnectionString for blob storage with the appropriate information
- Save the file
- Right click on the
GraphWebApi
folder in Solution Explorer - Click on
Build
- Run
IIS Express
forGraphWebApi
- Open Postman and run queries (eg. https://localhost:44399/graphproxy/v1.0/)
- Right click on the
GraphWebApi
folder in Solution Explorer - Click on
Publish
- Follow the prompts and select how you want to deploy