Lightrun 1.18.0
See the version list below for details.
dotnet add package Lightrun --version 1.18.0
NuGet\Install-Package Lightrun -Version 1.18.0
<PackageReference Include="Lightrun" Version="1.18.0" />
paket add Lightrun --version 1.18.0
#r "nuget: Lightrun, 1.18.0"
// Install Lightrun as a Cake Addin #addin nuget:?package=Lightrun&version=1.18.0 // Install Lightrun as a Cake Tool #tool nuget:?package=Lightrun&version=1.18.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 onbaording 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.46.0 | 3,659 | 11/18/2024 |
1.45.2 | 1,680 | 11/14/2024 |
1.45.1 | 78 | 11/14/2024 |
1.45.0 | 115 | 11/4/2024 |
1.44.0 | 12,505 | 10/22/2024 |
1.43.0 | 265 | 10/8/2024 |
1.42.0 | 192 | 9/24/2024 |
1.41.0 | 150 | 9/11/2024 |
1.40.1 | 22,803 | 8/28/2024 |
1.40.0 | 234 | 8/25/2024 |
1.39.4 | 1,577 | 9/18/2024 |
1.39.3 | 98 | 9/17/2024 |
1.39.2 | 10,005 | 8/19/2024 |
1.39.1 | 764 | 8/13/2024 |
1.39.0 | 130 | 8/13/2024 |
1.38.1 | 2,122 | 8/6/2024 |
1.37.2 | 66,182 | 7/25/2024 |
1.37.1 | 1,112 | 7/22/2024 |
1.37.0 | 131 | 7/15/2024 |
1.36.4 | 4,359 | 7/15/2024 |
1.36.3 | 82 | 7/10/2024 |
1.36.1 | 417 | 7/3/2024 |
1.36.0 | 247 | 7/1/2024 |
1.35.2 | 203 | 6/19/2024 |
1.35.1 | 121 | 6/18/2024 |
1.34.6 | 109 | 8/19/2024 |
1.34.5 | 109 | 7/11/2024 |
1.34.0 | 221 | 6/2/2024 |
1.33.2 | 137 | 5/26/2024 |
1.33.0 | 183 | 5/20/2024 |
1.32.0 | 215 | 5/6/2024 |
1.31.0 | 520 | 4/21/2024 |
1.30.0 | 412 | 4/11/2024 |
1.30.0-beta | 394 | 4/8/2024 |
1.29.1 | 555 | 4/3/2024 |
1.29.0 | 538 | 3/24/2024 |
1.29.0-beta | 573 | 3/23/2024 |
1.28.0 | 5,232 | 3/10/2024 |
1.27.0 | 722 | 2/25/2024 |
1.26.0 | 306 | 2/18/2024 |
1.25.0-beta | 237 | 1/29/2024 |
1.24.0-beta | 256 | 1/19/2024 |
1.23.0-beta | 654 | 12/31/2023 |
1.22.3-beta | 260 | 1/19/2024 |
1.22.0-beta | 553 | 12/20/2023 |
1.21.0 | 517 | 12/3/2023 |
1.20.0 | 402 | 11/19/2023 |
1.19.0 | 222 | 11/5/2023 |
1.18.0 | 370 | 10/22/2023 |
1.17.0 | 299 | 10/8/2023 |
1.16.0 | 341 | 9/26/2023 |
1.15.0 | 15,496 | 9/10/2023 |
1.14.2 | 3,365 | 9/3/2023 |
1.14.0 | 195,541 | 8/15/2023 |
1.13.1 | 35,337 | 7/11/2023 |
1.13.0 | 3,137 | 6/29/2023 |
1.12.4-beta | 1,028 | 6/14/2023 |
1.12.3-beta | 26,636 | 6/6/2023 |
1.12.2-beta | 273 | 6/5/2023 |
1.12.1-beta | 429 | 5/23/2023 |
1.12.0-beta | 16,786 | 5/19/2023 |
1.11.3-beta | 7,774 | 4/18/2023 |
1.11.2-beta | 289 | 4/18/2023 |
1.11.1-beta | 295 | 4/11/2023 |
1.11.0-beta | 320 | 4/4/2023 |
1.10.6-beta | 313 | 3/22/2023 |
1.10.5-beta | 257 | 3/21/2023 |
1.10.4-beta | 311 | 3/19/2023 |
1.10.3-beta | 258 | 3/15/2023 |
1.10.2-beta | 273 | 3/7/2023 |
1.10.1-beta | 276 | 3/1/2023 |
1.10.0-beta.1 | 745 | 2/17/2023 |
1.9.0-beta.3 | 214 | 2/6/2023 |
1.9.0-beta.2 | 209 | 1/26/2023 |
1.9.0-beta.1 | 166 | 1/10/2023 |