Lightrun 1.12.1-beta

This is a prerelease version of Lightrun.
There is a newer version of this package available.
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
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="Lightrun" Version="1.12.1-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lightrun --version 1.12.1-beta
#r "nuget: Lightrun, 1.12.1-beta"
#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 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:

  1. A Lightrun Account - you can get one here.
  2. A Lightrun Plugin - you'll have instructions to download it once you create an account, but you can also check them out here.
  3. 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:

  1. Add the Lightrun NuGet package to your project

  2. 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.

  1. 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:

  1. Import Lightrun at the start of the file:
using Lightrun;

LightrunAgent.Start(new AgentOptions());
  1. 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 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.
  • .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.31.0 142 4/21/2024
1.30.0 190 4/11/2024
1.30.0-beta 298 4/8/2024
1.29.1 327 4/3/2024
1.29.0 329 3/24/2024
1.29.0-beta 486 3/23/2024
1.28.0 2,734 3/10/2024
1.27.0 533 2/25/2024
1.26.0 148 2/18/2024
1.25.0-beta 106 1/29/2024
1.24.0-beta 98 1/19/2024
1.23.0-beta 529 12/31/2023
1.22.3-beta 85 1/19/2024
1.22.0-beta 427 12/20/2023
1.21.0 458 12/3/2023
1.20.0 318 11/19/2023
1.19.0 167 11/5/2023
1.18.0 304 10/22/2023
1.17.0 233 10/8/2023
1.16.0 284 9/26/2023
1.15.0 13,758 9/10/2023
1.14.2 3,322 9/3/2023
1.14.0 94,793 8/15/2023
1.13.1 12,704 7/11/2023
1.13.0 3,090 6/29/2023
1.12.4-beta 973 6/14/2023
1.12.3-beta 26,570 6/6/2023
1.12.2-beta 238 6/5/2023
1.12.1-beta 381 5/23/2023
1.12.0-beta 16,747 5/19/2023
1.11.3-beta 7,733 4/18/2023
1.11.2-beta 250 4/18/2023
1.11.1-beta 255 4/11/2023
1.11.0-beta 288 4/4/2023
1.10.6-beta 284 3/22/2023
1.10.5-beta 230 3/21/2023
1.10.4-beta 282 3/19/2023
1.10.3-beta 222 3/15/2023
1.10.2-beta 239 3/7/2023
1.10.1-beta 240 3/1/2023
1.10.0-beta.1 725 2/17/2023
1.9.0-beta.3 199 2/6/2023
1.9.0-beta.2 190 1/26/2023
1.9.0-beta.1 144 1/10/2023