Lëshimi i platformës OpenSilver 2.0, e cila vazhdon zhvillimin e teknologjisë Silverlight

Version 2.0 of the OpenSilver project has been released, continuing the development of the Silverlight platform and enabling the creation of interactive web applications using C#, XAML, and .NET technologies. Applications compiled with OpenSilver can run in any desktop and mobile browsers that support WebAssembly, but compilation is currently only possible on Windows using the Visual Studio environment. The project code is written in C# and is distributed under the MIT license.

Në vitin 2021, kompania Microsoft ndaloi zhvillimin dhe mbështetje të platformës Silverlight për të përmirësuar përdorimin e teknologjive standarde të Web-it. Fillimisht, projekti OpenSilver kishte si qëllim të ofronte mjete për të zgjatur jetën e aplikacioneve ekzistuese Silverlight në kushte të ndalimit të mbështetjes nga kompania Microsoft dhe ndalimin e mbështetjes së plugin-eve në shfletues. Në OpenSilver mbështeten të gjitha funksionalitetet kryesore të motorit Silverlight, duke përfshirë mbështetje të plotë për gjuhët C# dhe XAML, si dhe implementimin e një pjesë të madhe të API-së së platformës, mjaftueshëm për përdorimin e librarive të tilla si Telerik UI, WCF RIA Services, PRISM dhe MEF.

Në formatin aktual, OpenSilver ka kaluar përtej një shtrese për zgjatjen e jetës së Silverlight dhe mund të konsiderohet si një platformë e pavarur për krijimin e aplikacioneve të reja. Për shembull, projekti zhvillon një mjedis zhvillimi (shtesë për Visual Studio), siguron mbështetje për versione të reja të gjuhës C# dhe platformës .NET, dhe ofron kompatibilitet me bibliotekat në gjuhën JavaScript.

The foundation of OpenSilver is based on the code of open projects Mono (mono-wasm) and Microsoft Blazor (part of ASP.NET Core), and for execution in the browser, applications are compiled into intermediate WebAssembly code. OpenSilver evolves alongside the CSHTML5 project, which allows compiling C#/XAML/.NET applications into a JavaScript representation suitable for browser execution, expanding its codebase with the capabilities to compile C#/XAML/.NET into WebAssembly instead of JavaScript.

Key improvements in OpenSilver 2.0:

  • Support for VB.NET has been added for developing web applications using the Visual Basic programming language for logic definition and XAML markup language for the interface.
  • Integration with Blazor, React, and Angular frameworks has been provided. The 'XAML for Blazor' component has been added for integrating OpenSilver into existing Blazor projects.
  • A Live XAML Preview feature has been added to preview the developing interface as development progresses, without the need to run the application.
    Lëshimi i platformës OpenSilver 2.0, e cila vazhdon zhvillimin e teknologjisë Silverlight
  • Business application templates have been suggested to simplify the development of web applications for enterprises, thanks to the use of RIA services (Rich Internet Applications Services), which automatically generate objects for execution on the client side. server for execution on the client side.
    Lëshimi i platformës OpenSilver 2.0, e cila vazhdon zhvillimin e teknologjisë Silverlight
  • SampleCRM has been added — an example of an open application that implements a working CRM system for organizing interaction with clients in the enterprise and ensuring the operation of the sales department.
    Lëshimi i platformës OpenSilver 2.0, e cila vazhdon zhvillimin e teknologjisë Silverlight
  • The capability to create custom interface layouts and use separately supplied sets of interface elements, such as Telerik UI for Silverlight, has been added.
    Lëshimi i platformës OpenSilver 2.0, e cila vazhdon zhvillimin e teknologjisë Silverlight
  • The performance of the simulator has been significantly increased (up to 10 times) and debugging capabilities have been expanded.
    Lëshimi i platformës OpenSilver 2.0, e cila vazhdon zhvillimin e teknologjisë Silverlight

Në planet e ardhshme përmendet ofrimi i një mjedisi vizual projektimi, i cili lejon krijimin e ndërfaqeve XAML në modalitetin WYSIWYG, mbështetje për WPF, LightSwitch dhe F#, përmirësimi i integrimit me redaktorin e kodit VS Code. Në bazë të OpenSilver, projekti gjithashtu po zhvillon një kornizë XR# për përdorimin e .NET dhe XAML gjatë zhvillimit të aplikacioneve 3D dhe sistemeve të realitetit të shtuar ose virtual.

Burimi: opennet.ru

Blini hosting tĂ« besueshĂ«m pĂ«r faqe interneti me mbrojtje nga DDoS, serverĂ« VPS VDS đŸ”„ Blini hosting tĂ« besueshĂ«m pĂ«r faqe interneti me mbrojtje nga DDoS, serverĂ« VPS VDS | ProHoster