Overview:Microsoft Silverlight Interview Questions Answers,Silverlight Develpoment Interview Questions Answers,Silverlight Develpers Interview Questions Answers.
What is XAML ?
Ans: Extensible Application Markup Language (XAML, pronounced zammel) is a declarative XML-based language created by Microsoft which is used to initialize structured values and objects.
What is the difference between WPF and Silverlight?
Ans: 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.
Can you name built-in layout panels you have been using with Silverlight?
Ans: You are looking for Canvas, StackPanel and Grid.
How can I switch to Expression Blend from Visual Studio?
Ans: Expression blend provide great extensibility for XAML files.To switch to Expression Blend, right-click on the XAML file and select Open in Expression Blend
How can you set image Source dynamically from C# application to” test.png” file?
Ans: Surprisingly it is not as straight forward as it might sound, but anyone who seriously worked with Silverlight should be easily answer it. One of the ways is: img.Source = new BitmapImage(new Uri("test.png", UriKind.Relative));
How can I create image pieces/sub image?
Ans: In straight way you create a subimage from an existing image. Here you just clip an image, Clipping is just different from Cropping. In clipping, first you have to dictate which part of the images to draw and later you have to remove all but the desired part of the image. Silverlight does not support cropping.
How does Silverlight 2 differ from Adobe Flash?
Ans: 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
How can I switch to Expression Blend from Visual Studio?
Ans: Expression blend provide great extensibility for XAML files.To switch to Expression Blend, right-click on the XAML file and select Open in Expression Blend.
Can you elaborate how to start a silverlight application with Visual Studio?
Ans : 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
What are the different ways to display text with Silverlight?
Ans: Silverlight supports displaying static preformatted text that is comprised out of glyph elements and also dynamic text that uses TextBlock. With glyphs, one needs to position the characters individually while TextBlock supports simple layout.
What kinds of fonts are supported with Silverlight?
Ans: Beyond standard and western fonts, Silverlight also supports East Asian characters, double-byte characters, and can work with any East Asian font or Middle Eastern font by using the glyphs element and a supporting TrueType font file that supports the requested glyph
March 7, 2010
Microsoft Silverlight Interview Questions Answers
Subscribe to:
Post Comments (Atom)
1 comments on "Microsoft Silverlight Interview Questions Answers"
Nice Collections of silverlight Interview question. It really helpful for beginner as well as developer.
Check following link too, It is also having a nice collection on silverlight interview question...
http://mindstick.com/Interviewer/QuestionPage.aspx?topicid=7&topic=Silverlight
Post a Comment