News

Open Source Uno Platform Supports VS Code After Editor Gets WebAssembly Debugging

Uno Platform is previewing support for the Visual Studio Code editor after a recent Blazor WebAssembly 3.2 preview added debugging to the problematic project.

Although the server-side component of Blazor -- which lets .NET-centric coders create web apps with C# instead of JavaScript -- shipped with .NET Core 3.0 last September, the client-side counterpart, Blazor WebAssembly, wasn't ready because of problems the dev team encountered with the new technology.

So Blazor WebAssembly was targeted for a May debut, and Microsoft shipped the third preview of Blazor WebAssembly 3.2 last month, adding debugging support in Visual Studio and VS Code.

With that functionality in place, Uno Platform yesterday (April 15) announced support for VS Code.

"We are happy to announce the preview of Uno Platform support for Visual Studio Code, following the progress made by the .NET team on the Visual Studio Code WebAssembly debugger integration," Uno Platform said.

The open-source Uno Platform lets coders use C# and XAML to create single-source native mobile, desktop and WebAssembly apps. WebAssembly is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C#, C/C++ and Rust with a compilation target so they can run on the web.

Yesterday, Uno Platform published guidance on leveraging the new WebAssembly debugging capabilities in VS Code. "This blog will walk you through the set-up process for building and debugging WebAssembly apps with Uno wherever Visual Studio Code runs -- Windows, Linux or macOS. Also, it is important to note that by using Visual Studio Code, you will be able to create or edit only your Web (WebAssembly) Uno Platform projects."

Debugging a Uno Sample WebAssembly App in VS Code
[Click on image for larger view.] Debugging a Uno Sample WebAssembly App in VS Code (source: Uno Platform).

The multi-step process requires Microsoft's C# extension and JavaScript Debugger (Nightly) extension in VS Code, along with some configuration and tweaking.

Uno Platform has been active on the WebAssembly front, earlier this year claiming an industry first by announcing the capability to build WebAssembly apps in the Visual Studio IDE on Windows using Ahead of Time (AOT) compilation.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events