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
> Given that the name of the sample is pretty long, and so are the name of the referenced NuGet pacakges, you might want to clone it in a folder close to the root of your hard drive, to avoid file size limitations on Windows.
57
+
56
58
### Step 2: Register the sample with your Azure Active Directory tenant
57
59
There are two options:
58
60
- Option 1: you run the `Configure.ps1` PowerShell script which creates two applications in the Azure Active Directory, (one for the client and one for the service), and then updates the configuration files in the Visual Studio projects to point to those two newly created apps. Instructions for these option are provided in the [Configure.ps1](./AppCreationScripts/Configure.ps1) file
@@ -136,11 +138,10 @@ First, in Visual Studio 2017 create an empty solution to host the projects. The
3. Addassemblyreferencesto `System.Net.Http`, `System.Web.Extensions`, and `System.Configuration`.
138
140
4. Addanewclassto the project called `TodoItem.cs`. Copy the code from the sample project file of same name into this class, completely replacing the code in the file in the new project.
139
-
5. Add a new class to the project called `CacheHelper.cs`. Copy the code from the sample project file of same name into this class, completely replacing the code in the file in the new project.
140
-
6. Add a new class to the project called `CredManCache.cs`. Copy the code from the sample project file of same name into this class, completely replacing the code in the file in the new project.
141
-
7. Copy the markup from `MainWindow.xaml' in the sample project into the file of same name in the new project, completely replacing the markup in the file in the new project.
142
-
8. Copy the code from `MainWindow.xaml.cs` in the sample project into the file of same name in the new project, completely replacing the code in the file in the new project.
143
-
9. In `app.config` create keys for `ida:AADInstance`, `ida:Tenant`, `ida:ClientId`, `ida:RedirectUri`, `todo:TodoListResourceId`, and `todo:TodoListBaseAddress` andsetthemaccordingly. ForthepublicAzurecloud, thevalueof `ida:AADInstance` is `https://login.microsoftonline.com/{0}`.
141
+
5. Add a new class to the project called `FileCache.cs`. Copy the code from the sample project file of same name into this class, completely replacing the code in the file in the new project.
142
+
6. Copy the markup from `MainWindow.xaml' in the sample project into the file of same name in the new project, completely replacing the markup in the file in the new project.
143
+
7. Copy the code from `MainWindow.xaml.cs` in the sample project into the file of same name in the new project, completely replacing the code in the file in the new project.
144
+
8. In `app.config` create keys for `ida:AADInstance`, `ida:Tenant`, `ida:ClientId`, `ida:RedirectUri`, `todo:TodoListResourceId`, and `todo:TodoListBaseAddress` andsetthemaccordingly. ForthepublicAzurecloud, thevalueof `ida:AADInstance` is `https://login.microsoftonline.com/{0}`.
0 commit comments