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: articles/azure-functions/functions-reference-csharp.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -654,7 +654,7 @@ These instructions show you how to convert C# script functions (which run in-pro
654
654
1. Complete the **Create a functions app project** section from your preferred quickstart:
655
655
656
656
### [Azure CLI](#tab/azure-cli)
657
-
[Create a C# function in Azure from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-csharp#create-a-local-function-project-and-function)
657
+
[Create a C# function in Azure from the command line](how-to-create-function-azure-cli.md?pivots=programming-language-csharp#create-a-local-code-project-and-function)
658
658
### [Visual Studio](#tab/vs)
659
659
[Create your first C# function in Azure using Visual Studio](functions-create-your-first-function-visual-studio.md#create-a-function-app-project)
# Quickstart: Create a function in Azure from the command line
11
11
12
-
In this article, you use command-line tools locally to create a function that responds to HTTP requests. After verifying your code locally, you deploy it to a serverless hosting plan in Azure Functions.
12
+
In this article, you use local command-line tools to create a function that responds to HTTP requests. After verifying your code locally, you deploy it to a serverless hosting plan in Azure Functions.
13
13
14
14
Completing this quickstart incurs a small cost of a few USD cents or less in your Azure account.
15
15
@@ -27,9 +27,9 @@ Before you begin, you must have the following:
In Azure Functions, a function project is a container for one or more individual functions that each responds to a specific trigger. All functions in a project share the same local and hosting configurations. In this section, you create a function project that contains a single function.
32
+
In Azure Functions, your code project is an app that contains one or more individual functions that each responds to a specific trigger. All functions in a project share the same configurations and are deployed as a unit to Azure. In this section, you create a code project that contains a single function.
33
33
::: zone pivot="programming-language-csharp"
34
34
1. In a terminal or command prompt, run this [`func init`](./functions-core-tools-reference.md#func-init) command to create a function app project in the current folder:
35
35
@@ -134,9 +134,9 @@ The project root folder contains various files for the project, including config
134
134
135
135
## Run the function locally
136
136
137
-
1. Run your function by starting the local Azure Functions runtime host from the root folder:
137
+
Verify your new function by running the project locally and calling the function endpoint.
138
138
139
-
To test the function locally, start the local Azure Functions runtime host in the root of the project folder.
139
+
1. Use this command to start the local Azure Functions runtime host in the root of the project folder:
Copy file name to clipboardExpand all lines: articles/digital-twins/how-to-ingest-iot-hub-data.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ In this section, you create an Azure function to access Azure Digital Twins and
74
74
75
75
1. First, create a new Azure Functions project of Event Grid trigger type.
76
76
77
-
You can do this using **Visual Studio** (for instructions, see [Develop Azure Functions using Visual Studio](../azure-functions/functions-develop-vs.md#create-an-azure-functions-project)), **Visual Studio Code** (for instructions, see [Create a C# function in Azure using Visual Studio Code](../azure-functions/create-first-function-vs-code-csharp.md?tabs=in-process#create-an-azure-functions-project)), or the **Azure CLI** (for instructions, see [Create a C# function in Azure from the command line](../azure-functions/how-to-create-function-azure-cli.md?pivots=programming-language-csharp#create-a-local-function-project-and-function)).
77
+
You can do this using **Visual Studio** (for instructions, see [Develop Azure Functions using Visual Studio](../azure-functions/functions-develop-vs.md#create-an-azure-functions-project)), **Visual Studio Code** (for instructions, see [Create a C# function in Azure using Visual Studio Code](../azure-functions/create-first-function-vs-code-csharp.md?tabs=in-process#create-an-azure-functions-project)), or the **Azure CLI** (for instructions, see [Create a C# function in Azure from the command line](../azure-functions/how-to-create-function-azure-cli.md?pivots=programming-language-csharp#create-a-local-code-project-and-function)).
78
78
79
79
2. Add the following packages to your project (you can use the Visual Studio NuGet package manager, or the [dotnet add package](/dotnet/core/tools/dotnet-add-package) command in a command-line tool).
Copy file name to clipboardExpand all lines: articles/digital-twins/how-to-send-twin-to-twin-events.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Next, create an Azure function that listens on the endpoint and receive twin eve
39
39
40
40
1. First, create a new Azure Functions project.
41
41
42
-
You can do this using **Visual Studio** (for instructions, see [Develop Azure Functions using Visual Studio](../azure-functions/functions-develop-vs.md#create-an-azure-functions-project)), **Visual Studio Code** (for instructions, see [Create a C# function in Azure using Visual Studio Code](../azure-functions/create-first-function-vs-code-csharp.md?tabs=in-process#create-an-azure-functions-project)), or the **Azure CLI** (for instructions, see [Create a C# function in Azure from the command line](../azure-functions/how-to-create-function-azure-cli.md?pivots=programming-language-csharp#create-a-local-function-project-and-function)).
42
+
You can do this using **Visual Studio** (for instructions, see [Develop Azure Functions using Visual Studio](../azure-functions/functions-develop-vs.md#create-an-azure-functions-project)), **Visual Studio Code** (for instructions, see [Create a C# function in Azure using Visual Studio Code](../azure-functions/create-first-function-vs-code-csharp.md?tabs=in-process#create-an-azure-functions-project)), or the **Azure CLI** (for instructions, see [Create a C# function in Azure from the command line](../azure-functions/how-to-create-function-azure-cli.md?pivots=programming-language-csharp#create-a-local-code-project-and-function)).
43
43
44
44
2. Add the following packages to your project (you can use the Visual Studio NuGet package manager, or the [dotnet add package](/dotnet/core/tools/dotnet-add-package) command in a command-line tool).
0 commit comments