Skip to content

Commit 86eaeae

Browse files
committed
Fix
1 parent 1557c16 commit 86eaeae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-signalr/signalr-quickstart-azure-functions-csharp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ You'll need the Azure Functions Core Tools for this step.
6363
func init --worker-runtime dotnet-isolated
6464
6565
# Add extensions package references to the project
66-
dotnet add package Microsoft.Azure.WebJobs.Extensions.SignalRService
67-
dotnet add package Microsoft.Azure.WebJobs.Extensions.Http
68-
dotnet add package Microsoft.Azure.WebJobs.Extensions.Timer
66+
dotnet add package Microsoft.Azure.Functions.Worker.Extensions.Http
67+
dotnet add package Microsoft.Azure.Functions.Worker.Extensions.SignalRService
68+
dotnet add package Microsoft.Azure.Functions.Worker.Extensions.Timer
6969
```
7070

7171
1. Using your code editor, create a new file with the name *Function.cs*. Add the following code to *Function.cs*:
@@ -166,7 +166,7 @@ You'll need the Azure Functions Core Tools for this step.
166166
private static int StarCount = 0;
167167
168168
[Function("index")]
169-
public static HttpResponseData GetWebPage([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequestData req)
169+
public static HttpResponseData GetHomePage([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequestData req)
170170
{
171171
var response = req.CreateResponse(HttpStatusCode.OK);
172172
response.WriteString(File.ReadAllText("content/index.html"));

0 commit comments

Comments
 (0)