Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.06 KB

README.md

File metadata and controls

23 lines (21 loc) · 1.06 KB

Prerequisites

  • Visual Studio

How to run this repo locally?

  1. Open windows terminal
  2. Git clone this repository
  3. Open file explorer
  4. Navigate to the path that you cloned the repository to
  5. Double click on MSGraphWebApi.sln. Make sure that this opens in Visual Studio
  6. Open Solution Explorer (View > Solution Explorer)
  7. Navigate to GraphWebApi > appsettings.json in Solution Explorer and open up the json by double clicking
  8. Fill in the tenantId, clientId, clientSecret and AzureConnectionString for blob storage with the appropriate information
  9. Save the file
  10. Right click on the GraphWebApi folder in Solution Explorer
  11. Click on Build
  12. Run IIS Express for GraphWebApi Screenshot 2021-08-02 025604
  13. Open Postman and run queries (eg. https://localhost:44399/graphproxy/v1.0/)

How to deploy?

  1. Right click on the GraphWebApi folder in Solution Explorer
  2. Click on Publish
  3. Follow the prompts and select how you want to deploy