Contents
How do I migrate from Silverlight to HTML5?
Therefore, the general idea for migrating a Silverlight/WPF application into cross-platform HTML5 is the following:
- You start by creating a new empty “CSHTML5 Project”,
- You then copy all your C#/XAML files from your Silverlight/WPF project into the new CSHTML5 project,
How to migrate from Silverlight?
There is no straight-forward migration path from Silverlight to any technology, despite probably to WPF to a degree, but as you mentioned that you want to run in the browser, probably the best way today is to use Blazor, which just got its first official release, and Microsoft is heavily investing in it right now.
What is Silverlight in HTML?
Silverlight provides an HTML page class that gives you access to various pages of the features such as the Script objects. Let us have a look at a simple example in which we have a simple script that creates an object with a few attributes. Some of them are just values and a couple of them are functions.
Is Blazor the new Silverlight?
Silverlight 1 was released in 2007, and the last version, Silverlight 5, was released in 2011. Blazor was first officially announced in 2018 and released in September 2019. In the meantime, devices and the web itself have massively changed. Blazor, on the other hand, is based on open web standards.
What is Silverlight used for?
Microsoft Silverlight is a free web-browser plug-in that enables interactive media experiences, rich business applications and immersive mobile apps.
What is HTML5 and Silverlight?
HTML5 is standards-based and about as global as it gets. The path forward is very clear with HTML5—with Silverlight, less so. Silverlight has a considerable advantage over HTML5 in that 90 to 95 percent of code can be shared with desktop applications.
How to migrate a Silverlight application to HTML5?
Main steps for migrating a Silverlight/WPF application. Assuming that you have already downloaded and installed CSHTML5, the main steps to migrate a Silverlight/WPF application are the following: Create one project of type “C#/XAML for HTML5 (Silverlight Migration Edition)” for each of the Silverlight/WPF projects that you want to migrate.
What’s the best way to build a Silverlight App?
Depending on how you have build your Silverlight app, approach/strategy of move various. Here is more details on this topic. Not the answer you’re looking for? Browse other questions tagged html5 silverlight or ask your own question.
What’s the difference between Silverlight and cshtml5?
The main difference between a Silverlight/WPF project and a CSHTML5 project is that the Silverlight project outputs a “XAP” file (or “EXE” file in case of WPF), whereas the CSHTML5 project outputs HTML and JavaScript files. Therefore, the general idea for migrating a Silverlight/WPF application into cross-platform HTML5 is the following:
What’s the best way to reuse Silverlight code?
In fact, C#/XAML for HTML5 is the only solution that lets you reuse most of your SL code, keep coding in a Silverlight-like way, and at the same time generate cross-platform HTML5-based apps.