Skip to content

Commit 051ecf2

Browse files
author
dksimpson
committed
incorporate review comments
1 parent 0f40d7b commit 051ecf2

File tree

6 files changed

+13
-19
lines changed

6 files changed

+13
-19
lines changed

articles/azure-functions/functions-create-first-azure-function.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ ms.custom: mvc, devcenter, cc996988-fb4f-47
99

1010
# Create your first function in the Azure portal
1111

12-
Azure Functions lets you run your code in a [serverless](https://azure.microsoft.com/solutions/serverless/) environment without having to first create a virtual machine (VM) or publish a web application. In this article, you learn how to use Azure Functions to create a "hello world" HTTP-triggered function in the Azure portal.
13-
14-
For more information about HTTP triggers, see [Azure Functions HTTP triggers and bindings overview](functions-bindings-http-webhook.md).
15-
16-
![Create function app in the Azure portal](./media/functions-create-first-azure-function/function-app-in-portal-editor.png)
12+
Azure Functions lets you run your code in a serverless environment without having to first create a virtual machine (VM) or publish a web application. In this article, you learn how to use Azure Functions to create a "hello world" HTTP triggered function in the Azure portal.
1713

1814
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)]
1915

@@ -31,7 +27,7 @@ You must have a function app to host the execution of your functions. A function
3127

3228
Next, create a function in the new function app.
3329

34-
## <a name="create-function"></a>Create an HTTP-triggered function
30+
## <a name="create-function"></a>Create an HTTP triggered function
3531

3632
1. Expand your new function app, select the **+** button next to **Functions**, choose **In-portal**, and then select **Continue**.
3733

@@ -41,7 +37,7 @@ Next, create a function in the new function app.
4137

4238
![Functions quickstart in the Azure portal.](./media/functions-create-first-azure-function/function-app-quickstart-node-webhook.png)
4339

44-
A function is created using a language-specific template for an HTTP-triggered function.
40+
A function is created using a language-specific template for an HTTP triggered function.
4541

4642
Now, you can run the new function by sending an HTTP request.
4743

@@ -53,7 +49,7 @@ Now, you can run the new function by sending an HTTP request.
5349

5450
![Copy the function URL from the Azure portal](./media/functions-create-first-azure-function/function-app-develop-tab-testing.png)
5551

56-
1. Paste the function URL into your browser's address bar. Add the query string value *&name=&lt;your_name&gt;* 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.
5753

5854
The following example shows the response in the browser:
5955

articles/azure-functions/functions-create-your-first-function-visual-studio.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,17 @@ ms.custom: mvc, devcenter, vs-azure, 23113853-34f2-4f
88
---
99
# Quickstart: Create your first function in Azure using Visual Studio
1010

11-
Azure Functions lets you run your code in a [serverless](https://azure.microsoft.com/solutions/serverless/) environment without having to first create a VM or publish a web application.
11+
Azure Functions lets you run your code in a serverless environment without having to first create a VM or publish a web application.
1212

1313
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.
1414

1515
![Function localhost response in the browser](./media/functions-create-your-first-function-visual-studio/functions-create-your-first-function-visual-studio-browser-local-final.png)
1616

17-
This quickstart is designed for Visual Studio 2019. If you want to create an Azure Functions project by using Visual Studio 2017, you must first install the [latest Azure Functions tools](functions-develop-vs.md#check-your-tools-version).
18-
19-
To learn more about developing functions as .NET class libraries, see [Azure Functions C# developer reference](functions-dotnet-class-library.md).
17+
This quickstart is designed for Visual Studio 2019.
2018

2119
## Prerequisites
2220

23-
To complete this tutorial, first install [Visual Studio 2019](https://azure.microsoft.com/downloads/). Ensure you select the **Azure development** workload during installation.
21+
To complete this tutorial, first install [Visual Studio 2019](https://azure.microsoft.com/downloads/). Ensure you select the **Azure development** workload during installation. If you want to create an Azure Functions project by using Visual Studio 2017 instead, you must first install the [latest Azure Functions tools](functions-develop-vs.md#check-your-tools-version).
2422

2523
![Install Visual Studio with the Azure development workload](media/functions-create-your-first-function-visual-studio/functions-vs-workloads.png)
2624

@@ -52,11 +50,11 @@ Before you can publish your project, you must have a function app in your Azure
5250

5351
## Test your function in Azure
5452

55-
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=&lt;YOUR_NAME&gt;* to this URL and run the request.
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.
5654

5755
The URL that calls your HTTP triggered function is in the following format:
5856

59-
*http://<APP_NAME>.azurewebsites.net/api/<FUNCTION_NAME>?name=<YOUR_NAME>*
57+
`http://<APP_NAME>.azurewebsites.net/api/<FUNCTION_NAME>?name=<YOUR_NAME>`
6058

6159
2. Paste this new URL for the HTTP request into your browser's address bar. The following image shows the response in the browser to the remote GET request returned by the function:
6260

includes/functions-create-function-app-portal.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ ms.custom: include file
5252

5353
1. Select the Notification icon in the upper-right corner of the portal and watch for the **Deployment succeeded** message.
5454

55-
![Deployment notification](./media/functions-create-function-app-portal/function-app-create-notification2.png)
56-
5755
1. Select **Go to resource** to view your new function app. You can also select **Pin to dashboard**. Pinning makes it easier to return to this function app resource from your dashboard.
56+
57+
![Deployment notification](./media/functions-create-function-app-portal/function-app-create-notification2.png)

includes/functions-run-function-test-local-vs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: glenga
1212

1313
![Azure local runtime](./media/functions-run-function-test-local-vs/functions-debug-local-vs.png)
1414

15-
3. Paste the URL for the HTTP request into your browser's address bar. Append the query string *?name=&lt;YOUR_NAME&gt;* to this URL and execute the request. The following image shows the response in the browser to the local GET request returned by the function:
15+
3. Paste the URL for the HTTP request into your browser's address bar. Append the query string `?name=<YOUR_NAME>` to this URL and run the request. The following image shows the response in the browser to the local GET request returned by the function:
1616

1717
![Function localhost response in the browser](./media/functions-run-function-test-local-vs/functions-run-browser-local-vs.png)
1818

includes/functions-vstools-publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ms.custom: include file
2929

3030
| Setting | Value | Description |
3131
| ------------ | ------- | -------------------------------------------------- |
32-
| **Name** | Globally unique name | Name that uniquely identifies your new function app. Accept this name or enter a new name. Valid characters are: *a-z*, *0-9*, and *-*. |
32+
| **Name** | Globally unique name | Name that uniquely identifies your new function app. Accept this name or enter a new name. Valid characters are: `a-z`, `0-9`, and `-`. |
3333
| **Subscription** | Your subscription | The Azure subscription to use. Accept this subscription or select a new one from the drop-down list. |
3434
| **[Resource Group](../articles/azure-resource-manager/management/overview.md)** | Name of your resource group | The resource group in which to create your function app. Select an existing resource group from the drop-down list or choose **New** to create a new resource group.|
3535
| **[Hosting Plan](../articles/azure-functions/functions-scale.md)** | Name of your hosting plan | Select **New** to configure a serverless plan. Make sure to choose the **Consumption** under **Size**. When you publish your project to a function app that runs in a [Consumption plan](../articles/azure-functions/functions-scale.md#consumption-plan), you pay only for executions of your functions app. Other hosting plans incur higher costs. If you run in a plan other than **Consumption**, you must manage the [scaling of your function app](../articles/azure-functions/functions-scale.md). Choose a **Location** in a [region](https://azure.microsoft.com/regions/) near you or other services your functions access. |
303 Bytes
Loading

0 commit comments

Comments
 (0)