Step 3 - Configuring Visual Studio solution projects

First we look at how to configure this with the TodoListService project.

Open the web.config file and replace the following keys:

  1. Search for the ida:Tenant key. Replace its value with your AD tenant name, for example, contoso.onmicrosoft.com. This will also be part of any of the application's APP ID URI.
  2. Replace the ida:Audience  key. Replace its value with https://[Your_AD_Tenant_Name]/TodoListService. Replace [Your_AD_Tenant_Name] with the name of your Azure AD tenant.

Now let's see how to configure this with the TodoListWebApp project.

Open the web.config file and find and replace the following keys with the provided values:

  1. Replace todo:TodoListResourceid with https://[Your_Tenant_Name]/TodoListService ...

Get Building Microservices with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.