You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 4-WebApp-your-API/README.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -337,15 +337,6 @@ using Microsoft.Identity.Web.Client.TokenCacheProviders;
337
337
338
338
The implementations of these classes are in the `Microsoft.Identity.Web` library (and folder), and they are designed to be reusable in your applications (Web apps and Web apis). You are encouraged to browse the code in the library to understand the changes in detail.
339
339
340
-
- At the beginning of the `Configure` method, insert `app.UseSession()`. This code ensures that the session exists for the session-based token cache to work properly. You can skip this if you do not plan to use the session based token cache.
341
-
342
-
```CSharp
343
-
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
344
-
{
345
-
app.UseSession();
346
-
...
347
-
```
348
-
349
340
### Create the TodoListController.cs file
350
341
351
342
1. Add a folder named `Models` and then create a new file named `TodoItem.cs`. Copy the contents of the TodoListClient\Models\TodoItem.cs in this file.
0 commit comments