YouTube Icon

Interview Questions.

Top 100+ Microsoft Silverlight Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Microsoft Silverlight Interview Questions And Answers

Question 1. What Is Name Scope In Silverlight?

Answer :

Name scope in Silverlight shops the connection between XAML and the gadgets which might be being defined by means of the XAML, with their instance equivalents. Whenever, you create a brand new object, a brand new call scope will routinely be created. But, there's a trouble on this, when call scope is being created for the dynamic gadgets, from time to time it causes an exception to occur or a few form of blunders.

Question 2. Can You Use Any Specific Patterns In Silverlight Programming?

Answer :

Yes, you could use any precise patterns in Silverlight programming, because it presents Model-View or View-Model method. This approach presents the availability to create loosely coupled utility in which the code is absolutely remoted from XAML. Prism that's a hard and fast of lessons supplied for improvement of such packages also can be used to provide greater flexibility.

Microsoft Excel Interview Questions
Question three. What Are The Advantages Of Extensible Application Markup Language (xaml) Over C# Or Vb.Net?

Answer :

XAML is the language that is used with Silverlight. It is one of the growing languages that has masses of capabilities and residences. The advantages of it over C# or VB.NET are that:

C# or VB.NET provide improvement by the usage of coding while, XAML presents codeless improvement and presents lots of features to create complex consumer interface controls and so on. It also can define an instance of class that is being already defined by using C# or VB.NET.

Question 4. What Is The Real Advantage Of Using Excel/phrase Files Or Local Database In Silverlight?

Answer :

The actual benefit of using Excel or World files or any local database in Silverlight is that it offers smooth to manipulate capabilities for shop and fetching the data, which can be often used by the packages. It doesn’t rely an awful lot on WCF offerings to provide the properties for data communique. The statistics is automatically fetched and stored in excel or phrase sheets for future references.

Microsoft Excel Tutorial
Question five. What Are The Restrictions Of Web Service Accessing In Silverlight?

Answer :

Silverlight affords and helps plenty of features however there are some regulations as well, including WS-Security and WS-Addressing are not supported. When operating with the languages such as ASMX/JAVA/PHP, you want to look which you have SOAP 1.1 and WS-I Basic Profile 1.Zero. Silverlight best guide GET and POST movements, others aren't supported. It doesn’t have complete http features also.

Microsoft Word Interview Questions
Question 6. What Type Of Applications Can Be Developed Using Silverlight?

Answer :

Silverlight is a plug-in, which may be used to increase net based or mobile primarily based programs. Silverlight is utilized in the ones packages wherein you need to symbolize the graphics or the output must be in graphical layout. Silverlight may be utilized in various forms of Line-of-Business programs consisting of: Healthcare, Insurance, Logistics etc. One of the coolest instance of its software is healthcare utility.

Question 7. Explain Silverlight Architecture?

Answer :

Silverlight is a plugin that is provided by way of the Microsoft. Silverlight architecture consists of the functionality from core .NET framework, Ajax and having a number of its very own functionality which includes animation, media etc. The structure includes 4 blocks:

.NET framework components: WPF is .NET framework, utilized in Silverlight. 

Presentation center: center presentation framework includes the display alternatives including photos, vector animations and many others.

Other technology: Ajax and JavaScript technology are used to have interaction with Silverlight framework.

Hosting: Silver-mild animations run underneath the browser surroundings and it also gives masses of other application hosting packages.

Microsoft Word Tutorial Microsoft Powerpoint Interview Questions
Question eight. What Is The Relationship Between Silver Light, Wpf And Xaml?

Answer :

Silverlight is used to read and render the user interface (UI) factors. XAML is a XML report that defines the consumer interface factors. This file is being study by using the WPF framework. Microsoft developed WPF framework after which extended it to WPF/e, which helped the application to render user interface in the browser. Silverlight is being officially launched by using Microsoft.

Question nine. What Are The Controls Provided In Silverlight For Line-of-business (lob) Applications?

Answer :

Silverlight affords masses of packages for Line-of-Business (LOB) to have higher communication some of the factors and also to enrich the houses of the utility. The controls which are being furnished via the Silverlight are as follows:

Data Grid: The representation of statistics in a grid shape

Data Form: Representation of data in a form 

Chart controls: Representation of records in chart paperwork and has extra capability to show the controls for personalization.

Microsoft Dynamics CRM Interview Questions
Question 10. Where Is The Silverlight Application Present?

Answer :

Silverlight application resides at the host computer wherein the ASP.NET is mounted. It is living in the ASP.NET webpage, but it can be hosted on different HTML pages too, by using the usage of the extension .Xap. Silverlight application is made available to the browser when a user makes a HTTP request to ASP.NET page.

Microsoft Powerpoint Tutorial
Question eleven. Does Silverlight Application Supports Desktop Implementation?

Answer :

Yes, Silverlight supports computer implementation. Newer version of Silverlight affords out-of-browser facility, with the aid of using this option it may be bodily deployed on the neighborhood device. Silverlight four.Zero supports OOB facility that enhances the conversation with different packages like Word, Excel and so on. And with the nearby database like MS Access and so forth.

Microsoft Outlook Interview Questions
Question 12. What Types Of Security Measures Are Provided With Silverlight?

Answer :

Silverlight is Microsoft primarily based era and it provide you with a few safety capabilities, to make it cozy to use and put in force. For relaxed communique its programs uses WCF services and makes use of WCF protection functions. SSL (Secure Socket Layer) can be used for protection mechanism to give the transport layer security.

Microsoft Excel Interview Questions
Question 13. What Happens If We Press F5 In Visual Studio To Run A Silverlight Application?

Answer :

The following occurs if we press F5 in Visual Studio to run a Silverlight Application.

A)A new folder is created in internet site assignment.(It occurs handiest first time)
b)The name of the folder is Clientbin.
C)The folder includes the packages with .Xap extension.

Microsoft Dynamics CRM Tutorial
Question 14. What Is Easing Functions In Silverlight?

Answer :

Easing functions is utilized in Silverlight to utilise custom mathematical formulation to animations. For example,if we need an object to oscillate we may want to use we will use a corresponding mathmetical function to as it should be depict this motion.

Question 15. What Is Story Board In Silverlight?

Answer :

A Storyboard inside the Silverlight is a container in which we will positioned animation gadgets. We want to make the Storyboard a resource that is available to the gadgets that we need to animate.

Microsoft Entity Framework Interview Questions
Question 16. What Browsers And Platforms Are Supported By Silverlight Version 2?

Answer :

Silverlight version 2 helps all popular browsers like Internet Explorer,Firefox,Safari on Both Mac OS and windows OS.

Microsoft Silverlight Tutorial
Question 17. What Is .Xap File In Context Of Silverlight?

Answer :

The .Xap document is a compressed output file for the Silverlight application. This file includes AppManifest.Xaml, compiled output meeting of the Silverlight challenge (.Dll) and different resource files referred by way of the Silverlight application.

Microsoft Azure Interview Questions
Question 18. Explain Deep Zoom In Silverlight?

Answer :

Deep Zoom is one of the functions of silverlight.
This Deep Zoom characteristic is to zoom in and zoom out the software.
The essential benefit of this zooming is that, it'll no longer have an effect on the overall performance of the application.
Microsoft Word Interview Questions
Question 19. Which Types Of Video Files Can Silverlight Support?

Answer :

Silverlight can help many kinds of video documents.
This platform can guide MP3, Windows Media Audio format (wma, wmv7-9), and also VC-1 codecs.

Microsoft Entity Framework Tutorial
Question 20. Give An Example Of Creating Button In Xaml ?

Answer :

In XAML, a button may be created as inside the following example:

Example:

<Grid x:Name="LayoutRoot" Background="White">

<Button Width="60" Height="30">Click Here</Button>

</Grid>

Microsoft Project Interview Questions
Question 21. Give The Reasons How Ajax Is Better Than A Java Applet?

Answer :

As we know that, the programs with Ajax runs quicker while compared to Java applet.
This is because, Java applets load big sized libraries.
But in Ajax, code resides on the web server in which, best the required occasion inside the user interface is published again to the server.
Question 22. How Can Be The Default Page Settings Changed For A Silverlight Page ?

Answer :

You can trade the default web page settings of a silverlight web page.

This can be done by putting the RootVisual belongings inside the Application_Startup event of the App.Xaml report.

This is accomplished as follows:

Private void Application_StartUp(item sender, StartupEventArgs e)

   this.RootVisual = new MainPage();

Microsoft Azure Tutorial
Question 23. How Can Be A Silverlight Application Shown In Full-screen Mode?

Answer :

You can show the silverlight utility in full-display screen mode with the aid of the use of the subsequent command:

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

Microsoft Dynamics NAV Interview Questions
Question 24. What Is Isolated Storage?

Answer :

Silver light makes use of remoted garage as a virtual report system to store statistics in a hidden folder in your gadget. It breaks up the facts into  separate sections:

Section #1 consists of the executive statistics which include disk quota

Section #2 contains the real information.

Each silver mild software is allocated its personal portion of the garage with the present day quota set to be 1 MB in step with utility.

 

Microsoft Powerpoint Interview Questions
Question 25. What Are The Steps Will Followed When Consuming Wcf In Silver Light?

Answer :

4 simple steps to consume WCF service the use of Silver mild

Create the WCF carrier
Enable Cross Domain on your WCF service
Add the WCF provider reference
Call the Service
Microsoft Project Tutorial
Question 26. Can You Provide A List Of Layout Management Panels And When You Will Use Them?

Answer :

Canvas Panel: Use the canvas for simple layouts and while there is no need to re-size panel. Controls can overlap every other while resizing the panel.

Stack Panel: Use this for grouping controls in a stack (horizontal/vertical). Controls do no longer overlap.

Grid Panel: Most flexible, multi rows/columns layouts. Similar to a HTML desk.

Microsoft Interview Questions
Question 27. How To Change The Default Page Of Silver Light Application?

Answer :

To alternate the default page of silver light utility, you want to set the Root Visual assets in the Application_Startup occasion of App.Xaml report.

Example:
private void Application_Startup(item sender,StartupEventArgs e)
 
this.RootVisual = new YourPage();
 

Microsoft Dynamics CRM Interview Questions
Question 28. What Is The Use Of Client Bin Folder?

Answer :

Client Bin folder is used to area the .Xap report of silver light utility. We can preserve this everywhere in our internet application however that is the default that is utilized by silver mild.

Question 29. What Is .Xap File?

Answer :

.Xap document is a silver mild based application package this is generated when the silver light assignment is constructed.Once we have created the .Xap file, the silverlight plug-in downloads the record and runs it in a separate workspace.

Microsoft Office 365 Interview Questions
Question 30. Can We Add The Reference Of Class Library Project In Silver Light Application Project?

Answer :

No, we will’t upload the reference of sophistication library in the silver light application project. We can most effective upload the reference of any other silver mild software challenge within the silver light utility challenge.However, we will upload the reference of Web Service or WCF Service.

Question 31. What Is Silverlight Run Time?

Answer :

Silver mild run time is a plug-in for browsers to guide silver-light enabled programs. If silver mild run time isn't installed, browsers will no longer be capable of run silver mild elements in the browser. We can setup the silver light tags any such way that your browser will routinely prompts the user to down load and installation the silver light plug-in whilst your utility is released in the browser.

Question 32. How Can You Change The Startup Page Of Silevrlight Application?

Answer :

Open the App.Xaml.Cs file
In the Application_Startup event handler, set the RootVisual assets to the instance of the precise SilverlIght class

instance: if we have a file called MainPage.Xaml, a class known as MainPage might be there in MainPage.Xaml.Cs.

Non-public void Application_Startup(object sender, StartupEventArgs e)

this.RootVisual = new MainPage();

Microsoft Sharepoint 2013 Interview Questions
Question 33. What Is Xaml ?

Answer :

Extensible Application Markup Language (XAML, stated zammel) is a declarative XML-based totally language created with the aid of Microsoft which is used to initialize established values and items.

Microsoft Outlook Interview Questions
Question 34. What Is The Difference Between Wpf And Silverlight?

Answer :

Silverlight makes use of a specific implementation of a XAML parser, with that parser being a part of the Silverlight core set up. In some instances, the parsing conduct differs from the parsing conduct in Windows Presentation Foundation (WPF), which additionally has a selected implementation.

Question 35. Can You Name Built-in Layout Panels You Have Been Using With Silverlight?

Answer :

You are searching out Canvas, StackPanel and Grid.

Question 36. What Is Storyboard?

Answer :

Storyboard is a Silverlight class with controls animations with a timeline, and presents item and assets focused on records for its child animations 

Given XAML underneath Code:

<Canvas> <Ellipse x:Name="ellipseTest" Height="20" Width="20" Canvas.Left="0" Canvas.Top="10" /> </Canvas>

Microsoft Entity Framework Interview Questions
Question 37. Can We Add The Reference Of A Class Library Project In Silverlight Application Project?

Answer :

No, You can't add the reference of a Class library inside the Silverlight utility assignment. You can simplest upload the reference of every other Silverlight software venture internal a Silverlight software task.

However, you may add the reference of a Web Service or WCF offerings.

Question 38. What Is Silverlight.Js File?

Answer :

Silverlight.Js is a helper document which allows Web web sites to create superior Silverlight installation and instantiation stories.

Question 39. What Is A .Xap File?

Answer :

xap file is a Silverlight-primarily based utility package deal (.Xap) that is generated whilst the Silverlight venture is built.

Question 40. What Is The Use Of Clientbin Folder?

Answer :

ClientBin folder is used to region the .Xap report of Silverlight application. You can keep this everywhere to your web application but this is the default this is utilized by the Silverlight.

Microsoft Azure Interview Questions
Question 41. What Is The Parent Xaml Tag Of Silverlight Page?

Answer :

UserControl is the parent xaml tag of the Silverlight web page. All different tags are placed beneath UserControl tag.

 <UserControl x:Class="SilverlightApplication2.MainPage"
    xmlns="http://schemas.Microsoft.Com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.Microsoft.Com/winfx/2006/xaml" 
    Width="400" Height="300">

 <Grid x:Name="LayoutRoot" Background="White">
    </Grid>
</UserControl>




CFG