Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

reuse of silverlight code in wpf/xbap project RSS

2 replies

Last post Feb 09, 2009 12:59 PM by peterdungan

(0)
  • peterdungan

    peterdungan

    Member

    232 Points

    178 Posts

    reuse of silverlight code in wpf/xbap project

    Feb 09, 2009 12:04 PM | LINK

    I'm working on a data-based silverlight application. It connects to a sql server database via wcf webservices.

    I'm wondering if it might be worthwhile to develop another version of the same application with wpf or xbap, that would connect to the same database and have the same functionality as the silverlight application, but with some extra features to the silverlight version.

    As I understand it, Silverlight is different to wpf, and has a subset of its functionality, bvut the xaml is the same for both. How much work would be involved typically in adapting silverlight code into wpf?

    Thanks

  • HarshBardhan

    HarshBardhan

    Star

    10118 Points

    1749 Posts

    Re: reuse of silverlight code in wpf/xbap project

    Feb 09, 2009 12:47 PM | LINK

     Hi,

    That depends on your code.

    But if you are trying to convert from Silverlight to WPf effor will not be too much.

    Instead of using Wcf service to connect to database you can connect directly there.

    Mark as answer if this post answered your question.

    Harsh Bardhan
  • peterdungan

    peterdungan

    Member

    232 Points

    178 Posts

    Re: Re: reuse of silverlight code in wpf/xbap project

    Feb 09, 2009 12:59 PM | LINK

    If a client was developed in WPF to connect to the database on the server it would need to use webservices still though, wouldn't it?