LINQPadPlus 0.0.9

dotnet add package LINQPadPlus --version 0.0.9
                    
NuGet\Install-Package LINQPadPlus -Version 0.0.9
                    
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="LINQPadPlus" Version="0.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LINQPadPlus" Version="0.0.9" />
                    
Directory.Packages.props
<PackageReference Include="LINQPadPlus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LINQPadPlus --version 0.0.9
                    
#r "nuget: LINQPadPlus, 0.0.9"
                    
#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.
#addin nuget:?package=LINQPadPlus&version=0.0.9
                    
Install LINQPadPlus as a Cake Addin
#tool nuget:?package=LINQPadPlus&version=0.0.9
                    
Install LINQPadPlus as a Cake Tool

LINQPadPlus

LINQPadPlus is a library for adding useful functionality to LINQPad.

Install

  • 📦 NuGet: dotnet add package LINQPadPlus

Features

  • Collection on LINQPad samples to learn the library
  • Surface JavaScript runtime and compilation errors as Exceptions
  • Powerful HTML building blocks
  • Designed with reactivity in mind
  • Integration with Tabulator to display tables
  • Upcoming: integration with Plotly

Usage

Running JavaScript

JS.Run("external.log('Hello')");    // Hello
JS.Return("'abc'").Dump();          // abc

// same as above but this form is useful for more complex code
JS.Return("""
(function() {
    return 'abc'
})()
""");

Chances are you will write wrong JavaScript in LINQPad before writing correct one. And this is where these functions will help you. If you write incorrect code these will show you exactly what the issue is:

JS.Run("extern al.log('Hello')");

dataframes

Notice that your code is wrapped in some boilerplate to catch the errors.

It handles:

  • compilation errors
  • runtime errors
  • runtime errors in async code

Using Tags (HTML)

t.Div.Dump()                                // create a div
t.Div.id("myid")                            // set Id
t.Div.cls("myclass")                        // set class (can be called multiple times)
t.Div.style("font-size:12px; color:blue")   // set styles (can be called multiple times)
t.Button.enable(false)                      // disabled button

// add children
public Tag this[params HtmlNode[] kids]

t.Label[
    t.Input                                 // other tag
        .attr("type", "checkbox"),          // set attributes
    "Checkbox",                             // text node
    new LINQPad.Controls.Span("text"),      // support LINQPad controls
    new DumpContainer("content")            // support LINQPad DumpContainer
].Dump();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on LINQPadPlus:

Package Downloads
LINQPadPlus.Plotly

LINQPad utilities to run JavaScript, render dynamic HTML, plotting and more

LINQPadPlus.Tabulator

LINQPad utilities to run JavaScript, render dynamic HTML, plotting and more

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.9 162 6/13/2025
0.0.8 165 6/13/2025
0.0.7 163 6/13/2025
0.0.6 322 5/12/2025
0.0.5 293 5/12/2025
0.0.4 281 5/12/2025
0.0.3 141 5/10/2025
0.0.2 153 5/10/2025
0.0.1 164 5/9/2025