如何选择WPF或者SilverLight?


要写一个全新的商业应用程序,运行于Windows。想制作一个比较绚丽的GUI,还要开发效率高,请问用WPF合适合适SilverLight合适?

GUI 开发 银光 WPF SilverLight

夢原Dぞみ 11 years ago

Smaller framework size. Granted SL4 will probably be much bigger than SL3, but currently the Silverlight framework is about 1/10 the size of the smallest version of .NET 3.5.

Cross platform support- Silverlight runs on Mac and Linux(in theory). This may not be a big issue to you but it is critical in some scenarios.

Much better integration with HTML. Silverlight can live inside a web page and with version 4 html can live inside of Silverlight. Once again, this may not apply to you, but if you need to interoperte with exisiting web apps, Silverlight is definitely the way to go. It will also make it much easier to transition to the web is you need to.

It's clearly where Microsoft if putting its energy. I wouldn't be surprised if WPF is pretty much dead in the water, much like Winforms and LINQ to SQL.

へ.水景樣 answered 11 years ago

Your Answer