Skip to content

Commit 91a1c3b

Browse files
Merge pull request #224141 from garrodonnell/b2c-freshness-quickstart-web-app-dotnet
B2C Freshness Review quickstart-web-app-dotnet.md
2 parents 34d1b1f + 3737adf commit 91a1c3b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

articles/active-directory-b2c/quickstart-web-app-dotnet.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ title: "Quickstart: Set up sign-in for an ASP.NET web app"
33
titleSuffix: Azure AD B2C
44
description: In this Quickstart, run a sample ASP.NET web app that uses Azure Active Directory B2C to provide account sign-in.
55
services: active-directory-b2c
6-
author: kengaderdus
6+
author: garrodonnell
77
manager: CelesteDG
88
ms.service: active-directory
99
ms.topic: quickstart
1010
ms.custom: devx-track-csharp, mvc, mode-other
11-
ms.date: 10/01/2021
12-
ms.author: kengaderdus
11+
ms.date: 01/17/2023
12+
ms.author: godonnell
1313
ms.subservice: B2C
1414
---
1515

@@ -23,7 +23,7 @@ In this quickstart, you use an ASP.NET application to sign in using a social ide
2323

2424
## Prerequisites
2525

26-
- [Visual Studio 2019](https://www.visualstudio.com/downloads/) with the **ASP.NET and web development** workload.
26+
- [Visual Studio 2022](https://www.visualstudio.com/downloads/) with the **ASP.NET and web development** workload.
2727
- A social account from Facebook, Google, or Microsoft.
2828
- [Download a zip file](https://github.com/Azure-Samples/active-directory-b2c-dotnet-webapp-and-webapi/archive/master.zip) or clone the sample web application from GitHub.
2929

@@ -39,10 +39,10 @@ In this quickstart, you use an ASP.NET application to sign in using a social ide
3939
## Run the application in Visual Studio
4040
4141
1. In the sample application project folder, open the **B2C-WebAPI-DotNet.sln** solution in Visual Studio.
42-
2. For this quickstart, you run both the **TaskWebApp** and **TaskService** projects at the same time. Right-click the **B2C-WebAPI-DotNet** solution in Solution Explorer, and then select **Set StartUp Projects**.
43-
3. Select **Multiple startup projects** and change the **Action** for both projects to **Start**.
44-
4. Select **OK**.
45-
5. Press **F5** to debug both applications. Each application opens in its own browser tab:
42+
1. For this quickstart, you run both the **TaskWebApp** and **TaskService** projects at the same time. Right-click the **B2C-WebAPI-DotNet** solution in Solution Explorer, and then select **Set StartUp Projects**.
43+
1. Select **Multiple startup projects** and change the **Action** for both projects to **Start**.
44+
1. Select **OK**.
45+
1. Press **F5** to debug both applications. Each application opens in its own browser tab:
4646
4747
- `https://localhost:44316/` - The ASP.NET web application. You interact directly with this application in the quickstart.
4848
- `https://localhost:44332/` - The web API that's called by the ASP.NET web application.
@@ -51,37 +51,37 @@ In this quickstart, you use an ASP.NET application to sign in using a social ide
5151
5252
1. Select **Sign up / Sign in** in the ASP.NET web application to start the workflow.
5353
54-
![Sample ASP.NET web app in browser with sign up/sign link highlighted](./media/quickstart-web-app-dotnet/web-app-sign-in.png)
54+
![Screenshot showing the sample ASP.NET web app in browser with sign up/sign link highlighted](./media/quickstart-web-app-dotnet/web-app-sign-in.png)
5555
5656
The sample supports several sign-up options including using a social identity provider or creating a local account using an email address. For this quickstart, use a social identity provider account from either Facebook, Google, or Microsoft.
5757
58-
2. Azure AD B2C presents a sign-in page for a fictitious company called Fabrikam for the sample web application. To sign up using a social identity provider, select the button of the identity provider you want to use.
58+
1. Azure AD B2C presents a sign-in page for a fictitious company called Fabrikam for the sample web application. To sign up using a social identity provider, select the button of the identity provider you want to use.
5959
60-
![Sign In or Sign Up page showing identity provider buttons](./media/quickstart-web-app-dotnet/sign-in-or-sign-up-web.png)
60+
![Screenshot of the Sign In or Sign Up page identity provider buttons](./media/quickstart-web-app-dotnet/sign-in-or-sign-up-web.png)
6161
6262
You authenticate (sign in) using your social account credentials and authorize the application to read information from your social account. By granting access, the application can retrieve profile information from the social account such as your name and city.
6363
64-
3. Finish the sign-in process for the identity provider.
64+
1. Finish the sign-in process for the identity provider.
6565
6666
## Edit your profile
6767
6868
Azure Active Directory B2C provides functionality to allow users to update their profiles. The sample web app uses an Azure AD B2C edit profile user flow for the workflow.
6969
7070
1. In the application menu bar, select your profile name, and then select **Edit profile** to edit the profile you created.
7171
72-
![Sample web app in browser with Edit profile link highlighted](./media/quickstart-web-app-dotnet/edit-profile-web.png)
72+
![Screenshot of the sample web app in browser with the edit profile link highlighted](./media/quickstart-web-app-dotnet/edit-profile-web.png)
7373
74-
2. Change your **Display name** or **City**, and then select **Continue** to update your profile.
74+
1. Change your **Display name** or **City**, and then select **Continue** to update your profile.
7575
7676
The change is displayed in the upper right portion of the web application's home page.
7777
7878
## Access a protected API resource
7979
8080
1. Select **To-Do List** to enter and modify your to-do list items.
8181
82-
2. In the **New Item** text box, enter text. To call the Azure AD B2C protected web API that adds a to-do list item, select **Add**.
82+
1. In the **New Item** text box, enter text. To call the Azure AD B2C protected web API that adds a to-do list item, select **Add**.
8383
84-
![Sample web app in browser with Add a to-do list item](./media/quickstart-web-app-dotnet/add-todo-item-web.png)
84+
![Screenshot of the sample web app in browser with To-Do List link and Add button highlighted.](./media/quickstart-web-app-dotnet/add-todo-item-web.png)
8585
8686
The ASP.NET web application includes an Azure AD access token in the request to the protected web API resource to perform operations on the user's to-do list items.
8787

0 commit comments

Comments
 (0)