|
1 | 1 | # Make HTTP requests from inside WASM in C# / .Net
|
2 | 2 |
|
3 |
| -This devcontainer is configured to provide you a DotNet SDK 8.0 and latest version of Node.js. |
| 3 | +This devcontainer is configured to provide you a DotNet SDK 9.0 (with installed workloads `wasm-tools` and `wasm-experimental`) |
| 4 | +and the latest version of Node.js. |
4 | 5 |
|
5 | 6 | [](https://codespaces.new/wasm-outbound-http-examples/dotnet)
|
6 | 7 |
|
7 |
| -1. [Browser demo](https://wasm-outbound-http-examples.github.io/dotnet/). |
| 8 | +### Browser / JS runtime Examples |
8 | 9 |
|
| 10 | +<table> |
| 11 | +<tr> |
| 12 | +<th>#</th> |
| 13 | +<th>Example</th> |
| 14 | +<th>Description</th> |
| 15 | +<th>Browser demo</th> |
| 16 | +</tr> |
| 17 | +<tr> |
| 18 | +<td>1</td> |
| 19 | +<td> |
9 | 20 |
|
10 |
| -2. Example in `browser-and-node/browser` directory allows you to build a browser example (same as demo) using standard library's `System.Net.Http.HttpClient` yourself and experiment with it. |
11 |
| - For details, see its [README](browser-and-node/browser/README.md). |
| 21 | +[System.Net.Http.HttpClient for browser](browser-and-node/browser/README.md) |
12 | 22 |
|
| 23 | +</td> |
| 24 | +<td> |
13 | 25 |
|
14 |
| -3. Example in `browser-and-node/node` directory allows you to build a Node.js / Bun / Deno example using standard `System.Net.Http.HttpClient` yourself and experiment with it. |
15 |
| - For details, see its [README](browser-and-node/node/README.md). |
| 26 | +Use `HttpClient` from standard library to send HTTP requests from web browser. |
| 27 | + |
| 28 | +</td> |
| 29 | +<td> |
| 30 | + |
| 31 | +[Demo](https://wasm-outbound-http-examples.github.io/dotnet/) |
| 32 | + |
| 33 | +</td> |
| 34 | +</tr> |
| 35 | +<tr> |
| 36 | +<td>2</td> |
| 37 | +<td> |
| 38 | + |
| 39 | +[System.Net.Http.HttpClient for Node / Bun / Deno](browser-and-node/node/README.md) |
| 40 | + |
| 41 | +</td> |
| 42 | +<td> |
| 43 | + |
| 44 | +Use `HttpClient` from standard library to send HTTP requests from standalone / server-side JS runtime. |
| 45 | + |
| 46 | +</td> |
| 47 | +<td> |
| 48 | +</td> |
| 49 | +</tr> |
| 50 | +<tr> |
| 51 | +<td>3</td> |
| 52 | +<td> |
| 53 | + |
| 54 | +[RestSharp for browser](browser-and-node-RestSharp/browser/README.md) |
| 55 | + |
| 56 | +</td> |
| 57 | +<td> |
| 58 | + |
| 59 | +Use RestSharp library to send HTTP requests from web browser. |
| 60 | + |
| 61 | +</td> |
| 62 | +<td> |
| 63 | + |
| 64 | +[Demo](https://wasm-outbound-http-examples.github.io/dotnet/restsharp/) |
| 65 | + |
| 66 | +</td> |
| 67 | +</tr> |
| 68 | +<tr> |
| 69 | +<td>4</td> |
| 70 | +<td> |
| 71 | + |
| 72 | +[RestSharp for Node / Bun / Deno](browser-and-node-RestSharp/node/README.md) |
| 73 | + |
| 74 | +</td> |
| 75 | +<td> |
| 76 | + |
| 77 | +Use RestSharp library to send HTTP requests from standalone / server-side JS runtime. |
| 78 | + |
| 79 | +</td> |
| 80 | +<td> |
| 81 | +</td> |
| 82 | +</tr> |
| 83 | +</table> |
16 | 84 |
|
17 | 85 | <sub>Created for (wannabe-awesome) [list](https://github.com/vasilev/HTTP-request-from-inside-WASM)</sub>
|
0 commit comments