.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> WPF >> Post New Question Subscribe to Interview Questions

What are the differences between XBAP and Silverlight

Posted By :Ravi Ranjan Kumar     Posted Date :July 30, 2011    Points :40   Category :WPF 
XBAP is Windows only and requires .Net 3 Framework to be installed on your machine. It is used for creating heavyweight .Net applications that take advantage of the full capabilities of .Net 3 Framework.
and another one is Silverlight is cross-platform and runs its applications in the browser; it can be used anywhere you use a web-browser.
XBAP is Windows-only and usually runs its applications on the desktop; it requires that the .NET framework is installed.

You can also find related Interview Question to What are the differences between XBAP and Silverlight  below: 

What are the similarities between XBAP and Silverlight.

In short both are based on the XAML format and run inside the browser.
and they are both XBAP and SilverlightTM are used for creating Rich Internet Applications. (More...)

What is the differences between delegates and interfaces?

Interfaces carry semantics, and when a programmer implements an interface, he is typically well aware of that semantics. When you try to invoke a particular method via an interface, you can be fairly certain that if you succeed, the semantics of that method is what you expect. For that reason, using interfaces is essentially doing a check for semantic correctness on some level.

Delegates, on the other hand, by only verifying the method signature, make the programmer responsible for ensuring that the semantics of the method is compatible. The semantics may cover not only the meaning of the arguments and return value (some times even the order of the arguments if they are of the same type), the ranges of the arguments, but also an invocation order when multiple methods are concerned. Hence, in a sufficiently large program there is plenty of margin to make an error when different programmers are not forced to comply with a uniform semantics (as they would be if interfaces were used). (More...)

Differences between application and session.

The session object maintains state on a per client basis whereas the application object is on a per application basis and is consistent across all client requests. (More...)

What are the differences among batches, stored procedures, and triggers?


A batch is a group of one or more SQL statements. SQL Server compiles the statements of a batch into a single executable unit, called an execution plan. The statements in the execution plan are then executed one at a time.

stored procedure :
A stored procedure is a group of SQL statements that is compiled one time and can then be executed many times.

A trigger is a special type of stored procedure that is not called directly. Trigger is fired each time row is affected by Insert, Update or Delete command.


What is the best place to start Silverlight application?

There is no hard and fast rule to start Silverlight application. Every developer can start as per his/her experience.
like as per my case I always prefer Visual Studio. SO, in my view Visual Studio is the best place to start with Silverlight2 applications.Microsoft provides
templates for creating Silverlight applications and libraries in C#
and Visual Basic. (More...)

Can you elaborate how to start a silverlight application with Visual Studio?

You can find a fully described article from http://www.silverlightclub.com/resources/1858-silverlight-lets-start-building-applications.aspx.aspx
In the following step(s) I am giving the ideas all about:
1.Create a project:Here you just start your visual studio, Select your programming language [C#/VB], Choose Silverligh Template give the name and save it
2. Adding SIlverlight COntrols:One thing is happened here, controls cannot dragged onto the designer, you can draw/drag the controls on XAML page.
(a) Naming to control:In this step just give the name to your silverligt control like for Button you can give name as : btnmySilverligtButton
(b)Adding event handlers to Silverlight controls:Here you can give the event handlers like for click etc.
(c)Testing Silverlight applications in Visual Studio:Now just press F5 and test your application (More...)

What happened when I press F5 within Visual Studio to run Silverlight application?

When you run the Silverlight application within Visual Studio, a new folder created in the web-site project for silverlight solution and it happened only first time. The folder name is ClientBin and having package with XAP extension which contains compiled project. (More...)

How does Silverlight 2 differ from Adobe Flash?

As I am from .Net background so in my views you can get C# / Vb.net compiled code but in Flash there is only action script.
You can find difference in depth at : http://silverlight.net/forums/t/3015.aspx (More...)

Can I add more than one .xaml pages in silverlight application?

Yes, you can have multiple .xaml files in a single project.

In the App.xaml, in the method Application_Startup you can choose, which page you want to

initially display. (More...)

What is Silverlight Tool Kit?

To create an application or game you need to design, code and give some extra feature to your output.

To do the above, you need some controls, IDE etc.

Silverlight Tool kit is nothing but is a collection of Silverlight Tools, Components etc. It includes source code describing the all you need to develop an application.

Please visit this link for more info:http://www.codeplex.com/Silverlight (More...)

What are the differences between web part page gallery, site gallery,Virtual server gallery and online gallery in SharePoint?

Web Part Page Gallery in SharePoint is the default gallery provided by Microsoft that comes installed with SharePoint. Site Gallery is specific to one sharepoint website site. Virtual Server gallery is specific to that virtual server and online gallery is available for download web parts from MSDN. (More...)

What is the difference between WPF and Silverlight?

Silverlight uses a particular implementation of a XAML parser, with that parser being part of the Silverlight core install. In some cases, the parsing behavior differs from the parsing behavior in Windows Presentation Foundation (WPF), which also has a particular implementation (More...)

What is Storyboard in Silverlight?

Storyboard is a Silverlight class with controls animations with a timeline, and provides object and property targeting information for its child animations (More...)

What is the difference between Silverlight 1 and Silverlight 2

Nothing, Silverlight 2 is a full superset of Silverlight 1.0 - it is 100% compatible with Silverlight 1.0 applications and provides significantly more powerful features and functionality. Silverlight 1.0 applications even benefit from improvements in media playback and performance characteristics of Silverlight 2 with no additional work. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend