How does HTML5 deal with the ability to run managed .NET code like Silverlight?

Good. I'm at the conception stage of understanding HTML5, so bear with me. I understand that HTML5 is the obvious future for video, streaming, interactivity, etc., no doubt. But one of the big pluses for Silverlight (starting with version 2) is the ability to run .NET Managed code on the client. Yes, this requires the Silverlight plug-in, but it is aside from the ability to run managed code - this is a powerful feature. Using WCF to return to the server is cinch, so I like this feature and have several Silverlight controls built into my ASP.NET pages because of its rich features.

With all the talk that HTML5 is pushing Silverlight aside (even directly or indirectly from MSFT), can HTML5 make it easier to run the managed .NET client interface from the Internet, such as Silverlight?

Thanks!

+7
source share
4 answers

For the foreseeable future, HTML will not have a special tool for running Microsoft executable code. To run .NET code from a browser, either a plug-in is required (for example, with Silverlight), or the browser must call a local executable file (which in itself requires something other than standard HTML / JavaScript).

The fact is that HTML / CSS / JavaScript is universally supported out of the box. Therefore, instead of writing code that requires a user to install a plug-in (.NET code, Flash code, etc.), you write code that runs in a standard browser (JavaScript, HTML, etc.).

You can still perfectly execute .NET code on the server and can easily communicate with the server through AJAX. But for client-side code, the push in this particular scenario is from proprietary technology with plugins to standard technologies that are supported by default.

+3
source

The short answer is no. It will use JavaScript in an accelerated manner to negate the need (possibly) for a plugin such as SilverLight or Flash

+3
source

You can achieve a similar effect using HTML / Javascript / AJAX, without the need for proprietary technologies and plugins. Instead of your built-in Silverlight controls, you can provide cross-browser, cross-platform, standards-oriented code and be able to "manage" it through AJAX.

0
source

Probably no.

In .NET, managed code is compiled into the Common Intermediate Language . On the other hand, standard web technologies, as a rule, stand on the shoulders of the text:

  • HTML is text
  • XML is text
  • CSS text
  • ECMAScript is text

Therefore, it is very unlikely that HTML5 will support .NET managed code.

0
source

All Articles