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: includes/notification-hubs-aspnet-backend-notifyusers.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,6 @@ The following sections discuss the creation of a new ASP.NET WebAPI backend. Thi
20
20
21
21
Create the new ASP.NET Core 6.0 web API backend by doing the following actions:
22
22
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
-
>
26
23
>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.
27
24
28
25
![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:
34
31
35
32
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.
36
33
37
-
3. In Visual Studio,from the File menu, select **New > Project**.
34
+
3. In Visual Studio's **File** menu, select **New** > **Project**.
38
35
39
36
4. Enter **Web API** in the search box.
40
37
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**.
42
39
43
40
6. In the **Configure your new project** dialog, name the project **AppBackend** and select **Next**.
44
41
@@ -49,13 +46,13 @@ Create the new ASP.NET Core 6.0 web API backend by doing the following actions:
49
46
* Select **Create**.
50
47
51
48
## 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*.
54
51
3. Change **launchUrl** properties from **weatherforcast** to **appbackend**.
55
52
56
53
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:
57
54
58
-
* Select an app service plan that you've already created.
55
+
* Select an Azure App Service plan that you've already created.
59
56
* Select **Create a new app service plan**, and then create one.
60
57
61
58
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
144
141
145
142
> [!NOTE]
146
143
>Securitynote:The `AuthenticationTestHandler` classdoes 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:
0 commit comments