File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ You'll need the Azure Functions Core Tools for this step.
63
63
func init --worker-runtime dotnet-isolated
64
64
65
65
# 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
69
69
` ` `
70
70
71
71
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.
166
166
private static int StarCount = 0;
167
167
168
168
[Function(" index" )]
169
- public static HttpResponseData GetWebPage ([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequestData req)
169
+ public static HttpResponseData GetHomePage ([HttpTrigger(AuthorizationLevel.Anonymous)] HttpRequestData req)
170
170
{
171
171
var response = req.CreateResponse(HttpStatusCode.OK);
172
172
response.WriteString(File.ReadAllText(" content/index.html" ));
You can’t perform that action at this time.
0 commit comments