Lightrun 1.21.0
See the version list below for details.
dotnet add package Lightrun --version 1.21.0
NuGet\Install-Package Lightrun -Version 1.21.0
<PackageReference Include="Lightrun" Version="1.21.0" />
paket add Lightrun --version 1.21.0
#r "nuget: Lightrun, 1.21.0"
// Install Lightrun as a Cake Addin #addin nuget:?package=Lightrun&version=1.21.0 // Install Lightrun as a Cake Tool #tool nuget:?package=Lightrun&version=1.21.0
Lightrun for .NET
Lightrun is a developer-native observabity platform. It's a way to add logs, inspect the state of the current execution (in a familiar, debugger-like view), and extract any type of code-level metric on the fly - without redeploying, restarting or even stopping the running application.
Check out our docs to learn more.
Getting Started
To get started with Lightrun you'll need three things:
- A Lightrun Account - you can get one here.
- A Lightrun Plugin - you'll have instructions to download it once you create an account, but you can also check them out here.
- A Lightrun Agent - which is this very NuGet package! It's the thing that actually does the magic.
Once you've signed up for an account and downloaded the plugin, you can install the agent in your application.
Installing the Lightrun Agent
In order to install the Lightrun .NET Agent please follow these steps:
Add the Lightrun NuGet package to your project
Import Lightrun at the start of your your application file (i.e.
Program.cs
) and then start it:
using Lightrun;
LightrunAgent.Start(new AgentOptions {
Secret = "<COMPANY-SECRET>",
});
You will have a <COMPANY-SECRET>
auto-generated for you during the onboarding process, right after signing up for an account.
Important Note - Debugging Information
Lightrun for .NET needs to have debugging information available to it in order to work properly. Please make sure to set DebugType
to portable
when compiling your project code.
- Run the application as you normally would.
You should now see the application's agent popping up in the Lightrun Plugin's sidebar - you can now add logs, snapshots and metrics to your application.
Providing Credentials via Environment Variables
You can optionally choose to provide the <COMPANY-SECRET>
via environment variables to the .NET process.
To do so, follow these steps after installing the agent:
- Import Lightrun at the start of the file:
using Lightrun;
LightrunAgent.Start(new AgentOptions());
- Run the application with the environment variables provided before the
dotnet
command (note that this does not work on Windows):
LIGHTRUN_SECRET=<COMPANY-SECRET> dotnet myapp.dll
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. |
-
.NETStandard 2.0
- No dependencies.
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.45.2 | 39 | 11/14/2024 |
1.45.1 | 39 | 11/14/2024 |
1.45.0 | 107 | 11/4/2024 |
1.44.0 | 11,507 | 10/22/2024 |
1.43.0 | 206 | 10/8/2024 |
1.42.0 | 165 | 9/24/2024 |
1.41.0 | 149 | 9/11/2024 |
1.40.1 | 21,568 | 8/28/2024 |
1.40.0 | 233 | 8/25/2024 |
1.39.4 | 1,348 | 9/18/2024 |
1.39.3 | 97 | 9/17/2024 |
1.39.2 | 9,091 | 8/19/2024 |
1.39.1 | 646 | 8/13/2024 |
1.39.0 | 129 | 8/13/2024 |
1.38.1 | 1,971 | 8/6/2024 |
1.37.2 | 66,150 | 7/25/2024 |
1.37.1 | 1,111 | 7/22/2024 |
1.37.0 | 130 | 7/15/2024 |
1.36.4 | 4,358 | 7/15/2024 |
1.36.3 | 81 | 7/10/2024 |
1.36.1 | 416 | 7/3/2024 |
1.36.0 | 246 | 7/1/2024 |
1.35.2 | 202 | 6/19/2024 |
1.35.1 | 120 | 6/18/2024 |
1.34.6 | 108 | 8/19/2024 |
1.34.5 | 108 | 7/11/2024 |
1.34.0 | 220 | 6/2/2024 |
1.33.2 | 136 | 5/26/2024 |
1.33.0 | 182 | 5/20/2024 |
1.32.0 | 214 | 5/6/2024 |
1.31.0 | 519 | 4/21/2024 |
1.30.0 | 411 | 4/11/2024 |
1.30.0-beta | 393 | 4/8/2024 |
1.29.1 | 554 | 4/3/2024 |
1.29.0 | 537 | 3/24/2024 |
1.29.0-beta | 572 | 3/23/2024 |
1.28.0 | 5,231 | 3/10/2024 |
1.27.0 | 721 | 2/25/2024 |
1.26.0 | 305 | 2/18/2024 |
1.25.0-beta | 236 | 1/29/2024 |
1.24.0-beta | 255 | 1/19/2024 |
1.23.0-beta | 636 | 12/31/2023 |
1.22.3-beta | 259 | 1/19/2024 |
1.22.0-beta | 552 | 12/20/2023 |
1.21.0 | 516 | 12/3/2023 |
1.20.0 | 396 | 11/19/2023 |
1.19.0 | 221 | 11/5/2023 |
1.18.0 | 369 | 10/22/2023 |
1.17.0 | 298 | 10/8/2023 |
1.16.0 | 340 | 9/26/2023 |
1.15.0 | 15,474 | 9/10/2023 |
1.14.2 | 3,364 | 9/3/2023 |
1.14.0 | 192,212 | 8/15/2023 |
1.13.1 | 34,437 | 7/11/2023 |
1.13.0 | 3,136 | 6/29/2023 |
1.12.4-beta | 1,027 | 6/14/2023 |
1.12.3-beta | 26,635 | 6/6/2023 |
1.12.2-beta | 272 | 6/5/2023 |
1.12.1-beta | 428 | 5/23/2023 |
1.12.0-beta | 16,785 | 5/19/2023 |
1.11.3-beta | 7,773 | 4/18/2023 |
1.11.2-beta | 288 | 4/18/2023 |
1.11.1-beta | 294 | 4/11/2023 |
1.11.0-beta | 319 | 4/4/2023 |
1.10.6-beta | 312 | 3/22/2023 |
1.10.5-beta | 256 | 3/21/2023 |
1.10.4-beta | 310 | 3/19/2023 |
1.10.3-beta | 257 | 3/15/2023 |
1.10.2-beta | 272 | 3/7/2023 |
1.10.1-beta | 275 | 3/1/2023 |
1.10.0-beta.1 | 744 | 2/17/2023 |
1.9.0-beta.3 | 213 | 2/6/2023 |
1.9.0-beta.2 | 208 | 1/26/2023 |
1.9.0-beta.1 | 165 | 1/10/2023 |