
Microsoft’s .NET 7 software development platform, due as a production release in November, improves support for running .NET on WebAssembly in JavaScript-based apps.
Developers can use the expanded WebAssembly support in .NET 7 to reuse .NET libraries from JavaScript or build new .NET-based apps. Featured as part of Microsoft’s effort is a rich JavaScript interop mechanism, according to a Microsoft blog post on September 26.
Microsoft hopes the new capabilities will spur developers to build better integration between the JavaScript ecosystem and .NET. Developers can use existing JavaScript libraries within existing frameworks such as Blazor or Uno, or use them directly. While WebAssembly backing in .NET 7 is the basis for Blazor WebAssembly apps, this support also can be used independently of Blazor.
Current JavaScript apps can use .NET’s expanded WebAssembly support to reuse .NET libraries from JavaScript or to build novel .NET-based apps and frameworks. Blazor WebAssembly apps can use the JavaScript interop mechanism to optimize interactions with JavaScript and the web platform.
Microsoft’s blog post details an example of the workings of JavaScript interop in .NET 7, creating a C# port of TodoMVC, a tool for selecting UI frameworks, based on the vanilla ECMAScript 6 version of JavaScript.
.NET 7 currently is in a release candidate stage of development. Microsoft noted that before .NET 7, developers performing low-level JavaScript interop in Blazor WebAssembly may have used undocumented APIs grouped in the MONO
and BINDING
JavaScript namespaces. While these APIs are still in .NET 7 for backward compatibility, developers should consider them deprecated.
Source: https://www.infoworld.com/article/3674862/microsoft-net-7-bolsters-webassembly-support.html
Don’t hesitate to contact us:
Geetika Technosoft Pvt Ltd
E-mail: crm@gtechnosoft.in
T: 1800 212 6124
#GeetikaTechnosoft
#DasITCart
#DITC
#ManagedITService
#FieldITService
#ITExpertsConsultation
#GloablITServiceProvider
#Quality
#Trustworthiness
#InfoWorld
More Stories
Telecom companies want OTT players to pay for 5G infrastructure, plan to go to DoT and TRAI
Google Maps to expand ‘Immersive View’ to routes: What it means, and the cities getting it
Google’s ChatGPT rival Bard gets new features, drops waitlist in 180 countries and more