Skip to content

Commit 9715368

Browse files
authored
Update AspNet core webapp quickstart steps for ready-to-go downloaded sample (Do not merge)
1 parent c029f76 commit 9715368

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

articles/active-directory/develop/quickstart-v2-aspnet-core-webapp.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ ms.collection: M365-identity-device-management
2121

2222
[!INCLUDE [active-directory-develop-applies-v2](../../../includes/active-directory-develop-applies-v2.md)]
2323

24-
In this quickstart, you'll learn how an ASP.NET Core web app can sign in personal accounts (hotmail.com, outlook.com, others) and work and school accounts from any Azure Active Directory (Azure AD) instance.
25-
26-
![Shows how the sample app generated by this quickstart works](media/quickstart-v2-aspnet-core-webapp/aspnetcorewebapp-intro.svg)
24+
In this quickstart, you use a code sample to learn how an ASP.NET Core web app can sign in personal accounts (hotmail.com, outlook.com, others) and work and school accounts from any Azure Active Directory (Azure AD) instance. (See [How the sample works](#how-the-sample-works) for an illustration.)
2725

2826
> [!div renderon="docs"]
2927
> ## Register and download your quickstart app
@@ -66,22 +64,32 @@ In this quickstart, you'll learn how an ASP.NET Core web app can sign in persona
6664
6765
#### Step 2: Download your ASP.NET Core project
6866

69-
- [Download the Visual Studio 2019 solution](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/archive/aspnetcore2-2.zip)
70-
71-
#### Step 3: Configure your Visual Studio project
67+
> [!div renderon="docs"]
68+
> [Download the Visual Studio 2019 solution](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/archive/aspnetcore2-2.zip)
7269
73-
1. Extract the zip file to a local folder within the root folder - for example, **C:\Azure-Samples**
74-
1. If you use Visual Studio 2019, open the solution in Visual Studio (optional).
75-
1. Edit the **appsettings.json** file. Find `ClientId` and update the value of `ClientId` with the **Application (client) ID** value of the application you registered.
70+
> [!div class="sxs-lookup" renderon="portal"]
71+
> Run the project using Visual Studio 2019.
72+
> [!div renderon="portal" id="autoupdate" class="nextstepaction"]
73+
> [Download the code sample]()
7674
77-
```json
78-
"ClientId": "Enter_the_Application_Id_here"
79-
"TenantId": "Enter_the_Tenant_Info_Here"
80-
```
75+
> [!div class="sxs-lookup" renderon="portal"]
76+
> #### Step 3: Your app is configured and ready to run
77+
> We have configured your project with values of your app's properties.
78+
79+
[!div renderon="docs"]
80+
> #### Step 3: Run your Visual Studio project
81+
> 1. Extract the zip file to a local folder within the root folder - for example, **C:\Azure-Samples**
82+
> 1. Open the solution in Visual Studio
83+
> 1. Edit the **appsettings.json** file. Find `ClientId` and update the value of `ClientId` with the **Application (client) ID** value of the application you registered.
84+
>
85+
> ```json
86+
> "ClientId": "Enter_the_Application_Id_here"
87+
> "TenantId": "Enter_the_Tenant_Info_Here"
88+
> ```
8189
8290
> [!div class="sxs-lookup" renderon="portal"]
8391
> > [!NOTE]
84-
> > This quickstart supports Enter_the_Supported_Account_Info_Here.
92+
> > Enter_the_Supported_Account_Info_Here
8593
8694
> [!div renderon="docs"]
8795
> Where:
@@ -98,6 +106,9 @@ In this quickstart, you'll learn how an ASP.NET Core web app can sign in persona
98106
99107
This section gives an overview of the code required to sign in users. This overview can be useful to understand how the code works, main arguments, and also if you want to add sign-in to an existing ASP.NET Core application.
100108
109+
### How the sample works
110+
![Shows how the sample app generated by this quickstart works](media/quickstart-v2-aspnet-core-webapp/aspnetcorewebapp-intro.svg)
111+
101112
### Startup class
102113
103114
*Microsoft.AspNetCore.Authentication* middleware uses a Startup class that is executed when the hosting process initializes:
@@ -164,4 +175,4 @@ Check out the GitHub repo for this ASP.NET Core tutorial for more information in
164175
Help us improve the Microsoft identity platform. Tell us what you think by completing a short two-question survey.
165176

166177
> [!div class="nextstepaction"]
167-
> [Microsoft identity platform survey](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbRyKrNDMV_xBIiPGgSvnbQZdUQjFIUUFGUE1SMEVFTkdaVU5YT0EyOEtJVi4u)
178+
> [Microsoft identity platform survey](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbRyKrNDMV_xBIiPGgSvnbQZdUQjFIUUFGUE1SMEVFTkdaVU5YT0EyOEtJVi4u)

0 commit comments

Comments
 (0)