0

So if I created a Silverlight app, can I take the markup + code and put it in a WPF app? I was just curious if we decide to use Silverlight, whether I could also take advantage of WPF Windows clients too.

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
  • 2
    possible duplicate of [Definitive source(s) for the difference between Silverlight and WPF](http://stackoverflow.com/questions/598703/definitive-sources-for-the-difference-between-silverlight-and-wpf) – AnthonyWJones Sep 02 '10 at 12:14
  • This question has been asked in several various ways, searching in site:stackoverflow.com for keywords such as silverlight, WPF, differences, compatiblity etc will find you plenty of answers on this subject already. – AnthonyWJones Sep 02 '10 at 12:15
  • But I want to know the process too for setting up a silverlight app to work in a WPF environment as well.. so I disagree, I think mine is a little different. – Brian Mains Sep 02 '10 at 15:00

2 Answers2

2

You could always make your Silverlight application run Out-Of-Browser, just keep in mind you have a security sandbox which you dont have with WPF. Also Silverlight would be able to run on Macintosh without use of Mono which could be a benefit.

Peter Kiers
  • 602
  • 4
  • 16
0

This MSDN article may be a good reference as to where SL4 and WPF4 diverge:

WPF Compatibility

Patrick
  • 971
  • 9
  • 17