For BE/B.Tech/BCA/MCA/ME/M.Tech Major/Minor Project for CS/IT branch at minimum price Text Message @ 9424820157

Silverlight Interview Questions

Silverlight Interview Questions



1) What is Microsoft Silverlight?

Microsoft Silverlight is an open-source development tool that is used for creating and deploying interactive user experiences, internet applications, and media experiences for web and mobile applications.


2) Is Silverlight compatible with multiple browsers and operating system?

Yes. Silverlight is compatible with multiple browsers, devices and operating systems. It is a free plug-in, powered by .Net framework.


3) Which language is used to design the layout in Silverlight?

XAML language is used to design the layout of Silverlight. XAML stands for Extensible Application Markup Language. It is a declarative XML-based language created by Microsoft.


4) What is the different development tools used in Silverlight?

The tool used with the Silverlight application is the Microsoft Visual Studio. The applications are written in .NET language. So, all the associated tools with the .NET language will also work with the Silverlight as well. Microsoft Expression Blend is the tool that is used to develop and design the Silverlight user interface applications. Visual studio is the platform that is used to debug the Silverlight errors and use error free applications. Silverlight usually come in the zip format and it contains the .XAP format that consists of one or more .NET managed assemblies that are stored in .DLL files. It also consists of AppManifest.XAML that contains the entry point including the important classes and assemblies.


5) What is RIA?

RIA is an acronym stands for Rich Internet Applications. These are web application with rich features. These features include built in AJAX support, layouts, animations, audio, and video components.

Silverlight is an example of RIA.


6) What are the components of Silverlight?

Following are four main components of Silverlight:

-Silverlight Plug-in

-Silverlight Host, the Web Page

-Silverlight Application File (.XAP)

-The Interface language, XAML


7) What do you mean by Silverlight.js file?

Silverlight.js is a helper file which is used to enable websites to create advance Silverlight installation and installation experiences.


8) Is ADO.Net objects supported in Microsoft Silverlight project?

No. Silverlight projects don't support normal ADO.Net objects like DataTable, DataSet, DataColumn, Database connection provider like SqlConnection, OledbConnection objects etc.


9) Explain the architecture of Silverlight?

The architecture of Silverlight is made of three components:

Core presentation framework: This framework includes the components like data binding, vector graphics, text, animation, images for presenting various features.

.NET framework for Silverlight: It includes 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.


10) What are the features of Silverlight plug-ins?

Silverlight plug-ins comes with the following features:

Presentation Engine

XAML Parser

.NET Parser

.NET Framework

Media Features

Browser Interaction

Downloader


11) What is .xap file in Silverlight?

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


12) How would you use a .xap file?

The .xap file is used to contain and transfer the assemblies and resources of a managed code application. This managed code application should be run within the Silverlight 2 browser plug-in.


13) Which tools are required to build Silverlight applications?

Following are the two important tools required to build Silverlight applications:

1.Microsoft Expression Studio: This tool is used by web designers to create rich visual elements for Silverlight applications with enhanced visual contents and graphics.

2.Microsoft Visual Studio: This tool is used by programmers whose application is based on logic or requires programming. It permits programmer to build Silverlight applications in any .NET language like C#, Visual Basic.NET, etc.)


14) Which .NET applications are supported in Silverlight?

1)Embedded Common Language Runtime (CLR)

2).NET Framework Libraries


15) What is the difference between WPF (Windows Presentation Foundation) and Microsoft Silverlight?

All the features of Silverlight are incorporated in WPF. So you can say that Silverlight is the subset of WPF.

Silverlight is just like Adobe flash and is designed for developing rich browser-based internet applications while WPF is used for developing enhanced graphics applications for desktop platform.


16) How would you perform event handling in Silverlight?

We can perform event handling in Silverlight 1.0 by using JavaScript while Silverlight 2.0 uses C# (managed code) for event handling.


17) What is the name of Linux version of Silverlight?

The Linux version of Linux is known as Moonlight.


18) What do you know by Silverlight runtime?

Silverlight runtime is basically a component which is responsible for downloading the .xap file from the server and facilitates users to see the silverlight content's output in the webpage.


19) How can you change the startup page of Silverlight application?

First open the App.xaml.cs file

In the Application_Startup event handler, set the RootVisual property to the instance of the particular Silverlight class.

For example:

If you have a file name known as MainPage.xaml, a class called MainPage will be there in MainPage.xaml.cs.


20) What is isolated storage in Silverlight?

Isolated storage is a virtual file storage system in Silverlight which is used to store data in a hidden folder on your system. It stores the data in a two separate sections:

Section1: It contains the administrative information like disk quota.

Section2: It contains the actual data.

Each Silverlight application is allocated its own portion of the storage with the current quota set to be 1 MB per application.


21) How can you see a Silverlight application in full-screen mode?

The Silverlight application can be shown in full screen mode by using the following command:

Application.Current.Host.Content.IsFullScreen = true;


22) Which types of video files can be supported in Silverlight?

Many types of video files can be supported in Silverlight. It can support MP3, Window Media Audio Format (wma, wmv 7-9) and VC-1 formats.


23) What is Deep Zoom in Silverlight?

Deep Zoom is one of the functions of Silverlight which is used to zoom in and zoom out of the application.


24) Is it possible to pass parameters to Silverlight controls from ASP.NET pages?

Yes. It is possible to pass parameters from your 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.


25) How can you check the internet connection status in Silverlight?

You can check the internet connection status by using the following code:

If (NetworkInterface.GetIsNetworkAvailable())  

{  

Messagebox.Show("Network available");  

}  

else  

{  

Message.box.Show("Network not available");  

}  


26) What is the usage of ClientBin folder?

The ClientBin folder is used in ASP.NET application to use the Silverlight functionalities. The ClientBin folder contains the .xap file that contains the reference of the Silverlight libraries which is later used in ASP.NET applications.


No comments:

Post a Comment



Please go through below tutorials:


Mule 4 Tutorials

DEPLOY TO CLOUDHUB C4E CLIENT ID ENFORCEMENT CUSTOM POLICY RABBIT MQ INTEGRATION
XML TO JSON WEBSERVICE CONSUMER VM CONNECTOR VALIDATION UNTIL SUCCESSFUL
SUB FLOW SET & REMOVE VARIABLE TRANSACTION ID SCATTER GATHER ROUND ROBIN
CONSUME REST WEBSERVICE CRUD OPERATIONS PARSE TEMPLATE OBJECT TO JSON LOAD STATIC RESOURCE
JSON TO XML INVOKE IDEMPOTENT FILTER FOR EACH FLAT TO JSON
FIXWIDTH TO JSON FIRST SUCCESSFUL FILE OPERATIONS EXECUTE ERROR HANDLING
EMAIL FUNCTIONALITY DYNAMIC EVALUATE CUSTOM BUSINESS EVENT CSV TO JSON COPYBOOK TO JSON
CHOICE ASYNC

Widely used Connectors in Mule 3

CMIS JETTY VM CONNECTOR SALESFORCE POP3
JMS TCP/IP WEBSERVICE CONSUMER QUARTZ MONGO DB
FILE CONNECTOR DATABASE CONNECTOR


Widely used Scopes in Mule 3

SUB FLOW REQUEST REPLY PROCESSOR CHAIN FOR EACH CACHE
ASYNC TCP/IP COMPOSITE SOURCE POLL UNTIL SUCCESSFUL
TRANSACTIONAL FLOW

Widely used Components in Mule 3

EXPRESSION CXF SCRIPT RUBY PYTHON
JAVASCRIPT JAVA INVOKE CUSTOM BUSINESS EVENT GROOVY
ECHO LOGGER


Widely used Transformers in Mule 3

MONGO DB XSLT TRANSFORMER REFERENCE SCRIPT RUBY
PYTHON MESSAGE PROPERTIES JAVA TRANSFORMER GZIP COMPRESS/UNCOMPRESS GROOVY
EXPRESSION DOM TO XML STRING VALIDATION COMBINE COLLECTIONS BYTE ARRAY TO STRING
ATTACHMENT TRANSFORMER FILE TO STRING XML TO DOM APPEND STRING JAVASCRIPT
JSON TO JAVA COPYBOOK TO JSON MAP TO JSON JSON TO XML FLATFILE TO JSON
FIXWIDTH TO JSON CSV TO JSON


Widely used Filters in Mule 3

WILDCARD SCHEMA VALIDATION REGEX PAYLOAD OR
NOT MESSAGE PROPERTY MESSAGE IDEMPOTENT FILTER REFERNCE
EXPRESSION EXCEPTION CUSTOM AND


Exception Strategy in Mule 3

REFERENCE EXCEPTION STRATEGY CUSTOM EXCEPTION STRATEGY CHOICE EXCEPTION STRATEGY CATCH EXCEPTION STRATEGY GLOBAL EXCEPTION STRATEGY


Flow Control in Mule 3

CHOICE COLLECTION AGGREGATOR COLLECTION SPLITTER CUSTOM AGGREGATOR FIRST SUCCESSFUL
MESSAGE CHUNK AGGREGATOR MESSAGE CHUNK SPLITTER RESEQUENCER ROUND ROBIN SOAP ROUTER