Microsoft.JSInterop 5.0.0

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

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

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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.  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.
  • net5.0

    • No dependencies.

NuGet packages (228)

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/b0f34d51fccc69fd334253924abd8d6853fad7aa

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/b0f34d51fccc69fd334253924abd8d6853fad7aa

Microsoft.AspNetCore.Components.WebView.Maui

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

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

Stimulsoft.Reports.Blazor

Stimulsoft Reports.BLAZOR is a reporting tool designed to create and render reports in Web using .NET 6, .NET 7, .NET 8 and native Blazor report engine, supports Blazor Server and Blazor WebAssembly technologies. Stimulsoft Reports.Web will provide the complete cycle of report designing, from creating report templates and ending with showing them in a web browser. All this can be done without closing a web browser. Stimulsoft Reports.Web is the reporting tool that allows you to edit reports directly in Web.

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
lofcz/LLMTornado
The .NET library to build AI agents with 25+ built-in connectors.
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
textadventures/quest
Create text adventure games
elsa-workflows/elsa-studio
A modular, extensible dashboard application framework
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.
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 99,675 11/11/2025
10.0.0-rc.2.25502.107 46,341 10/14/2025
10.0.0-rc.1.25451.107 47,822 9/9/2025
10.0.0-preview.7.25380.108 9,174 8/12/2025
10.0.0-preview.6.25358.103 5,160 7/15/2025
10.0.0-preview.5.25277.114 6,436 6/6/2025
10.0.0-preview.4.25258.110 5,936 5/12/2025
10.0.0-preview.3.25172.1 4,796 4/10/2025
10.0.0-preview.2.25164.1 1,743 3/18/2025
10.0.0-preview.1.25120.3 1,987 2/25/2025
9.0.11 47,399 11/11/2025
9.0.10 400,525 10/14/2025
9.0.9 705,316 9/9/2025
9.0.8 791,894 8/5/2025
9.0.7 657,223 7/8/2025
9.0.6 725,724 6/10/2025
9.0.5 2,055,079 5/13/2025
9.0.4 1,405,815 4/8/2025
9.0.3 883,824 3/11/2025
9.0.2 1,195,648 2/11/2025
9.0.1 2,635,918 1/14/2025
9.0.0 4,215,199 11/12/2024
9.0.0-rc.2.24474.3 68,008 10/8/2024
9.0.0-rc.1.24452.1 66,461 9/10/2024
9.0.0-preview.7.24406.2 31,451 8/13/2024
9.0.0-preview.6.24328.4 18,641 7/9/2024
9.0.0-preview.5.24306.11 21,853 6/11/2024
9.0.0-preview.4.24267.6 4,272 5/21/2024
9.0.0-preview.3.24172.13 44,006 4/11/2024
9.0.0-preview.2.24128.4 3,017 3/12/2024
9.0.0-preview.1.24081.5 24,231 2/13/2024
8.0.22 36,593 11/11/2025
8.0.21 157,954 10/14/2025
8.0.20 281,770 9/9/2025
8.0.19 407,340 8/5/2025
8.0.18 424,739 7/8/2025
8.0.17 455,254 6/10/2025
8.0.16 507,786 5/13/2025
8.0.15 752,686 4/8/2025
8.0.14 777,005 3/11/2025
8.0.13 843,069 2/11/2025
8.0.12 1,988,208 1/14/2025
8.0.11 3,643,517 11/12/2024
8.0.10 3,999,692 10/8/2024
8.0.8 4,145,742 8/13/2024
8.0.7 2,666,919 7/9/2024
8.0.6 4,514,624 5/28/2024
8.0.5 1,383,657 5/14/2024
8.0.4 2,743,154 4/9/2024
8.0.3 3,483,552 3/12/2024
8.0.2 4,159,372 2/13/2024
8.0.1 2,879,449 1/9/2024
8.0.0 14,726,519 11/14/2023
8.0.0-rc.2.23480.2 251,182 10/10/2023
8.0.0-rc.1.23421.29 64,599 9/12/2023
8.0.0-preview.7.23375.9 102,548 8/8/2023
8.0.0-preview.6.23329.11 31,707 7/11/2023
8.0.0-preview.5.23302.2 10,771 6/13/2023
8.0.0-preview.4.23260.4 40,225 5/16/2023
8.0.0-preview.3.23177.8 6,354 4/11/2023
8.0.0-preview.2.23153.2 5,511 3/14/2023
8.0.0-preview.1.23112.2 6,069 2/21/2023
7.0.20 574,807 5/28/2024
7.0.19 176,321 5/14/2024
7.0.18 193,741 4/9/2024
7.0.17 264,865 3/12/2024
7.0.16 275,523 2/13/2024
7.0.15 380,031 1/9/2024
7.0.14 995,293 11/14/2023
7.0.13 501,887 10/24/2023
7.0.12 549,569 10/10/2023
7.0.11 691,037 9/12/2023
7.0.10 1,036,302 8/8/2023
7.0.9 886,120 7/11/2023
7.0.8 382,383 6/22/2023
7.0.7 683,428 6/13/2023
7.0.5 2,868,721 4/11/2023
7.0.4 1,228,225 3/14/2023
7.0.3 859,052 2/14/2023
7.0.2 1,111,775 1/10/2023
7.0.1 5,106,079 12/13/2022
7.0.0 8,759,254 11/7/2022
7.0.0-rc.2.22476.2 52,726 10/11/2022
7.0.0-rc.1.22427.2 88,204 9/14/2022
7.0.0-preview.7.22376.6 130,137 8/9/2022
7.0.0-preview.6.22330.3 5,078 7/12/2022
7.0.0-preview.5.22303.8 3,165 6/14/2022
7.0.0-preview.4.22251.1 92,939 5/10/2022
7.0.0-preview.3.22178.4 12,079 4/13/2022
7.0.0-preview.2.22153.2 3,286 3/14/2022
7.0.0-preview.1.22109.13 26,527 2/17/2022
6.0.36 356,849 11/12/2024
6.0.35 140,411 10/8/2024
6.0.33 188,552 8/13/2024
6.0.32 161,804 7/9/2024
6.0.31 221,594 5/28/2024
6.0.30 116,548 5/14/2024
6.0.29 278,199 4/9/2024
6.0.28 394,960 3/12/2024
6.0.27 253,041 2/13/2024
6.0.26 659,278 1/9/2024
6.0.25 831,509 11/14/2023
6.0.24 248,215 10/24/2023
6.0.23 205,706 10/10/2023
6.0.22 214,571 9/12/2023
6.0.21 554,557 8/8/2023
6.0.20 399,958 7/11/2023
6.0.19 192,661 6/22/2023
6.0.18 242,905 6/13/2023
6.0.16 1,193,236 4/11/2023
6.0.15 523,159 3/14/2023
6.0.14 791,972 2/14/2023
6.0.13 735,934 1/10/2023
6.0.12 1,086,611 12/13/2022
6.0.11 1,650,667 11/7/2022
6.0.10 1,421,236 10/11/2022
6.0.9 1,412,240 9/13/2022
6.0.8 1,610,960 8/9/2022
6.0.7 1,788,863 7/12/2022
6.0.6 1,370,058 6/14/2022
6.0.5 2,743,514 5/10/2022
6.0.4 2,162,289 4/11/2022
6.0.3 2,990,397 3/8/2022
6.0.2 1,383,811 2/8/2022
6.0.1 3,241,808 12/14/2021
6.0.0 13,029,948 11/8/2021
6.0.0-rc.2.21480.10 131,793 10/12/2021
6.0.0-rc.1.21452.15 89,573 9/14/2021
6.0.0-preview.7.21378.6 148,179 8/10/2021
6.0.0-preview.6.21355.2 296,955 7/14/2021
6.0.0-preview.5.21301.17 58,505 6/15/2021
6.0.0-preview.4.21253.5 56,068 5/24/2021
6.0.0-preview.3.21201.13 213,521 4/8/2021
6.0.0-preview.2.21154.6 3,287 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,322 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 445,625 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 137,592 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 137,869 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 234,045 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 323,308 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 664,892 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 455,133 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 665,802 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 901,034 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 740,535 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 1,184,026 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 729,532 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 3,223,572 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 966,874 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 1,639,858 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 1,003,887 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 508,841 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 6,939,885 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 543,808 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 180,895 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,712 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 11,056 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,634 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,432 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,444 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,676 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,789 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,484 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 2,401,128 12/13/2022
3.1.31 119,544 11/8/2022
3.1.30 95,412 10/11/2022
3.1.29 225,248 9/13/2022
3.1.28 168,458 8/9/2022
3.1.27 101,194 7/12/2022
3.1.26 99,018 6/14/2022
3.1.25 369,618 5/10/2022
3.1.24 93,729 4/11/2022
3.1.23 109,325 3/8/2022
3.1.22 213,923 12/14/2021
3.1.21 1,504,039 11/7/2021
3.1.20 171,241 10/11/2021
3.1.19 162,364 9/14/2021
3.1.18 383,226 8/10/2021
3.1.17 194,424 7/13/2021
3.1.16 189,194 6/8/2021
3.1.15 160,611 5/11/2021
3.1.14 1,448,086 4/6/2021
3.1.13 458,543 3/9/2021
3.1.12 424,961 2/9/2021
3.1.11 208,909 1/12/2021
3.1.10 1,254,633 11/9/2020
3.1.9 632,277 10/13/2020
3.1.8 3,421,739 9/8/2020
3.1.7 750,868 8/11/2020
3.1.6 4,993,620 7/14/2020
3.1.5 1,284,854 6/9/2020
3.1.4 2,275,239 5/12/2020
3.1.3 8,233,984 3/24/2020
3.1.2 2,713,888 2/18/2020
3.1.1 943,166 1/14/2020
3.1.0 4,013,268 12/3/2019
3.1.0-preview3.19553.2 2,311,296 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 182,029 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 143,060 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 91,701 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 89,899 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 85,018 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 1,965,673 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 107,885 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 239,360 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 29,030 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 33,884 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 158,253 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 46,984 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 77,589 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 79,739 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 36,830 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
0.8.0-preview1-20181126.4 12,566 2/5/2019 0.8.0-preview1-20181126.4 is deprecated because it is no longer maintained.
0.7.0 828,264 11/15/2018 0.7.0 is deprecated because it is no longer maintained.
0.6.0 141,970 10/2/2018 0.6.0 is deprecated because it is no longer maintained.
0.5.1 142,128 7/27/2018 0.5.1 is deprecated because it is no longer maintained.
0.5.0 94,723 7/25/2018 0.5.0 is deprecated because it is no longer maintained.