/dotnet

Make HTTP requests from inside WASM in C#. Demo and devcontainer.

Primary LanguageHTMLMIT LicenseMIT

Make HTTP requests from inside WASM in C# / .Net

This devcontainer is configured to provide you a DotNet SDK 9.0 (with installed workloads wasm-tools and wasm-experimental) and the latest version of Node.js.

Open in GitHub Codespaces

Browser / JS runtime Examples

# Example Description Browser demo
1

System.Net.Http.HttpClient for browser

Use HttpClient from standard library to send HTTP requests from web browser.

Demo

2

System.Net.Http.HttpClient for Node / Bun / Deno

Use HttpClient from standard library to send HTTP requests from standalone / server-side JS runtime.

3

RestSharp for browser

Use RestSharp library to send HTTP requests from web browser.

Demo

4

RestSharp for Node / Bun / Deno

Use RestSharp library to send HTTP requests from standalone / server-side JS runtime.

Created for (wannabe-awesome) list