Ask a questionAsk a question
 

AnswerWPF, WBA(Full Trust) - What are the differences?

  • Thursday, January 26, 2006 5:45 PMWinFXGuy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I believe I am missing something here. What is the difference between WPF, WBA(Full Trust) applications,other than WBA with full trust runs in a web browser? I think WPF is a windows application, either thick or smart client, WBA with partial trust is lke a Java Applet with WPF UI and WBA with full trust(Installed WBA) is like a windows application running in a browser. Is this correct?

Answers

  • Thursday, January 26, 2006 6:30 PMKaren Corby - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Windows Presentation Foundation is a platform for building rich client applications.  You can build two “types” of WPF applications:

    1. Standalone Applications.
    2. Web Browser Applications.

    Standalone applications are full trust WPF applications that are installed windows applications. 

     

    Web Browser Applications are non-installed (cached) sandboxed browser-hosted applications.  It is possible to create trusted full trust WBA applications, but these cannot be installed.  At any trust level, WBAs are windows applications that are built using WPF.

     

    I don’t know if by the term “windows applications,” you mean additional characteristics other than “built using windows technology to run on windows.”  If you are, could you expand on your question?

     

     

     

All Replies

  • Thursday, January 26, 2006 6:30 PMKaren Corby - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Windows Presentation Foundation is a platform for building rich client applications.  You can build two “types” of WPF applications:

    1. Standalone Applications.
    2. Web Browser Applications.

    Standalone applications are full trust WPF applications that are installed windows applications. 

     

    Web Browser Applications are non-installed (cached) sandboxed browser-hosted applications.  It is possible to create trusted full trust WBA applications, but these cannot be installed.  At any trust level, WBAs are windows applications that are built using WPF.

     

    I don’t know if by the term “windows applications,” you mean additional characteristics other than “built using windows technology to run on windows.”  If you are, could you expand on your question?

     

     

     

  • Thursday, January 26, 2006 7:03 PMviliescuModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    If you like the analogies with Java  :
    1. WBA = regular Java Applet
    2. WBA full trust = signed Java Applet - you can ask for more rights in a Java applet (like reading from the local hard disk) but you have to sign it with a certificate etc.
    3. Standalone WPF application = Standalone Java application
  • Friday, January 27, 2006 4:27 AMWinFXGuy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Karen. What I mean by windows application is a Windows Forms application. My question is a full trust WBA aplication, even though it is not installed, has any limitions when compared to an installed standalone WPF application?
  • Friday, January 27, 2006 4:32 AMWinFXGuy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Viliescu. That was a good analogy. Again, I am not a Java programmer, but my question is what are the limitations of a full trust WBA vs Standalone WPF? (In Java analogy , can signed java applets have the full capabilities as of Standalone Java application?)
  • Friday, January 27, 2006 4:34 PMviliescuModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I think the only difference is that full trust WBA are not "installed" so they will not work offline.
  • Tuesday, January 31, 2006 3:48 PMWinFXGuy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Does that mean, a heavy weight WPF rich client application, something like a document management system that interfaces with scanners and printers on the client machine can run in a browser, as a full trust WBF?
  • Tuesday, January 31, 2006 4:13 PMviliescuModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes, but why would you want to do run in the browser? Why not make a regular WPF application with a ClickOnce deployment?
  • Tuesday, January 31, 2006 7:47 PMWinFXGuy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     viliescu wrote:
    Yes, but why would you want to do run in the browser? Why not make a regular WPF application with a ClickOnce deployment?

    I am just exploring different capabilities of WInFX. Also, a thought, if I can offer my upcoming product as a subscription based full trust WBF application. With WBF, i feel I have greater control over the application based on the subscription status.