Microsoft.JSInterop 8.0.21

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.JSInterop --version 8.0.21
                    
NuGet\Install-Package Microsoft.JSInterop -Version 8.0.21
                    
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.JSInterop" Version="8.0.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.JSInterop" Version="8.0.21" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.JSInterop" />
                    
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.JSInterop --version 8.0.21
                    
#r "nuget: Microsoft.JSInterop, 8.0.21"
                    
#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.JSInterop@8.0.21
                    
#: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.JSInterop&version=8.0.21
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.JSInterop&version=8.0.21
                    
Install as a Cake Tool

Abstractions and features for interop between .NET and JavaScript code.

This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/6254f5ca64f85b90327592dff67ea6b2ec0262c6

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.
  • net8.0

    • No dependencies.

NuGet packages (232)

Showing the top 5 NuGet packages that depend on Microsoft.JSInterop:

Package Downloads
Microsoft.AspNetCore.Components.Web

Support for rendering ASP.NET Core components for browsers. This package was built from the source code at https://github.com/dotnet/dotnet/tree/89c8f6a112d37d2ea8b77821e56d170a1bccdc5a

Microsoft.JSInterop.WebAssembly

Abstractions and features for interop between .NET WebAssembly and JavaScript code. This package was built from the source code at https://github.com/dotnet/dotnet/tree/89c8f6a112d37d2ea8b77821e56d170a1bccdc5a

Microsoft.AspNetCore.Components.WebView.Maui

Build .NET Multi-platform App UI (.NET MAUI) apps with Blazor web UI in the BlazorWebView control.

Rystem.Authentication.Social.Blazor

Rystem.Authentication.Social helps you to integrate with new .Net Identity system and social logins.

Mono.WebAssembly.Interop

Abstractions and features for interop between Mono WebAssembly and JavaScript code. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/cdfa43bbe0ecc13757cc6517c9a253de77c3ec56

GitHub repositories (23)

Showing the top 20 popular GitHub repositories that depend on Microsoft.JSInterop:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Nethereum/Nethereum
Ethereum .Net cross platform integration library
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
bitfoundation/bitplatform
Build all of your apps using what you already know and love ❤️
OpenSilver/OpenSilver
This repository contains the source of both OpenSilver and CSHTML5. More information is available at: www.opensilver.net and www.cshtml5.com - Read README.md for the instructions on how to build the source code and how to test it.
Tewr/BlazorWorker
Library for creating DotNet Web Worker threads/multithreading in Client side Blazor
VedAstro/VedAstro
A non-profit, open source project to make Vedic Astrology easily available to all.
DevExpress/Blazor
DevExpress UI for Blazor
IEvangelist/blazorators
This project converts TypeScript type declarations into C# representations, and use C# source generators to expose automatic JavaScript interop functionality.
rungwiroon/BlazorGoogleMaps
Blazor interop for GoogleMap library
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
lofcz/LlmTornado
The .NET library to build AI systems with 100+ LLM APIs: Anthropic, Azure, Cohere, DeepInfra, DeepSeek, Google, Groq, Mistral, MoonshotAI, Ollama, OpenAI, OpenRouter, Perplexity, vLLM, Voyage, xAI, Z.ai, and many more!
textadventures/quest
Create text adventure games
melihercan/WebRTCme
A cross-platform framework for adding WebRTC support to .NET MAUI, Blazor, and Desktop applications by using a single unified .NET/C# API.
elsa-workflows/elsa-studio
A modular, extensible dashboard application framework
adambajguz/Typin
Declarative framework for interactive CLI applications
Jinjinov/Ididit
C# .NET 7 Blazor habit tracker application. Works on Web, Windows, Linux, Android, iOS and macOS.
RemiBou/BrowserInterop
Wrapper for Browser JS API for Blazor and JSInterop
SteveDunn/PacManBlazor
PACMAN in Blazor WebAssembly
CropperBlazor/Cropper.Blazor
Cropper.js as Blazor component for cropping images
Version Downloads Last Updated
10.0.0-rc.2.25502.107 13,501 10/14/2025
10.0.0-rc.1.25451.107 37,924 9/9/2025
10.0.0-preview.7.25380.108 8,625 8/12/2025
10.0.0-preview.6.25358.103 4,882 7/15/2025
10.0.0-preview.5.25277.114 6,214 6/6/2025
10.0.0-preview.4.25258.110 5,025 5/12/2025
10.0.0-preview.3.25172.1 4,641 4/10/2025
10.0.0-preview.2.25164.1 1,711 3/18/2025
10.0.0-preview.1.25120.3 1,927 2/25/2025
9.0.10 87,483 10/14/2025
9.0.9 518,925 9/9/2025
9.0.8 673,317 8/5/2025
9.0.7 577,079 7/8/2025
9.0.6 660,788 6/10/2025
9.0.5 1,738,857 5/13/2025
9.0.4 1,323,671 4/8/2025
9.0.3 854,559 3/11/2025
9.0.2 1,134,765 2/11/2025
9.0.1 2,307,773 1/14/2025
9.0.0 3,917,677 11/12/2024
9.0.0-rc.2.24474.3 59,982 10/8/2024
9.0.0-rc.1.24452.1 54,995 9/10/2024
9.0.0-preview.7.24406.2 28,658 8/13/2024
9.0.0-preview.6.24328.4 17,706 7/9/2024
9.0.0-preview.5.24306.11 20,371 6/11/2024
9.0.0-preview.4.24267.6 4,209 5/21/2024
9.0.0-preview.3.24172.13 40,716 4/11/2024
9.0.0-preview.2.24128.4 2,949 3/12/2024
9.0.0-preview.1.24081.5 22,253 2/13/2024
8.0.21 38,998 10/14/2025
8.0.20 216,465 9/9/2025
8.0.19 351,960 8/5/2025
8.0.18 354,432 7/8/2025
8.0.17 406,985 6/10/2025
8.0.16 467,772 5/13/2025
8.0.15 682,907 4/8/2025
8.0.14 694,513 3/11/2025
8.0.13 778,348 2/11/2025
8.0.12 1,793,386 1/14/2025
8.0.11 3,356,966 11/12/2024
8.0.10 3,801,513 10/8/2024
8.0.8 4,007,512 8/13/2024
8.0.7 2,574,628 7/9/2024
8.0.6 4,367,802 5/28/2024
8.0.5 1,343,571 5/14/2024
8.0.4 2,669,410 4/9/2024
8.0.3 3,414,933 3/12/2024
8.0.2 4,016,911 2/13/2024
8.0.1 2,813,116 1/9/2024
8.0.0 14,082,334 11/14/2023
8.0.0-rc.2.23480.2 247,142 10/10/2023
8.0.0-rc.1.23421.29 64,424 9/12/2023
8.0.0-preview.7.23375.9 100,359 8/8/2023
8.0.0-preview.6.23329.11 31,560 7/11/2023
8.0.0-preview.5.23302.2 10,744 6/13/2023
8.0.0-preview.4.23260.4 39,944 5/16/2023
8.0.0-preview.3.23177.8 6,114 4/11/2023
8.0.0-preview.2.23153.2 5,480 3/14/2023
8.0.0-preview.1.23112.2 6,045 2/21/2023
7.0.20 551,296 5/28/2024
7.0.19 174,027 5/14/2024
7.0.18 192,142 4/9/2024
7.0.17 261,299 3/12/2024
7.0.16 273,372 2/13/2024
7.0.15 378,171 1/9/2024
7.0.14 984,617 11/14/2023
7.0.13 499,504 10/24/2023
7.0.12 545,343 10/10/2023
7.0.11 687,880 9/12/2023
7.0.10 1,032,019 8/8/2023
7.0.9 873,668 7/11/2023
7.0.8 380,151 6/22/2023
7.0.7 675,529 6/13/2023
7.0.5 2,851,101 4/11/2023
7.0.4 1,224,538 3/14/2023
7.0.3 851,209 2/14/2023
7.0.2 1,095,187 1/10/2023
7.0.1 4,974,484 12/13/2022
7.0.0 8,637,705 11/7/2022
7.0.0-rc.2.22476.2 52,384 10/11/2022
7.0.0-rc.1.22427.2 87,494 9/14/2022
7.0.0-preview.7.22376.6 128,688 8/9/2022
7.0.0-preview.6.22330.3 5,047 7/12/2022
7.0.0-preview.5.22303.8 3,140 6/14/2022
7.0.0-preview.4.22251.1 90,438 5/10/2022
7.0.0-preview.3.22178.4 12,000 4/13/2022
7.0.0-preview.2.22153.2 3,223 3/14/2022
7.0.0-preview.1.22109.13 26,163 2/17/2022
6.0.36 333,318 11/12/2024
6.0.35 139,048 10/8/2024
6.0.33 185,355 8/13/2024
6.0.32 160,925 7/9/2024
6.0.31 217,419 5/28/2024
6.0.30 115,256 5/14/2024
6.0.29 269,627 4/9/2024
6.0.28 391,564 3/12/2024
6.0.27 251,251 2/13/2024
6.0.26 646,868 1/9/2024
6.0.25 816,791 11/14/2023
6.0.24 246,408 10/24/2023
6.0.23 204,129 10/10/2023
6.0.22 213,875 9/12/2023
6.0.21 552,652 8/8/2023
6.0.20 396,549 7/11/2023
6.0.19 191,794 6/22/2023
6.0.18 241,353 6/13/2023
6.0.16 1,186,282 4/11/2023
6.0.15 518,600 3/14/2023
6.0.14 780,639 2/14/2023
6.0.13 727,882 1/10/2023
6.0.12 1,080,041 12/13/2022
6.0.11 1,640,883 11/7/2022
6.0.10 1,415,187 10/11/2022
6.0.9 1,405,009 9/13/2022
6.0.8 1,601,501 8/9/2022
6.0.7 1,779,987 7/12/2022
6.0.6 1,359,418 6/14/2022
6.0.5 2,735,968 5/10/2022
6.0.4 2,129,455 4/11/2022
6.0.3 2,951,354 3/8/2022
6.0.2 1,372,180 2/8/2022
6.0.1 3,219,527 12/14/2021
6.0.0 12,927,196 11/8/2021
6.0.0-rc.2.21480.10 131,595 10/12/2021
6.0.0-rc.1.21452.15 89,401 9/14/2021
6.0.0-preview.7.21378.6 146,631 8/10/2021
6.0.0-preview.6.21355.2 296,284 7/14/2021
6.0.0-preview.5.21301.17 58,196 6/15/2021
6.0.0-preview.4.21253.5 55,663 5/24/2021
6.0.0-preview.3.21201.13 212,332 4/8/2021
6.0.0-preview.2.21154.6 3,249 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 27,027 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 442,134 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 137,484 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 137,652 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 231,467 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 322,459 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 644,955 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 453,499 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 664,717 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 883,616 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 735,474 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,171,998 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 724,643 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,199,788 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 961,213 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 1,627,635 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 998,631 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 507,934 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 6,899,764 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 540,200 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 179,625 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 35,554 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 10,996 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 13,589 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 2,389 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 13,374 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 10,593 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 19,729 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20120.4 15,441 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 2,331,142 12/13/2022
3.1.31 119,035 11/8/2022
3.1.30 95,336 10/11/2022
3.1.29 225,003 9/13/2022
3.1.28 167,310 8/9/2022
3.1.27 101,166 7/12/2022
3.1.26 98,986 6/14/2022
3.1.25 368,949 5/10/2022
3.1.24 93,697 4/11/2022
3.1.23 108,750 3/8/2022
3.1.22 213,581 12/14/2021
3.1.21 1,500,671 11/7/2021
3.1.20 169,156 10/11/2021
3.1.19 160,487 9/14/2021
3.1.18 377,644 8/10/2021
3.1.17 194,120 7/13/2021
3.1.16 188,304 6/8/2021
3.1.15 159,234 5/11/2021
3.1.14 1,437,541 4/6/2021
3.1.13 458,088 3/9/2021
3.1.12 422,862 2/9/2021
3.1.11 208,429 1/12/2021
3.1.10 1,250,031 11/9/2020
3.1.9 631,442 10/13/2020
3.1.8 3,382,892 9/8/2020
3.1.7 747,344 8/11/2020
3.1.6 4,955,388 7/14/2020
3.1.5 1,267,526 6/9/2020
3.1.4 2,263,471 5/12/2020
3.1.3 8,084,605 3/24/2020
3.1.2 2,692,409 2/18/2020
3.1.1 935,477 1/14/2020
3.1.0 3,968,138 12/3/2019
3.1.0-preview3.19553.2 2,273,929 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 180,422 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 139,835 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 91,486 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 89,864 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 84,978 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 1,945,891 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 106,325 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 238,983 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 28,965 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 33,660 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 155,053 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 46,916 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 77,470 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 79,675 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 36,774 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
0.8.0-preview1-20181126.4 12,535 2/5/2019 0.8.0-preview1-20181126.4 is deprecated because it is no longer maintained.
0.7.0 826,312 11/15/2018 0.7.0 is deprecated because it is no longer maintained.
0.6.0 141,847 10/2/2018 0.6.0 is deprecated because it is no longer maintained.
0.5.1 142,053 7/27/2018 0.5.1 is deprecated because it is no longer maintained.
0.5.0 94,538 7/25/2018 0.5.0 is deprecated because it is no longer maintained.