Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

Silverlight vs WPF RSS

7 replies

Last post Jun 30, 2011 11:23 AM by avinashshetty

(0)
  • Silverlight vs WPF

    Jul 17, 2008 04:10 AM | LINK

    I was wondering if someone could articulate the differences between Silverlight and Windows Presentation Foundation (WPF) and the scenarios where one would be preferred the other?

    Thanks

    Silverlight vs WPF

    Raman Koovelimadom
    www.kooveli.com
  • SteveWong

    SteveWong

    Contributor

    6719 Points

    1346 Posts

    Re: Silverlight vs WPF

    Jul 17, 2008 04:44 AM | LINK

     The mostly difference is Silverlight is running on Browser and WPF is running in form of windows Application. Actually, Silverlight is a Sub Set of WPF (WPF/E).

    Regards,
    SteveWong (HongKong)
    Please mark post as answer if they help you
  • kinleong

    kinleong

    Member

    491 Points

    115 Posts

    Re: Silverlight vs WPF

    Jul 17, 2008 08:20 AM | LINK

    Simply say, WPF was developed for Vista, in order to have some great user interface. For example, WPF support 3D features and you can develop  a user interface with 3D like the 3D flip function in Vista. The rendering is supported by DirectX 10. If you are using Vista and has a powerful graphic card, you can render this brilliant user interface with no afford. Because all processing are being performed on the graphic card. For XP, WPF still works but with no DirectX 10 support. The processing will being performed in CPU.

    Silverlight is a sub-set of WPF. It inherits some features in WPF but running in browser. The silverlight runtime now is just 4mb, so compare to 160mb of .net framework 3.5, it cannot inherit all classes from WPF. If you would like to deliver a Rich Internet Application (RIA), Silverlight is a good choice. Otherwise, for rich client application or call desktop application, WPF should be applied.

     

     

     

    If the reply helps you, please kindly mark the post as answer.
    Never ever quit. Never ever give up.
    My blog: http://blog.ust.hk/kinleong
  • sladapter

    sladapter

    All-Star

    43607 Points

    7907 Posts

    Re: Silverlight vs WPF

    Jul 17, 2008 04:25 PM | LINK

    If your application user base are PC/Window user only, you might want to develope your app in WPF because function wise it's still much richer than Silverlight and because it's a desktop application so you have all the access to the local machine.

    If you want to develop an application that is Web based runs on browser, not only on PC but also on Mac, then you want to develop in Silverlight.


     

     

    Sally Xu
    Software Engineer
    Aprimo, Inc

    Please remember to mark the replies as answers if they answered your question
  • kunal2383

    kunal2383

    Contributor

    5604 Points

    1050 Posts

    Re: Silverlight vs WPF

    Sep 12, 2008 10:28 AM | LINK

    WPF standalone applications execute with unrestricted permissions (CAS FullTrust permission set), whether deployed using Windows Installer (.msi), DOS XCopy, or ClickOnce.

    WPF browser-hosted applications execute within a partial trust security sandbox, by default, which is limited to the default CAS Internet permission set. This effectively isolates WPF browser-hosted applications from the client machine in the same way that you would expect typical web applications to be isolated.

    Silverlight has restricted permission. So, it cann't access users data from local/client PC. It runs under a sandbox in the user data section, which is fully secure.

     
    Remember: Please click "Mark As Answer", if this helped you.

    Regards - Kunal Chowdhury | My Blog | Silverlight-Zone

  • rajibdotnet

    rajibdotnet

    Member

    5 Points

    2 Posts

    Re: Silverlight vs WPF

    Jun 22, 2011 08:29 PM | LINK

    Silverlight 5 came up with lot many new features...

    Silverlight 5 extends features of the ‘Trusted Application’ model to the browser for the first time. These features, when enabled via a group policy registry key and an application certificate, mean users won’t need to leave the browser to perform complex tasks:

    • Host HTML content as a Web browser control within the Silverlight application. HTML pages, such as help content or e-mail, can be integrated within the application.
    • Read and write files to the user’s My Documents folder, making it easier to find media files or create local copies of reports.
    • Launch Microsoft Office and other desktop programs. Users can open Microsoft Outlook and create an e-mail message, or send a report to Word utilizing the power of Office.
    • Access devices and other system capabilities by calling into application COM components. Users can access a USB security card reader or a bar-code scanner.
    • Enjoy full keyboard support in full screen, which enables richer kiosk and media viewing applications.
    • Call existing unmanaged code directly from within Silverlight with PInvoke.

     

    Rajib Banerjee,
    rajib.banerjee5@gmail.com,
    New Jersey, USA.
  • asimsajjad

    asimsajjad

    Star

    8200 Points

    1771 Posts

    Re: Silverlight vs WPF

    Jun 30, 2011 05:33 AM | LINK

    Here is the list of difference of the wpf and silverlight

    http://asimsajjad.blogspot.com/2011/05/differences-between-wpf-and-silverlight.html

    silver light 4

    Asim Sajjad
    http://asimsajjad.blogspot.com
    Twitter: http://twitter.com/asimsajjad
    If this has answered your question, please click on "mark as answer" on this post. Thank you!
  • avinashshetty

    avinashshetty

    Member

    60 Points

    46 Posts

    Re: Silverlight vs WPF

    Jun 30, 2011 11:23 AM | LINK

    hi,

    Too add above points "Out of Browser" is good concept in silverlight

    Regards,

    Avi