2

I am a massive Silverlight user.
Since I started to realize that sooner or later Silverlight is gonna die (there is not going to be a SL 6 from what I heard), I'm starting to sniff around for an alternative technology.

I need a fluid responsive UI like Silverlight, and I need a technology that costs zero development effort. Silverlight is actually just great but it's missing some key features (binding types, shared size group and more), and since it's not going to be developed anymore I am considering other things. It's also not really multi-platform (Android and iOS support is a minimum).

Anyway, I looked into ASP.NET SPA, and I kinda liked the idea, but in the other hand, I think HTML5/javascript are decades far from Silverlight, first of all C#/VB.NET as a language, then all the related tools, such as Entity-Framework, WCF-RIA with scaffolding and validation, SDK/Toolkit and more.

So my question is if there is any kind of way to make a generator that turns my Silverlight website into HTML5+CSS3+Javascript so it works on every platform, perhaps by converting it to a SPA app.

Have you ever heard about any existing project that covers this issue? Do you think it's doable or it will take me years to develop it?

tpeczek
  • 23,867
  • 3
  • 74
  • 77
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
  • "and I need a technology that costs zero development effort" don't we all – kenwarner Jun 05 '12 at 01:13
  • There is no tool to convert. It would likely take longer to develop than to rewrite the app. – Craig Jun 05 '12 at 01:13
  • @qntmfred, lol oh yeah, but actually SL has relatively zero effort. – Shimmy Weitzhandler Jun 05 '12 at 01:17
  • @Craig, no, I don't want to convert AN app, I wanna make a converter, that will spare me from messing with junky javascript, I wanna continue writing in pure C#+XAML and get the result of Silverlight by emitting pure HTML5/CSS3/JS to the client instead of pluging, aint that just a great idea? whatcha say – Shimmy Weitzhandler Jun 05 '12 at 01:18
  • Great idea, but I don't think it can be done. I guess anything is possible with enough time and effort, but you would be looking at years and years of development. Even if you were to target only the native Silverlight controls and no 3rd party components it would require a super human effort to develop something like that. The technologies are just too different. – Henrik Söderlund Jun 05 '12 at 14:38
  • However, I think you are on the right track with the SPA idea. My advice would be to start looking at the MVVM framworks for javascript that are starting to become popular now, such as http://knockoutjs.com/. This way you can at least leverage some of your existing Silverlight skills and apply it to HTML 5 and javascript (assuming that you are using MVVM in your SL development of course). – Henrik Söderlund Jun 05 '12 at 14:42

1 Answers1

3

"Is there a generator?" - The answer to that is no, at least nothing I have seen that is worth it. The good news is that all of your services from Silverlight are still very viable with a SPA. You can certainly do a lot with HTML5/JavaScript, so don;t worry too much about that. The big difference for capabilities is if you need machine integration. Since you are in a browser you are sandboxed. If you need that, WPF/Silverlight are better options, especially since you know them.

There are SPA's out there. The biggest ones I can think of are gmail and facebook. SPA's aren;t new, they are just taking more of the forefront lately since the technology has evolved and the opportunity is there.

This should answer your questions. But if you have other specific questions, feel free to fire away.

John Papa
  • 21,880
  • 4
  • 61
  • 60
  • John, great to see you around I'm addicted to your TV station!!! Anyway as a sidenote, I recently read some blogs about LightSwitch HTML client, which made me wonder why a similar feature cannot be implemented for Silverlight, do you think this will ever happen? Please take a look at the discussion on the comments of the question. – Shimmy Weitzhandler Jun 26 '12 at 22:50