Building Single Page Applications with Blazor Routing
Single Page Applications
SPA applications update specific portions of the user interface without requiring full page reloads. These applications leverage JavaScript to manipulate the browser's Document Object Model (DOM), which typically consists of fixed UI elements and placeholder containers that get populated based on user interactions. A ke ...
Posted on Fri, 28 Aug 2026 16:23:49 +0000 by MrBiz
Using MediaInfo.js in Vue to Detect Audio Tracks in Video Files
MediaInfo is a tool that reads and analyzes audio and video files, extracting metadata such as video details, audio tracks, subtitles, and more. It can also be used on the web through mediainfo.js, which leverages WebAssembly technology to provide similar functionality. This article focuses on entegrating mediainfo.js into a Vue framework for d ...
Posted on Tue, 25 Aug 2026 16:25:51 +0000 by NewPHP_Coder
Running Python-Based Snake Game in the Browser with Pygbag and WebAssembly
WebAssembly (Wasm) enables near-native performance for applications running in web browsers. Combined with tools like pygbag, it allows Python code—specifically games built with Pygame—to run directly in the browser without requirring users to install Python locally.
Why Pygbag?
While alternatives like Pyodide exist, they often lack support for ...
Posted on Sun, 23 Aug 2026 16:47:11 +0000 by ClyssaN
Blazor JavaScript Interop: Bridging .NET and Browser APIs
Calling JavaScript from C#
Blazor WebAssembly runs inside the browser, but sometimes you need to reach beyond the sandbox and use native browser features—localStorage, geolocation, or even a third-party map. The runtime exposes IJSRuntime for exactly that purpose.
Creating a Facade Function
Start with a plain JavaScript function that will act a ...
Posted on Fri, 10 Jul 2026 18:08:33 +0000 by ReD_BeReT
Practical Guide to Qt6 Web Application Development
Qt6 introduces significant enhancements for web application development, leveraging the power of C++ with modern web technologies. The core components include:
QWebEngine: A Chromium-based engine for rendering web content with full support for HTML5, CSS3, and JavaScript.
QWebChannel: Facilitates seamless communication between C++ objects and ...
Posted on Sat, 16 May 2026 02:13:02 +0000 by bytes
Blazor Components and Application Structure
Understanding Blazor Components Every Razor file in Blazor represents a component. That's the fundamental concept! A Blazor Razor file contains markup and can include C# code within an @code section. Each page in our application is essentially a component, and these components can be composed by nesting other components within them.
Any class t ...
Posted on Fri, 15 May 2026 12:39:38 +0000 by MHardeman25
Calling C/C++/Go Code Directly in Web Pages Using WebAssembly
When building a rosbag visualization tool, it was discovered that a static web frontend could parse rosbag files without any backend API requests, prompting investigation into WebAssembly as the underlying technology.
WebAssembly Basics
WebAssembly (abbreviated WASM) is a low-level, efficient binary instruction format built for browser-based ex ...
Posted on Fri, 15 May 2026 09:44:12 +0000 by skoobi
Solving JavaScript Precision Issues with Rust WebAssembly for Large Number Calculations
Using Rust and WebAssembly to Handle High-Precision Arithmetic
When dealing with large numbers in JavaScript, floating-point precision limitations often lead to unexpected results. To overcome these constraints, developers can leverage Rust compiled to WebAssembly (WASM) for accurate calculations.
Setting Up the Project
Begin by initializing a ...
Posted on Wed, 13 May 2026 11:18:10 +0000 by thomas777neo
Implementing JavaScript and TypeScript Interoperability in Blazor WebAssembly
Setting Up the Project
Create a new Blazor WebAssembly App and name it BlazorTSInterop. Select .NET 6.0 client-only with no authentication and no PWA support. Run the application in hot reload mode with CTRL+F5.
The template includes counter and fetch data pages that won't be needed for this demonstration. We'll work exclusively with the home p ...
Posted on Mon, 11 May 2026 09:03:49 +0000 by eva21
Building and Analyzing a Hosted Blazor WebAssembly Solution
Scaffolding the Project with the .NET CLITo create a new hosted Blazor WebAssembly project using the command line, open a terminal and navigate to your desired output directory. Execute the following command, which specifies the blazorwasm template, includes the --hosted flag to generate an accompanying ASP.NET Core server project, and outputs ...
Posted on Sun, 10 May 2026 14:36:55 +0000 by perpetualshaun