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/durable/durable-functions-isolated-create-first-csharp.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ To complete this quickstart, you need:
37
37
38
38
* An Azure subscription. To use Durable Functions, you must have an Azure Storage account.
39
39
40
-
*[.NET Core SDK](https://dotnet.microsoft.com/download) version 3.1 or later installed.
40
+
*[.NET SDK](https://dotnet.microsoft.com/download) version 8.0 or later installed.
41
41
42
42
* An HTTP test tool that keeps your data secure. For more information, see [HTTP test tools](../functions-develop-local.md#http-test-tools).
43
43
@@ -70,6 +70,16 @@ In Visual Studio Code, create a local Azure Functions project.
70
70
71
71
Visual Studio Code installs Azure Functions Core Tools if it's required to create the project. It also creates a function app project in a folder. This project contains the [host.json](../functions-host-json.md) and [local.settings.json](../functions-develop-local.md#local-settings-file) configuration files.
72
72
73
+
If you don't see **C#** in the language list or if only *function.json* is generated, verify the following prerequisites and then create the project again in a new empty folder:
74
+
75
+
* The latest [Azure Functions Core Tools](../functions-run-local.md) is installed.
76
+
* A supported [.NET SDK](https://dotnet.microsoft.com/download) is installed.
77
+
* The [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp) is installed in Visual Studio Code.
78
+
79
+
These checks usually resolve cases where Visual Studio Code scaffolds only metadata instead of generating the C# project files.
80
+
81
+
For more troubleshooting steps, see the [Azure Functions Core Tools reference](../functions-core-tools-reference.md).
82
+
73
83
Another file, *HelloOrchestration.cs*, contains the basic building blocks of a Durable Functions app:
74
84
75
85
| Method | Description |
@@ -100,7 +110,7 @@ You can use other storage options for your Durable Functions app. For more infor
100
110
101
111
## Test the function locally
102
112
103
-
Azure Functions Core Tools gives you the capability to run an Azure Functions project on your local development computer. You're prompted to install these tools the first time you start a function in Visual Studio Code.
113
+
Azure Functions Core Tools gives you the capability to run an Azure Functions project on your local development computer. You're prompted to install these tools the first time you start a function in Visual Studio.
104
114
105
115
1. In Visual Studio Code, set a breakpoint in the `SayHello` activity function code, and then select F5 to start the function app project. The terminal panel displays output from Core Tools.
106
116
@@ -228,7 +238,7 @@ For more information about these functions, see [Durable Functions types and fea
228
238
229
239
Azure Functions Core Tools gives you the capability to run an Azure Functions project on your local development computer. You're prompted to install these tools the first time you start a function in Visual Studio Code.
230
240
231
-
1. In Visual Studio Code, set a breakpoint in the `SayHello` activity function code, and then select F5. If you're prompted, accept the request from Visual Studio to download and install Azure Functions Core (command-line) tools. You might also need to enable a firewall exception so that the tools can handle HTTP requests.
241
+
1. In Visual Studio, set a breakpoint in the `SayHello` activity function code, and then select F5. If you're prompted, accept the request from Visual Studio to download and install Azure Functions Core (command-line) tools. You might also need to enable a firewall exception so that the tools can handle HTTP requests.
232
242
233
243
> [!NOTE]
234
244
> For more information about debugging, see [Durable Functions diagnostics](durable-functions-diagnostics.md#debugging).
0 commit comments