WebAssemblySharp 0.1.14-alpha

This is a prerelease version of WebAssemblySharp.
dotnet add package WebAssemblySharp --version 0.1.14-alpha
                    
NuGet\Install-Package WebAssemblySharp -Version 0.1.14-alpha
                    
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="WebAssemblySharp" Version="0.1.14-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WebAssemblySharp" Version="0.1.14-alpha" />
                    
Directory.Packages.props
<PackageReference Include="WebAssemblySharp" />
                    
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 WebAssemblySharp --version 0.1.14-alpha
                    
#r "nuget: WebAssemblySharp, 0.1.14-alpha"
                    
#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=WebAssemblySharp&version=0.1.14-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=WebAssemblySharp&version=0.1.14-alpha&prerelease
                    
Install as a Cake Tool

WebAssemblySharp

WebAssemblySharp is a WebAssembly runtime for C#, enabling the execution of WebAssembly modules within C# applications.

Features

  • Wasm Module Execution: Load and execute WebAssembly modules within C# applications.

Getting Started

See the root README.md for full installation and usage instructions.

Example

WebAssemblyModule module = await WebAssemblyRuntimeBuilder.CreateSingleModuleRuntime(
    typeof(WebAssemblyExamples).Assembly.GetManifestResourceStream("WebAssemblySharpExampleData.Programms.add.wasm"));
int result = await module.Call<int, int, int>("add", 1, 2);

For more details and advanced usage, see the README.md.

Product Compatible and additional computed target framework versions.
.NET 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.
  • net9.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
0.1.14-alpha 111 6/18/2025
0.1.13-alpha 109 6/18/2025
0.1.12-alpha 110 6/17/2025
0.1.11-alpha 111 6/17/2025
0.1.10-alpha 110 6/17/2025
0.1.8-alpha 112 6/17/2025
0.1.7-alpha 107 6/17/2025
0.1.6-alpha 118 6/17/2025
0.1.5-alpha 109 6/17/2025
0.1.4-alpha 108 6/17/2025
0.1.3-alpha 113 6/17/2025
0.1.2-alpha 235 6/9/2025
0.1.1-alpha 239 6/9/2025