Blog Archive

Theme images by Storman. Powered by Blogger.

Monday, August 8, 2016

Microsoft Silver Light Latest Interview Questions With Answers.


Microsoft Silver Light Latest Interview Questions With Answers. Tricky 17 Microsoft Silver Light Interview Questions. Latest Microsoft Silver Light Interview Questions and Answers.

1) Explain what is Microsoft Silverlight?

Micro-soft Silverlight is an open-source tool for making and deploying internet applications and media experiences on the web.

2) Mention what is Silverlight architecture is made of?

Silverlight architecture is made of mainly three components
Core presentation framework: The framework includes the components like data binding, vector graphics, text, animation, images for presenting various features,
.NET framework for Silverlight: It consists of the libraries and components like XLINQ, XML serialization, Syndication, base class libraries, networking and common language runtime,
Updater and Installer: It is a control for installation and provides automatic updates

3) What you must require in order to run Silverlight applications on a web server?

To run a Silverlight application on a web server, you require to append the extension .XAP with the MIME type application/X-Silverlight in the server supported file types configuration.

4) What Silverlight is composed of?

Silverlight comes with four main components
Silverlight Plug-in
Silverlight Host, the Web Page
Silverlight Application File (.XAP)
The Interface language, XAML

5) Explain what is .xap file?

.xap file is a compressed file for the Silver Application.  The .xap files include AppManifest.xaml, compile output assembly of the Silverlight project (.dll) and any other resources by the Silverlight application.  Visual studio creates two files when creates project; App.xaml and Page.xaml

6) Mention what does the Silverlight Plug-in comprised of?

Silverlight plug in comes with many features like
Presentation Engine
XAML Parser
.NET Parser
.NET Framework
Media Features
Browser Interaction

7) List out the tools required to build Silverlight applications?

Tools used for building Silverlight applications are

Microsoft Expression Studio: This tool is meant for web designers as it is used to create rich visual elements for Silverlight applications with enhanced visual contents and graphics
Microsoft Visual Studio: This tool is meant for a programmer whose application is based on logic or requires programming. It permits programmer to build Silverlight applications in any .NET language ( like C#, NET, etc.)

8) List out the new features in Silverlight 5?

New features in Silverlight 5 includes

Tooling: XAML debugging is included in this version, specially for the binding
Media: You can control volume, pitch, in the soundeffect class
Text: Introduced RichTextBoxOverflow element, it will help in automatically laying out text in situations like multi-column
Data binding: It supports implicit data templates, which means you can specify a Data Template for a specific type in your binding
Controls: “Click Counts” will help basically in doing double-click tracking on elements in your application. Another feature is “Multiple-Window” support, it allows you to create several windows that your application can interact with
3D graphics: 3D graphics API is available with new Silver light with many additional features
Trusted Application in Browser: Without being installed, applications can be used in the browser through this feature
General: Apart from all these features there are enhanced features that are supposed to be seen in Beta version, like vector printing, new DataContextchanged event, COM interop for trusted in-browser applications,

9) Mention what are NET application supported in Silverlight?

The .NET application support in Silverlight can be segregated into two parts

Embedded Common Language Runtime (CLR)
.NET framework libraries

10) Mention whether Silverlight allows MPEG4 and H.264 videos or AAC
(advanced audio coding) audio or flash video?

No, Silverlight does not support MPEG4 and H.264 videos. However, contents from many of these formats can be converted into formats that are supported by Silverlight like automated server function, and then inserted into a Silverlight based application.

11) Mention what is the difference between WPF (Windows Presentation Foundation) and Windows Silverlight?

In terms of features, silver light is the subset of WPF
Silverlight competes with Adobes flash and is designed for developing rich browser based internet applications
While WPF is a Microsoft technology for developing enhanced graphics applications for desktop platform, while Silverlight can be used for building application accessed through internet
Web browser application can be hosted on web browsers that give rich graphics features for web applications.

12) Explain how you can pass parameters to silver light controls from ASP.NET pages?

You can pass parameters from you aspx pages and HTML pages to the Silverlight controls by setting InitParameters. The Xaml page user control has a property known as InitParameters. From your ASPX pages, you can set a value in the form of key value pairs. Since this property accepts key-value pairs, you can pass any set of string values.

13) Explain how Silverlight and ASP.NET AJAX can be used by consumers?

Silverlight synchronizes with existing web applications, including ASP.NET AJAX applications.  Apparently, ASP.NET AJAX and Silverlight are built as complementary technologies.  In short, Silverlight and ASP.NET AJAX can communicate with any AJAX application. Also, ASP.NET AJAX can additionally be used to control Silverlight-based visualization of data or delivery of rich experiences.

14) Explain how you can check the internet connection status in Silverlight?

By using the following code, you can check the internet connection
If (NetworkInterface.GetIsNetworkAvailable())
Messagebox.Show(“ Network available”);
{“ Network not available”);

15) Explain what is RIA?

RIA stands for rich internet applications, and they are web applications with rich features. Rich features include built in AJAX support, layouts, animations, audio, and video components. Silverlight is an example of RIA.

16) Mention what are the different layout controls available in Silverlight?

There are three controls available like
StackPanel: It will position the child elements either in a vertical or horizontal manner
Grid: It will place the child elements in either rows or columns
Canvas: It will place the child elements according to X, Y space

17) Mention what is the XAP mime type in Silverlight?

The .XAP mime type is: application/x-Silverlight.

0 on: "Microsoft Silver Light Latest Interview Questions With Answers."