Skip to content

Commit 741a134

Browse files
committed
update comments
1 parent f2ea375 commit 741a134

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

includes/notification-hubs-aspnet-backend-notifyusers.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ The following sections discuss the creation of a new ASP.NET WebAPI backend. Thi
2020

2121
Create the new ASP.NET Core 6.0 web API backend by doing the following actions:
2222

23-
> [!IMPORTANT]
24-
> If you are using Visual Studio 2022 or earlier, before starting this tutorial, ensure that you have installed the latest version of NuGet Package Manager for Visual Studio.
25-
>
2623
>To check, start Visual Studio. On the **Tools** menu, select **Extensions and Updates**. Search for **NuGet Package Manager** in your version of Visual Studio, and make sure you have the latest version. If your version is not the latest version, uninstall it, and then reinstall the NuGet Package Manager.
2724
2825
![Screenshot of the Extensions and Updates dialog box with the NuGet Package manage for Visual Studios package highlighted.][B4]
@@ -34,11 +31,11 @@ Create the new ASP.NET Core 6.0 web API backend by doing the following actions:
3431

3532
2. Select **Server Explorer**, and sign in to your Azure account. To create the web site resources on your account, you must be signed in.
3633

37-
3. In Visual Studio,from the File menu, select **New > Project**.
34+
3. In Visual Studio's **File** menu, select **New** > **Project**.
3835

3936
4. Enter **Web API** in the search box.
4037

41-
5. Select the **ASP.NET Core Web API** template and select **Next**.
38+
5. Select the **ASP.NET Core Web API** project template and select **Next**.
4239

4340
6. In the **Configure your new project** dialog, name the project **AppBackend** and select **Next**.
4441

@@ -49,13 +46,13 @@ Create the new ASP.NET Core 6.0 web API backend by doing the following actions:
4946
* Select **Create**.
5047

5148
## Remove the WeatherForecast template files
52-
1. Remove the WeatherForecast.cs and Controllers/WeatherForecastController.cs example files from the new AppBackend project.
53-
2. Open Properties\launchSettings.json.
49+
1. Remove the *WeatherForecast.cs* and *Controllers/WeatherForecastController.cs* example files from the new *AppBackend* project.
50+
2. Open *Properties\launchSettings.json*.
5451
3. Change **launchUrl** properties from **weatherforcast** to **appbackend**.
5552

5653
In the **Configure Microsoft Azure Web App** window, select a subscription and then, in the **App Service plan** list, do either of the following actions:
5754

58-
* Select an app service plan that you've already created.
55+
* Select an Azure App Service plan that you've already created.
5956
* Select **Create a new app service plan**, and then create one.
6057

6158
You do not need a database for this tutorial. After you have selected your app service plan, select **OK** to create the project.
@@ -144,7 +141,7 @@ In this section, you create a new message-handler class named **AuthenticationTe
144141

145142
> [!NOTE]
146143
> Security note: The `AuthenticationTestHandler` class does not provide true authentication. It is used only to mimic basic authentication and is not secure. You must implement a secure authentication mechanism in your production applications and services.
147-
5. To register the message handler, add the following code at the end of the `Register` method in the **Program.cs** class:
144+
5. To register the message handler, add the following code at the end of the `Register` method in the *Program.cs* file:
148145

149146
```csharp
150147
config.MessageHandlers.Add(new AuthenticationTestHandler());

0 commit comments

Comments
 (0)