WPF Difference FAQs-1 1.

Difference between WPF and XBAP (OR) Difference between Standalone WPF and XAML Browser Applications(XBAP) S.No 1 WPF Installation: Installed on users computer. 2 Appearance in Start Menu: Appears in Start Menu. 3 XBAP Installation: Not installed computer. on the client’s

Appearance in Start Menu: Does not appear in the Start Menu. in Add/Remove in the

Appearance in Add/Remove Appearance Programs : Programs :

Appears in the Add/Remove Does not appear Programs. Add/Remove Programs. 4 Installment methods : Installment methods :

Installed via XCopy, Windows Are automatically deployed via Installer (MSI) or ClickOnce. ClickOnce. YourApp.xbap is really a ClickOnce deployment manifest. 5 Code Access Security : Code Access Security :

Runs in Full Trust unless Runs in Internet Zone . modified by Administrator. 6 Process : Process :

Runs in its own standard OS Runs in PresentationHost.exe window. Presentation host is registered as the shell and MIME handler for *.xbap files. 7 Automatic Updates : Automatic Updates :

Standalone apps are not Newer version on server is always automatically updated. used. Developer must write auto updating framework or use the Microsoft ClickOnce system. 8 Offline access : Application works if offline. Offline access : Cannot run XBAP application

unless user can navigate to the XBAP URL. 9 Requirements : Requirements :

.NET 3.0 or later installed on .NET 3.0 or later installed on user user computer. computer. Internet Explorer(6.0 or later) Firefox (2.0 or later). 2.Difference between Silverlight Applications and XBAP Applications in WPF S.No 1 2 Silverlight Applications XBAP Applications

Silverlight applications can run XBAPs can run only in Internet in multiple Web browsers Explorer and Firefox Web browsers Silverlight provides the XBAPs require that .NET necessary components Framework exists on the users' through .NET Framework for computers Silverlight Component Silverlight application has only XBAP has access to the complete limited WPF functionality WPF functionality


Reference: http://onlydifferencefaqs.blogspot.in/2012/08/wpf-difference-faqs-1.html Difference between MediaPlayer and MediaElement Difference between MediaPlayer and MediaElement S.No 1 MediaPlayer MediaPlayer has no visual interface and not suitable to display videos. It cannot be placed on the XAML designer. It provides Media PlayBack for drawings. MediaElement MediaElement has got visual interface and can easily display videos using its built in properties. It is designed for XAML use and can be placed on the XAML designer. It does not provide Media PlayBack for drawings.


3 Example:

MediaPlayer player = new MediaPlayer(); player.Open(new Uri("c:\\intro.wmv", UriKind.Relative)); VideoDrawing aVideoDrawing = new VideoDrawing(); aVideoDrawing.Rect = new Rect(0, 0, 100, 100); aVideoDrawing.Player = player; splayer.Play(); Reference: http://onlydifferencefaqs.blogspot.in/2012/08/difference-between-mediaplayerand.html

User Settings vs Application Settings Difference between User Settings and Application Settings in WPF S.No 1 User Settings User settings are read/write. i.e., User Settings can be accessed or modified while our application is running (runtime). When we modify the User Settings, it will get saved by the application and immediate effect will be taken place. 2 Application Settings Application Settings are read-only. i.e., We cannot change the value of Application Settings at run-time. We will able to change the same only at design-time.

In User Settings, the Session In Application Settings, the Session is restricted to the User. is restricted to the Application . i.e., It is designed to be something specific to the user. For example, one user may have a requirement to see certain stocks, news articles or local weather. This can be set at run-time. i.e., It is designed to store information such as a database connection string. These settings are read-only at run-time.

Reference: http://onlydifferencefaqs.blogspot.in/2012/09/difference-between-usersettings-and.html

Sign up to vote on this title
UsefulNot useful