A repo for testing the agent
This repository contains a Visual Studio solution with a Blazor WebAssembly application that compiles C# code into WebAssembly and displays it in a web browser.
- .NET 8.0 SDK or later
- Visual Studio 2022 or Visual Studio Code (optional, can use command line)
To build the entire solution:
dotnet buildTo run the WebAssembly application:
cd WebAssemblyApp
dotnet runThe application will be available at http://localhost:5110 (or another port if 5110 is in use).
TestAgentRepo.sln- Visual Studio solution fileWebAssemblyApp/- Blazor WebAssembly projectWebAssemblyApp.csproj- Project filewwwroot/- Static web assets including HTML pagePages/- Razor pages and componentsProgram.cs- Application entry point
- The C# code in the WebAssembly project gets compiled to WebAssembly (.wasm files)
- The HTML page (
wwwroot/index.html) loads the Blazor WebAssembly runtime - The runtime executes the WebAssembly code in the browser
- Blazor provides the bridge between WebAssembly and the DOM for interactive web UI