Skip to content

Commit 0eb68ad

Browse files
authored
Merge pull request #115883 from MarileeTurscak-MSFT/patch-432
Small fixes to csharp
2 parents 80592cc + 4d1f2e5 commit 0eb68ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/active-directory/develop/scenario-web-app-call-api-app-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,14 @@ The ASP.NET core tutorial uses dependency injection to let you decide the token
269269

270270
```csharp
271271
// Use a distributed token cache by adding:
272-
services.AddSignIn(Configuration, "AzureAd");
272+
services.AddSignIn(Configuration, "AzureAd")
273273
.AddWebAppCallsProtectedWebApi(Configuration,
274274
initialScopes: new string[] { "user.read" })
275275
.AddDistributedTokenCaches();
276276

277277
// Then, choose your implementation.
278278
// For instance, the distributed in-memory cache (not cleared when you stop the app):
279-
services.AddDistributedMemoryCache()
279+
services.AddDistributedMemoryCache();
280280

281281
// Or a Redis cache:
282282
services.AddStackExchangeRedisCache(options =>

0 commit comments

Comments
 (0)