SilverLight Basic Interview Questions Part-3



7.) What features are missing from Silverlight presentation markup that will be supported in the Windows Presentation Foundation?
Microsoft recommends the Windows Presentation Foundation for building rich immersive applications and experiences that can take full advantage of the Windows platform, including UI, Media, offline communication, OS integration, Office integration, peripheral access, Document support and more. Silverlight will be used for broad reach interactive media content and browser-based rich interactive and high-performance applications and experiences.
8.) Is Silverlight a new media player?
No. Silverlight is a cross-browser, cross-platform plug-in for delivering media experiences and RIAs. It is not a desktop application or stand-alone media player.
Difference between WPF and Silverlight ?
WPF(Windows Presentation Foundation) use for the Desktop Application and SilverLight is use for
Web Applications (Rich Internet Applcaions).
In terms of features and functionality, Silver light is a sub set of Windows Presentation Foundation.
Silver light is for developing rich internet applications. While WPF is used for developing enhanced graphics applications for desktop platform.
WPF uses XAML for hosting the user interface for web applications.
What kind of Audio and Video formats are supported in Silverlight ?
Silverlight Supports
WMA,
WMV7-9,
VC-1, and
MP3 Audio .
Can I consume WCF and ASP.NET Web Services in Silverlight? Yes

What are the main components of Silverlight application?

Following are the main component of Silverlight application.
a)Input – It handles input from devices like keyboard, mouse etc.
b)UI core –It manages rendering of bitmap images, vector graphics, text and animations.
c)Media – It handles the playback of MP3, WMA Standard, WMV7, WMV8 streams.
d)XAML – This manages UI layout to be created by XAML markup language

Layout Manager controls in Silverlight ?

1.Canvas
2.StackPanel
3.Grid
4.Border
5.You can always create your own

How to set Silverlight contents width as 100%?

Generally you can't set the UserControl width in % like 100% so that the Silverlight contents can spread in the full screen.
To get the 100% width of the screen you can set width="auto" and height="auto".


No comments:

Post a Comment