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

37
35
38
-
1.In the **New Function** window, accept the default name for **New Function**, or enter a new name.
36
+
1.Choose **WebHook + API**, and then select **Create**.
39
37
40
-
1. Choose **Anonymous** from the **Authorization level** drop-down list, and then select **Create Function**.
38
+

41
39
42
-
Azure creates the HTTP trigger function. Now, you can run the new function by sending an HTTP request.
40
+
A function is created using a language-specific template for an HTTP triggered function.
43
41
44
-
## Test the function
42
+
Now, you can run the new function by sending an HTTP request.
45
43
46
-
1. In your new HTTP trigger function, select **Code + Test** from the left menu, then select **Get function URL** from the top menu.
44
+
## Testthe function
47
45
48
-

46
+
1. In your new function, select **</> Get function URL** at the top right.
49
47
50
-
1. In the **Get function URL** dialog box, select **default** from the drop-down list, and then select the **Copy to clipboard** icon.
48
+
1. In the **Get function URL** dialog box, select **default (Function key)** from the drop-down list, and then select **Copy**.
51
49
52
50

53
51
54
-
1. Paste the function URL into your browser's address bar. Add the query string value `?name=<your_name>` to the end of this URL and press Enter to run the request.
52
+
1. Paste the function URL into your browser's address bar. Add the query string value `&name=<your_name>` to the end of this URL and press Enter to run the request.
55
53
56
54
The following example shows the response in the browser:
57
55
58
56

59
57
60
58
The request URL includes a key that is required, by default, to access your function over HTTP.
61
59
62
-
1. When your function runs, trace information is written to the logs. To see the trace output, return to the **Code + Test** page in the portal and expand the **Logs**arrow at the bottom of the page.
60
+
1. When your function runs, trace information is written to the logs. To see the trace output from the previous execution, return to your function in the portal and select the arrow at the bottom of the screen to expand the **Logs**.
63
61
64
62

Azure Functions lets you run your code in a serverless environment without having to first create a VM or publish a web application.
12
12
13
-
In this quickstart, you learn how to use Visual Studio 2019 to locally create and test a "hello world" HTTP trigger C# function app, which you then publish to Azure.
13
+
In this quickstart, you learn how to use Visual Studio 2019 to locally create and test a "hello world" HTTP-triggered C# function app, which you then publish to Azure.
14
14
15
15

16
16
@@ -32,7 +32,7 @@ Visual Studio creates a project and class that contains boilerplate code for the
32
32
33
33
Expand the capabilities of your function with input and output bindings by applying the appropriate attributes to the method. For more information, see the [Triggers and bindings](functions-dotnet-class-library.md#triggers-and-bindings) section of the [Azure Functions C# developer reference](functions-dotnet-class-library.md).
34
34
35
-
Now that you've created your function project and an HTTP trigger function, you can test it on your local computer.
35
+
Now that you've created your function project and an HTTP-triggered function, you can test it on your local computer.
36
36
37
37
## Run the function locally
38
38
@@ -52,7 +52,7 @@ Before you can publish your project, you must have a function app in your Azure
52
52
53
53
1. Copy the base URL of the function app from the **Publish** profile page. Replace the `localhost:port` portion of the URL you used to test the function locally with the new base URL. Append the query string `?name=<YOUR_NAME>` to this URL and run the request.
54
54
55
-
The URL that calls your HTTP trigger function is in the following format:
55
+
The URL that calls your HTTP triggered function is in the following format:
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-scale.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ Even with Always On enabled, the execution timeout for individual functions is c
105
105
106
106
## Determine the hosting plan of an existing application
107
107
108
-
To determine the hosting plan used by your function app, see **App Service plan** in the **Overview** tab for the function app in the [Azure portal](https://portal.azure.com). To see the pricing tier, select the name of the **App Service Plan**, and then select **Properties** from the left pane.
108
+
To determine the hosting plan used by your function app, see **App Service plan / pricing tier** in the **Overview** tab for the function app in the [Azure portal](https://portal.azure.com). For App Service plans, the pricing tier is also indicated.
109
109
110
110

111
111
@@ -120,7 +120,7 @@ When the output from this command is `dynamic`, your function app is in the Cons
120
120
121
121
## Storage account requirements
122
122
123
-
On any plan, a function app requires a general Azure Storage account, which supports Azure Blob, Queue, Files, and Table storage. This is because Azure Functions relies on Azure Storage for operations such as managing triggers and logging function executions, but some storage accounts do not support queues and tables. These accounts, which include blob-only storage accounts (including premium storage) and general-purpose storage accounts with zone-redundant storage replication, are filtered-out from your existing **Storage Account** selections when you create a function app.
123
+
On any plan, a function app requires a general Azure Storage account, which supports Azure Blob, Queue, Files, and Table storage. This is because Functions relies on Azure Storage for operations such as managing triggers and logging function executions, but some storage accounts do not support queues and tables. These accounts, which include blob-only storage accounts (including premium storage) and general-purpose storage accounts with zone-redundant storage replication, are filtered-out from your existing **Storage Account** selections when you create a function app.
124
124
125
125
The same storage account used by your function app can also be used by your triggers and bindings to store your application data. However, for storage-intensive operations, you should use a separate storage account.
126
126
@@ -130,7 +130,7 @@ It's certainly possible for multiple function apps to share the same storage acc
130
130
131
131
To learn more about storage account types, see [Introducing the Azure Storage services](../storage/common/storage-introduction.md#azure-storage-services).
132
132
133
-
## How the Consumption and Premium plans work
133
+
## How the consumption and premium plans work
134
134
135
135
In the Consumption and Premium plans, the Azure Functions infrastructure scales CPU and memory resources by adding additional instances of the Functions host, based on the number of events that its functions are triggered on. Each instance of the Functions host in the Consumption plan is limited to 1.5 GB of memory and one CPU. An instance of the host is the entire function app, meaning all functions within a function app share resource within an instance and scale at the same time. Function apps that share the same Consumption plan are scaled independently. In the Premium plan, your plan size will determine the available memory and CPU for all apps in that plan on that instance.
136
136
@@ -158,7 +158,7 @@ Scaling can vary on a number of factors, and scale differently based on the trig
158
158
159
159
There are many aspects of a function app that will impact how well it will scale, including host configuration, runtime footprint, and resource efficiency. For more information, see the [scalability section of the performance considerations article](functions-best-practices.md#scalability-best-practices). You should also be aware of how connections behave as your function app scales. For more information, see [How to manage connections in Azure Functions](manage-connections.md).
160
160
161
-
For more information on scaling in Python and Node.js, see [Azure Functions Python developer guide - Scaling and concurrency](functions-reference-python.md#scaling-and-concurrency) and [Azure Functions Node.js developer guide - Scaling and concurrency](functions-reference-node.md#scaling-and-concurrency).
161
+
For additional information on scaling in Python and Node.js, see [Azure Functions Python developer guide - Scaling and concurrency](functions-reference-python.md#scaling-and-concurrency) and [Azure Functions Node.js developer guide - Scaling and concurrency](functions-reference-node.md#scaling-and-concurrency).
Copy file name to clipboardExpand all lines: includes/functions-vstools-create.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,20 @@ services: functions
5
5
author: ggailey777
6
6
ms.service: azure-functions
7
7
ms.topic: include
8
-
ms.date: 03/26/2020
8
+
ms.date: 03/06/2020
9
9
ms.author: glenga
10
10
ms.custom: include file
11
11
---
12
12
13
13
The Azure Functions project template in Visual Studio creates a project that you can publish to a function app in Azure. You can use a function app to group functions as a logical unit for easier management, deployment, scaling, and sharing of resources.
14
14
15
-
1.From the Visual Studio menu, select **File**>**New** > **Project**.
15
+
1.In Visual Studio, on the **File**menu, select**New** > **Project**.
16
16
17
-
1. In **Create a new project**, enter *functions* in the search box, choose the **Azure Functions** template, and then select **Next**.
17
+
1. In **Create a new project**, enter *functions* in the search box, and then choose the **Azure Functions** template.
18
18
19
19
1. In **Configure your new project**, enter a **Project name** for your project, and then select **Create**. The function app name must be valid as a C# namespace, so don't use underscores, hyphens, or any other nonalphanumeric characters.
20
20
21
-
1. For the **Create a new Azure Function Application** settings, use the values in the following table:
21
+
1. For the **New Project - <your project name>** settings, use the values in the following table:
@@ -33,4 +33,4 @@ The Azure Functions project template in Visual Studio creates a project that you
33
33
34
34
Make sure you set the **Access rights** to **Anonymous**. If you choose the default level of **Function**, you're required to present the [function key](../articles/azure-functions/functions-bindings-http-webhook-trigger.md#authorization-keys) in requests to access your function endpoint.
35
35
36
-
1. Select **Create** to create the function project and HTTP trigger function.
36
+
1. Select **OK** to create the function project and HTTP-triggered function.
0 commit comments