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-dotnet-class-library.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This article is an introduction to developing Azure Functions by using C# in .NE
21
21
As a C# developer, you may also be interested in one of the following articles:
22
22
23
23
| Getting started | Concepts| Guided learning/samples |
24
-
|--| -- |--|
24
+
|--|--|--|
25
25
| <ul><li>[Using Visual Studio](functions-create-your-first-function-visual-studio.md)</li><li>[Using Visual Studio Code](create-first-function-vs-code-csharp.md)</li><li>[Using command line tools](create-first-function-cli-csharp.md)</li></ul> | <ul><li>[Hosting options](functions-scale.md)</li><li>[Performance considerations](functions-best-practices.md)</li><li>[Visual Studio development](functions-develop-vs.md)</li><li>[Dependency injection](functions-dotnet-dependency-injection.md)</li></ul> | <ul><li>[Create serverless applications](/training/paths/create-serverless-applications/)</li><li>[C# samples](/samples/browse/?products=azure-functions&languages=csharp)</li></ul> |
26
26
27
27
Azure Functions supports C# and C# script programming languages. If you're looking for guidance on [using C# in the Azure portal](functions-create-function-app-portal.md), see [C# script (.csx) developer reference](functions-reference-csharp.md).
@@ -131,7 +131,7 @@ public static class BindingExpressionsExample
131
131
132
132
## Autogenerated function.json
133
133
134
-
The build process creates a *function.json* file in a function folder in the build folder. As noted earlier, this file is not meant to be edited directly. You can't change binding configuration or disable the function by editing this file.
134
+
The build process creates a *function.json* file in a function folder in the build folder. As noted earlier, this file isn't meant to be edited directly. You can't change binding configuration or disable the function by editing this file.
135
135
136
136
The purpose of this file is to provide information to the scale controller to use for [scaling decisions on the Consumption plan](event-driven-scaling.md). For this reason, the file only has trigger info, not input/output bindings.
137
137
@@ -158,7 +158,7 @@ The generated *function.json* file includes a `configurationSource` property tha
158
158
159
159
The *function.json* file generation is performed by the NuGet package [Microsoft\.NET\.Sdk\.Functions](https://www.nuget.org/packages/Microsoft.NET.Sdk.Functions).
160
160
161
-
Below are the relevant parts of the `.csproj` files, showing different target frameworks with the same `Sdk` package:
161
+
The following example shows the relevant parts of the `.csproj` files that have different target frameworks of the same `Sdk` package:
162
162
163
163
# [v4.x](#tab/v4)
164
164
@@ -195,7 +195,7 @@ The source code for `Microsoft.NET.Sdk.Functions` is available in the GitHub rep
195
195
196
196
Visual Studio uses the [Azure Functions Core Tools](functions-run-local.md#install-the-azure-functions-core-tools) to run Functions projects on your local computer. The Core Tools is a command-line interface for the Functions runtime.
197
197
198
-
If you install the Core Tools using the Windows installer (MSI) package or by using npm, that doesn't affect the Core Tools version used by Visual Studio. For the Functions runtime version 1.x, Visual Studio stores Core Tools versions in *%USERPROFILE%\AppData\Local\Azure.Functions.Cli* and uses the latest version stored there. For Functions 4.x, the Core Tools are included in the **Azure Functions and Web Jobs Tools** extension. For Functions 1.x, you can see what version is being used in the console output when you run a Functions project:
198
+
If you install the Core Tools using the Windows installer (MSI) package or by using npm, it doesn't affect the Core Tools version used by Visual Studio. For the Functions runtime version 1.x, Visual Studio stores Core Tools versions in *%USERPROFILE%\AppData\Local\Azure.Functions.Cli* and uses the latest version stored there. For Functions 4.x, the Core Tools are included in the **Azure Functions and Web Jobs Tools** extension. For Functions 1.x, you can see what version is being used in the console output when you run a Functions project:
TolearnmoreabouthowFunctionsimplements `ILogger`, see [Collectingtelemetrydata](functions-monitoring.md#collecting-telemetry-data). Categoriesprefixedwith `Function` assumeyou're using an `ILogger` instance. If you choose to instead use an `ILogger<T>`, the category name may instead be based on `T`.
344
344
345
345
### Structured logging
346
346
@@ -375,7 +375,7 @@ Here's a sample JSON representation of `customDimensions` data:
ThereisaFunctions-specificversionoftheApplicationInsightsSDKthatyoucanusetosendcustomtelemetrydatafromyourfunctionstoApplicationInsights: [Microsoft.Azure.WebJobs.Logging.ApplicationInsights](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Logging.ApplicationInsights). Use the following command from the command prompt to install this package:
378
+
There's a Functions-specific version of the Application Insights SDK that you can use to send custom telemetry data from your functions to Application Insights: [Microsoft.Azure.WebJobs.Logging.ApplicationInsights](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Logging.ApplicationInsights). Use the following command from the command prompt to install this package:
379
379
380
380
# [Command](#tab/cmd)
381
381
@@ -609,7 +609,7 @@ Define an imperative binding as follows:
609
609
}
610
610
```
611
611
612
-
`BindingTypeAttribute` isthe .NETattributethatdefinesyourbinding, and `T` isaninputoroutputtypethat'ssupportedbythatbindingtype. `T` cannotbean `out` parametertype (suchas `outJObject`). Forexample, theMobileAppstableoutputbindingsupports [sixoutputtypes](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions.MobileApps/MobileTableAttribute.cs#L17-L22), but you can only use [ICollector\<T>](https://github.com/Azure/azure-webjobs-sdk/blob/master/src/Microsoft.Azure.WebJobs/ICollector.cs) or [IAsyncCollector\<T>](https://github.com/Azure/azure-webjobs-sdk/blob/master/src/Microsoft.Azure.WebJobs/IAsyncCollector.cs) with imperative binding.
612
+
`BindingTypeAttribute` isthe .NETattributethatdefinesyourbinding, and `T` isaninputoroutputtypethat'ssupportedbythatbindingtype. `T` can'tbean `out` parametertype (suchas `outJObject`). Forexample, theMobileAppstableoutputbindingsupports [sixoutputtypes](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions.MobileApps/MobileTableAttribute.cs#L17-L22), but you can only use [ICollector\<T>](https://github.com/Azure/azure-webjobs-sdk/blob/master/src/Microsoft.Azure.WebJobs/ICollector.cs) or [IAsyncCollector\<T>](https://github.com/Azure/azure-webjobs-sdk/blob/master/src/Microsoft.Azure.WebJobs/IAsyncCollector.cs) with imperative binding.
0 commit comments