Silverlight and AJAX are different tools for different tasks. Before I go any further, let me just clarify what I mean by AJAX in this context. AJAX is a way to create a rich browser-based application using Javascript, HTML and CSS, without relying on other browser extensions.
Before the HTML5 functions began to flow in the main browsers, the gap in functionality was quite wide, but with the built-in browser and canvas rendering this is not entirely true.
- Silverlight is still a richer framework for work and offers various sandbox models to provide less limited access to a computer.
- Another advantage is that C # code is compiled and therefore has the potential to be faster. Again, this is no longer an issue when Javascript runtime gets faster and faster.
- Since the layout system will be the same in all browsers, you can give the best experience guarantee . You donβt have to spend hours debugging 10px alignment problems between different browsers.
However, when developing a web application, I will try to get away with AJAX as soon as possible. It is quite powerful, and you can achieve very rich functionality without requiring a plugin. If your application is a standard line of business applications, then I, as a user, will probably be angry with you if you forced me to install a plug-in to show me some grids, buttons, and shapes.
Choosing how to develop and deploy your web application is becoming increasingly difficult these days. With the advent of mobile platforms, you have to walk very carefully. Sticking to HTML5 seems like the best option so far, knowing that the iPhone and iPad will never support Silverlight. Similarly, I doubt that Android and ChromeOS will do this in the near future.
source share