Lumigo.DotNET
1.0.17
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Lumigo.DotNET --version 1.0.17
NuGet\Install-Package Lumigo.DotNET -Version 1.0.17
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lumigo.DotNET" Version="1.0.17" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lumigo.DotNET --version 1.0.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lumigo.DotNET, 1.0.17"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lumigo.DotNET as a Cake Addin #addin nuget:?package=Lumigo.DotNET&version=1.0.17 // Install Lumigo.DotNET as a Cake Tool #tool nuget:?package=Lumigo.DotNET&version=1.0.17
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lumigo .NET Tracer
Supported Runtimes: .NET Core 2.1, .NET Core 3.1
This readme explains how to deploy .NET Test function that impletemets "Lumigo .NET Tracer"
Adding NuGet Package
Install-Package Lumigo.DotNET
Wrapping your Lambda
- Wrap your lambda function by implementing a supplier which contains your code
public class Function : LumigoRequestHandler
{
public Function()
{
LumigoBootstrap.Bootstrap();
}
public async Task<string> FunctionHandler(string input, ILambdaContext context)
{
return await Handle(input, context, async () =>
{
//Your lambda code
//return <result of type OUTPUT>;
});
}
}
- For handler return void use:
public class Function : LumigoRequestHandler
{
public Function()
{
LumigoBootstrap.Bootstrap();
}
public async Task FunctionHandler(string input, ILambdaContext context)
{
return await Handle(input, context, async () =>
{
//Your lambda code
});
}
}
Configuration
Environment variables
Adding `LUMIGO_TRACER_TOKEN` environment variables
Building and Deployment using the Serverless framework
- Make sure you have
dotnet
installed on your machine by runningbrew install --cask dotnet
. - Create a .Net project template by running
sls create -t aws-csharp -n hello-world .
. This command will create a.net
template for a service namedhello-world
in current directory. - After creation run
./build.sh
in the created template directory. The command will build th zip artifact for the Lambda. - Run
sls deploy
to deploy your lambda Pay attention Each time you are changing the code you need to run./buid.sh
and thensls deploy
, incase you are only changing theserverless.yml
runsls deploy
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- Amazon.AspNetCore.DataProtection.SSM (>= 2.1.0)
- Amazon.Extensions.CognitoAuthentication (>= 2.2.2)
- Amazon.Lambda.APIGatewayEvents (>= 2.4.0)
- Amazon.Lambda.CloudWatchEvents (>= 3.0.0)
- Amazon.Lambda.CloudWatchLogsEvents (>= 2.1.0)
- Amazon.Lambda.CognitoEvents (>= 2.0.0)
- Amazon.Lambda.ConfigEvents (>= 2.0.0)
- Amazon.Lambda.Core (>= 2.0.0)
- Amazon.Lambda.DynamoDBEvents (>= 2.0.0)
- Amazon.Lambda.KinesisAnalyticsEvents (>= 2.2.1)
- Amazon.Lambda.KinesisEvents (>= 2.0.0)
- Amazon.Lambda.KinesisFirehoseEvents (>= 2.1.0)
- Amazon.Lambda.LexEvents (>= 3.0.0)
- Amazon.Lambda.S3Events (>= 2.0.1)
- Amazon.Lambda.SNSEvents (>= 2.0.0)
- Amazon.Lambda.SQSEvents (>= 2.0.0)
- AWSSDK.CloudWatch (>= 3.7.2.10)
- AWSSDK.CloudWatchEvents (>= 3.7.3.21)
- AWSSDK.CloudWatchLogs (>= 3.7.1.29)
- AWSSDK.CognitoIdentityProvider (>= 3.7.1.26)
- AWSSDK.Core (>= 3.7.2.6)
- AWSSDK.Lambda (>= 3.7.3.3)
- AWSSDK.S3 (>= 3.7.1.26)
- AWSSDK.SimpleNotificationService (>= 3.7.2.25)
- AWSSDK.SQS (>= 3.7.0.55)
- Newtonsoft.Json (>= 13.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.47 | 6,933 | 6/4/2023 |
1.0.46 | 145 | 5/15/2023 |
1.0.45 | 13,260 | 1/18/2023 |
1.0.44 | 259 | 1/18/2023 |
1.0.43 | 342 | 12/15/2022 |
1.0.42 | 271 | 12/14/2022 |
1.0.41 | 260 | 12/13/2022 |
1.0.40 | 4,970 | 12/13/2022 |
1.0.39 | 282 | 12/8/2022 |
1.0.38 | 469 | 10/2/2022 |
1.0.37 | 358 | 10/2/2022 |
1.0.36 | 517 | 1/4/2022 |
1.0.35 | 280 | 12/22/2021 |
1.0.34 | 256 | 12/16/2021 |
1.0.33 | 278 | 12/16/2021 |
1.0.32 | 249 | 12/16/2021 |
1.0.31 | 380 | 12/14/2021 |
1.0.30 | 245 | 12/14/2021 |
1.0.29 | 263 | 12/13/2021 |
1.0.28 | 251 | 12/12/2021 |
1.0.27 | 262 | 12/1/2021 |
1.0.26 | 264 | 11/30/2021 |
1.0.25 | 267 | 11/30/2021 |
1.0.24 | 247 | 11/29/2021 |
1.0.23 | 252 | 11/29/2021 |
1.0.22 | 1,196 | 11/18/2021 |
1.0.21 | 271 | 11/18/2021 |
1.0.20 | 450 | 11/3/2021 |
1.0.19 | 303 | 11/3/2021 |
1.0.18 | 289 | 11/1/2021 |
1.0.17 | 378 | 10/31/2021 |
1.0.16 | 345 | 10/27/2021 |
1.0.15 | 290 | 10/27/2021 |
1.0.14 | 300 | 10/27/2021 |
1.0.13 | 312 | 10/25/2021 |
1.0.12 | 278 | 10/14/2021 |
1.0.11 | 290 | 10/13/2021 |
1.0.10 | 427 | 9/29/2021 |
1.0.2.2 | 364 | 9/14/2021 |
1.0.2.1 | 539 | 8/24/2021 |
1.0.2 | 282 | 8/24/2021 |
1.0.1.6 | 3,454 | 8/24/2021 |
1.0.1.5 | 278 | 8/24/2021 |
1.0.1.4 | 301 | 8/24/2021 |
1.0.1.3 | 289 | 8/24/2021 |
1.0.1.2 | 371 | 8/23/2021 |
1.0.1.1 | 309 | 8/23/2021 |
1.0.1 | 313 | 8/19/2021 |