user@runtime:~/blog$ grep -l "interop" posts/*.md

interop

5 posts tagged with interop.

2026-04-29 9m

Node.js Native Addons in C#: Replacing C++ and node-gyp with .NET Native AOT

The C# Dev Kit team replaced their C++ Node.js addon with C# compiled via .NET Native AOT, eliminating Python and node-gyp from their build chain. Here's how N-API, UnmanagedCallersOnly, and LibraryImport make it work.

2026-04-23 9m

Writing Node.js Native Addons in C# with .NET Native AOT

Microsoft's C# Dev Kit team replaced their C++ Node.js addons with C# and Native AOT, eliminating Python dependencies and simplifying their build pipeline. Here is how N-API, UnmanagedCallersOnly, and a custom DLL import resolver make it work.

2026-03-29 8m

Running .NET in Web Workers: The New dotnet new webworker Template

How to use the new first-party Web Worker project template in .NET 11 Preview 2 to offload CPU-intensive work from the browser's main thread, keeping your Blazor WebAssembly UI responsive.

2025-12-16 4m

Blazor Custom Elements: Using Blazor Components Outside Blazor

Registering Blazor components as web custom elements for use in non-Blazor applications.

2025-11-18 4m

JavaScript Interop in Blazor: When and How to Call JS from .NET

Practical patterns for calling JavaScript from Blazor and .NET from JavaScript.