Lightrun 1.12.1-beta
See the version list below for details.
dotnet add package Lightrun --version 1.12.1-beta
NuGet\Install-Package Lightrun -Version 1.12.1-beta
<PackageReference Include="Lightrun" Version="1.12.1-beta" />
paket add Lightrun --version 1.12.1-beta
#r "nuget: Lightrun, 1.12.1-beta"
// Install Lightrun as a Cake Addin #addin nuget:?package=Lightrun&version=1.12.1-beta&prerelease // Install Lightrun as a Cake Tool #tool nuget:?package=Lightrun&version=1.12.1-beta&prerelease
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 | 6,586 | 11/18/2024 |
1.46.0-dotnet-rc5 | 0 | 11/28/2024 |
1.46.0-dotnet-rc2 | 4 | 11/28/2024 |
1.45.2 | 1,768 | 11/14/2024 |
1.45.1 | 87 | 11/14/2024 |
1.45.0 | 123 | 11/4/2024 |
1.44.0 | 12,537 | 10/22/2024 |
1.43.0 | 288 | 10/8/2024 |
1.42.0 | 204 | 9/24/2024 |
1.41.0 | 153 | 9/11/2024 |
1.40.1 | 23,591 | 8/28/2024 |
1.40.0 | 237 | 8/25/2024 |
1.39.4 | 1,712 | 9/18/2024 |
1.39.3 | 101 | 9/17/2024 |
1.39.2 | 10,417 | 8/19/2024 |
1.39.1 | 811 | 8/13/2024 |
1.39.0 | 133 | 8/13/2024 |
1.38.1 | 2,223 | 8/6/2024 |
1.37.2 | 66,211 | 7/25/2024 |
1.37.1 | 1,115 | 7/22/2024 |
1.37.0 | 134 | 7/15/2024 |
1.36.4 | 4,362 | 7/15/2024 |
1.36.3 | 85 | 7/10/2024 |
1.36.1 | 420 | 7/3/2024 |
1.36.0 | 250 | 7/1/2024 |
1.35.2 | 206 | 6/19/2024 |
1.35.1 | 124 | 6/18/2024 |
1.34.6 | 112 | 8/19/2024 |
1.34.5 | 112 | 7/11/2024 |
1.34.0 | 224 | 6/2/2024 |
1.33.2 | 140 | 5/26/2024 |
1.33.0 | 187 | 5/20/2024 |
1.32.0 | 219 | 5/6/2024 |
1.31.0 | 533 | 4/21/2024 |
1.30.0 | 427 | 4/11/2024 |
1.30.0-beta | 394 | 4/8/2024 |
1.29.1 | 570 | 4/3/2024 |
1.29.0 | 557 | 3/24/2024 |
1.29.0-beta | 573 | 3/23/2024 |
1.28.0 | 5,245 | 3/10/2024 |
1.27.0 | 737 | 2/25/2024 |
1.26.0 | 321 | 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 | 522 | 12/3/2023 |
1.20.0 | 407 | 11/19/2023 |
1.19.0 | 227 | 11/5/2023 |
1.18.0 | 375 | 10/22/2023 |
1.17.0 | 303 | 10/8/2023 |
1.16.0 | 346 | 9/26/2023 |
1.15.0 | 15,520 | 9/10/2023 |
1.14.2 | 3,370 | 9/3/2023 |
1.14.0 | 198,488 | 8/15/2023 |
1.13.1 | 36,164 | 7/11/2023 |
1.13.0 | 3,143 | 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 |