Microsoft.Spark.Extensions.DotNet.Interactive 2.4.0

Prefix Reserved
dotnet add package Microsoft.Spark.Extensions.DotNet.Interactive --version 2.4.0
                    
NuGet\Install-Package Microsoft.Spark.Extensions.DotNet.Interactive -Version 2.4.0
                    
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="Microsoft.Spark.Extensions.DotNet.Interactive" Version="2.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Spark.Extensions.DotNet.Interactive" Version="2.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Spark.Extensions.DotNet.Interactive" />
                    
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 Microsoft.Spark.Extensions.DotNet.Interactive --version 2.4.0
                    
#r "nuget: Microsoft.Spark.Extensions.DotNet.Interactive, 2.4.0"
                    
#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.
#:package Microsoft.Spark.Extensions.DotNet.Interactive@2.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Spark.Extensions.DotNet.Interactive&version=2.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Spark.Extensions.DotNet.Interactive&version=2.4.0
                    
Install as a Cake Tool

Microsoft.Spark.Extensions.DotNet.Interactive

.NET Interactive C# kernel integration for .NET for Apache Spark. This extension makes assemblies defined in interactive cells and their referenced dependencies available to Spark executors.

Version 2.4.0 adds Spark 4 scalar UDF support across cells, including recovery after failed submissions.

Installation

Run the following in a .NET Interactive C# cell:

#r "nuget: Microsoft.Spark.Extensions.DotNet.Interactive, 2.4.0"

Runtime Requirements

Requires .NET 8 and a compatible .NET Interactive C# kernel.

Use Microsoft.Spark 2.4.0 with the corresponding bridge JAR and Microsoft.Spark.Worker. Configure the Spark runtime and establish a Spark session before executing Spark operations.

Arrow UDFs defined in the REPL are not supported.

Documentation

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 was computed.  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

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
2.4.0 97 10/13/2026
2.3.1 243 2/13/2026
2.3.1-rc1 158 2/2/2026
2.3.0 753 5/13/2025
2.3.0-rc1 232 5/7/2025
2.1.1 1,416 6/1/2022
2.1.0 873 2/2/2022
2.0.0 156,059 6/14/2021
1.1.1 742 3/30/2021
1.0.2 672 6/1/2022
1.0.1 752 10/30/2021
1.0.0 2,565 10/13/2020
0.12.1 170,027 6/28/2020
0.12.0 886 6/24/2020