This repository contains the demo code used in the presentation. Here's a rundown of each project and what they do. Note that all of the projects are targeting .NET 5.0.
This is an ASP.NET app that is a vehicle for HTML pages that call a .wasm component. To build the code in collatz.c
, I used WebAssembly Explorer.
This is a class library that contains an implementation of the Collatz Conjecture. This project is used in other projects within the solution to perform calculations and create data.
Contains tests for BlazingTheWeb.Core
. All of the test projects use NUnit.
This is a console app that hosts a gRPC service to run the Collatz Conjecture.
This is a class library that houses Razor components that are used in Blazor Server-Side and WebAssembly projects. If you want to run the SequenceGrpc
component from the host applications, make sure the BlazingTheWeb.ServiceHost
project is up and running.
This contains tests for BlazingTheWeb.WebComponents
. bunit is used to drive component testing. I used to use Microsoft.AspNetCore.Components.Testing, but that hasn't been updated in a while, and it's unclear if it will ever become production-ready.
This is a server-side-based Blazor application that uses the components in BlazingTheWeb.WebComponents
.
This is a WebAssembly-based Blazor application that uses the components in BlazingTheWeb.WebComponents
.
This is a console app that drives BlazingTheWeb.WebAssemblyHost
from the browser. This requires the necessary Chrome driver from Selenium installed on your machine correctly for this to work.
This is a console app that uses WebAssembly for .NET to translate the .wasm file from BlazingTheWeb.WebAssembly
to a .NET assembly and invoke its' methods.