Silverlight Interview Questions and Answers, Silverlight Interview Questions and Answers Freshers, Silverlight Interview Questions and Answers, Silverlight Interview Questions

Before getting on to the Silverlight interview questions, the student must know that the Silverlight is a continuously varying field which needs the students as well as professionals to upgrade their skills with the new features and knowledge, to get fit for the jobs associated with Silverlight. This post related to Silverlight Interview Questions and Answers, Silverlight Interview Questions and Answers Freshers, Silverlight Interview Questions and Answers, Silverlight Interview Questions will help you let out find all the solutions that are frequently asked in you upcoming Silverlight interview.

Over thousands of vacancies available for the Silverlight developers, experts must be acquaintance with all the component of Silverlight technologies. This is necessary for the students in order to have in-depth knowledge of the subject so that they can have best employment opportunities in the future. Knowing every little detail about Silverlight is the best approach to solve the problems linked with problem.

APTRON has spent hours and hours in researching about the Silverlight Interview Questions and Answers, Silverlight Interview Questions and Answers Freshers, Silverlight Interview Questions and Answers, Silverlight Interview Questions that you might encounter in your upcoming interview.  All these questions will alone help you to crack the interview and make you the best among all your competitors.

First of all, let us tell you about how the Silverlight technology is evolving in today’s world and how demanding it is in the upcoming years. In fact, according to one study, most of the companies and businesses have moved to the Silverlight. Now, you cannot predict how huge the future is going to be for the people experienced in the related technologies.

Hence, if you are looking for boosting up your profile and securing your future, Silverlight will help you in reaching the zenith of your career. Apart from this, you would also have a lot of opportunities as a fresher.

These questions alone are omnipotent. Read and re-read the questions and their solutions to get accustomed to what you will be asked in the interview. These Silverlight interview questions and answers will also help you on your way to mastering the skills and will take you to the giant world where worldwide and local businesses, huge or medium, are picking up the best and quality Silverlight professionals.

This ultimate list of best Silverlight interview questions will ride you through the quick knowledge of the subject and topics like Estimating Available Hours, Burndown Chart, Sprint Retrospective. This Silverlight interview questions and answers can be your next gateway to your next job as a Silverlight expert.

These are very Basic Silverlight Interview Questions and Answers for freshers and experienced both.

Q1: What Is Name Scope In Silverlight?
A1: Name scope in Silverlight stores the relationship between XAML and the objects which are being defined by the XAML, with their instance equivalents. Whenever, you create a new object, a new name scope will automatically be created. But, there is a problem in this, when name scope is being created for the dynamic objects, sometimes it causes an exception to occur or some kind of error.

Q2: What Are The Restrictions Of Web Service Accessing In Silverlight?
A2: Silverlight provides and supports lots of features but there are some restrictions as well, such as WS-Security and WS-Addressing are not supported. When working with the languages such as ASMX/JAVA/PHP, you need to see that you have SOAP 1.1 and WS-I Basic Profile 1.0. Silverlight only support GET and POST actions, others are not supported. It doesn’t have full http features also.

Q3: Explain Silverlight Architecture?
A3: Silverlight is a plugin that is provided by the Microsoft. Silverlight architecture includes the functionality from core .NET framework, Ajax and having some of its own functionality such as animation, media etc. The architecture consists of four blocks:

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

Presentation core: core presentation framework includes the display options such as images, vector animations etc.

Other technologies: Ajax and JavaScript technologies are used to interact with Silverlight framework.

Hosting: Silver-light animations run under the browser environment and it also provides lots of other application hosting programs.

Q4: Where Is The Silverlight Application Present?
A4: Silverlight application resides on the host computer where the ASP.NET is installed. It resides in the ASP.NET webpage, but it can be hosted on other HTML pages too, by using the extension .xap. Silverlight application is made available to the browser when a user makes a HTTP request to ASP.NET page.

Q5: What Is Easing Functions In Silverlight?
A5: Easing functions is used in Silverlight to utilise custom mathematical formulas to animations. For example,if we want an object to oscillate we could use we can use a corresponding mathmetical function to accurately depict this motion.

Q6: What Is .xap File In Context Of Silverlight?
A6: The .xap file is a compressed output file for the Silverlight application. This file includes AppManifest.xaml, compiled output assembly of the Silverlight project (.dll) and other resource files referred by the Silverlight application.

Q7: Which Types Of Video Files Can Silverlight Support?
A7: Silverlight can support many types of video files.

This platform can support MP3, Windows Media Audio format (wma, wmv7-9), and also VC-1 formats.

Q8: How Can Be A Silverlight Application Shown In Full-screen Mode?
A8: You can show the silverlight application in full-screen mode by using the following command:
Application.Current.Host.Content.IsFullScreen = true;

Q9: What Are The Steps Will Followed When Consuming Wcf In Silver Light?
A9: 4 simple steps to consume WCF service using Silver light

  • Create the WCF service
  • Enable Cross Domain for your WCF service
  • Add the WCF service reference
  • Call the Service

Q10: What Is The Use Of Client Bin Folder?
A10: Client Bin folder is used to place the .xap file of silver light application. We can keep this anywhere in our web application but this is the default that is used by silver light.

Q11: What Is Silverlight Run Time?
A11: Silver light run time is a plug-in for browsers to support silver-light enabled applications. If silver light run time is not installed, browsers will not be able to run silver light elements in the browser. We can setup the silver light tags such a way that your browser will automatically prompts the user to download and install the silver light plug-in when your application is launched in the browser.

Q12: What Is Xaml ?
A12: 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.

Q13: What are the different development tools used in Silverlight?
A13: The tool that is 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.

Q14: What is the purpose of control templates in Silverlight?
A14: Control templates allow the control of the data templates to allow easy specification in conversion of the data objects into the user interface element objects. This helps the same content to be displayed to the user. The control templates can be used to modify the visual structure of the template with an existing user interface element. The objects will be controlled by using the property of reusability. The control templates have their own visual appearance defined by native XAML resource. This file is contained in assembly of the silverlight that defines that particular control that is getting used.

Q15: What are the modes that are provided in Silverlight?
A15: Silverlight provides the mode graphics that includes multimedia graphics, animations and interactivity programs at runtime. It is well handled with XAML file and the JavaScript is used to give it overall functionality for user interaction. XAML is used for providing the vector graphics and animations to an application. Textual content can be created using Silverlight as it allows easy to search and index the created graphics that can’t be represented as graphics but text. Silverlight supports the provision to create gadgets and playback of multimedia files or content that is supported by all the browsers. It uses the commercial and non-commercial mode to support both the levels of consumers. It allows the dynamic code that load XML component that can be modified through DOM interface.

Q16: How to use XAML namescope at run time?
A16: XAML namescope allow the user to create different template files and reference the objects that are declared in XAML. This allows the separate files to be maintained and make it individually separate from each other. XAML uses the parser that creates a set of objects that retain some or all of the relationships that are declared in XAML files. The relationship manages the specific object properties of the created objects. The namescope is used at run time to identify the individual elements from one another and to give the direct reference to an object instance. The instance becomes enabled by using the markups that is used for compilation process. The initializeComponent method is used to initialize the partial class template. Silverlight consists of build in functions and actions that can identify the namescope for different element at run time. The FindName method can be also used at run time to return the reference of the object that is defined by the XAML markup.

Q17: What is the function of an object tree used in Silverlight?
A17: Object tree is used to create and manage the objects in a hierarchical way. This allows easy to make the relation at run time that are related to each other. The relationships are based on the properties of the objects that are similar to one another and the value of the property that are comparatively similar to each other. The object tree consists of branches that are used to store some properties that are collection of other properties and it holds more objects in a chain. The object tree consists of the root element that is considered as parent and it is necessary to maintain the architecture. This architecture is used to reference single object to display the content of it. Object tree structure is composed of parent and child implementation details.

Q18: How the even routing method works in Silverlight?
A18: Event routing is an important concept that is based on the visual tree. Routing of the events support RoutingStragegy of Bubble, Tunnel and Direct methods that are used to make it possible.

Bubble: is the most used routing method used. It allows a bubble to propagate the visual tree from source element till it is handled differently to reach the root element. It also allows the event of an object to be handled by the element hierarchy coming from the source element.

Tunnel: they start at the root element and then traverse down the element in the tree till they have handled and reached the source element of the event. They have their own names that are prefixed with Preview like PreviewMouseDown.
Direct: are the normal events that handles the event delegates hooked up to an event.

Q19: What are the different classes used in Visual tree?
A19: The different classes that are used in Visual tree are as follows:

ScrollViewer: allows to include an area that is scrollable and contains the visible elements of it like scroll bar.

ScrollContentPresenter: allows the content of the ScrollViewer to be displayed.

ItemsPresenter: allows the control of the specific item to be used in a visual tree where it present the items that has to be arranged in a panel using ItemsPanel and ItemsControl.

VirtualizingStackPanel: this arranges the stack panel and virtualizes the content used in it in a single line that can be made oriented in any direction either horizontal or vertical.

ContentPresenter: allows the user to present and displays the content of a ContentControl method. It also allows the flow of the content to be managed together in one way and can be represented together.

Q20: What does rendering engine in the Silverlight includes?
A20: Rendering engine is a powerful engine to render the visual appearance and the content of the page. It also helps in controlling the content of the page. It includes the following:

Text rendering support: it helps in rendering the text that can be used by the content and to make the visual appearance more effective.

Subpixel positioning: it helps in positioning the pixels and the pixels that are contained by the previous one together. It helps in maintaining a format between the pixels that provide the correct aligning of it.

Custom anti-aliasing for sharper text: Anti aliasing allows the text to be more smooth and to soften the edges of the text. It helps in making the text more legible by aligning text that remains on the pixel positions and rendered in small font sizes. Custom anti-aliasing helps in choosing the better option of it.

Transforms: the transform can be of many type but the main type is path transform or brush transform that is used to transform the text and graphics by resampling the content and the data involved in it.

Q21: What features are missing from Silverlight presentation markup that will be supported in WPF?
A21: Some high-end Windows specific features of WPF, such as real 3D, hardware-based video acceleration, and full document support, will not be supported in Silverlight. This is by design in order to serve Silverlight’s cross-browser, cross-platform reach scenario that demands a light weight plug-in. That being said, Silverlight will offer a uniform runtime that can render identical experiences across browsers on both Mac OS and Windows.

Q22: What is the long-term goal or vision for Silverlight?

  • Microsoft Silverlight is a cross-browser, cross-platform, and cross-device plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web.
  • Silverlight offers a flexible programming model that supports AJAX, VB, C#, IronPython, and IronRuby, and integrates with existing Web applications.
  • By using Expression Studio and Visual Studio, designers and developers can collaborate more effectively using the skills they have today to light up the Web of tomorrow.
  • By leveraging Silverlight’s support for .NET, High Definition video, cost-effective advanced streaming, unparalleled high-resolution interactivity with Deep Zoom technology, and controls, businesses can reach out to new markets across the Web, desktop, and devices.

Q23: What are the different Layout controls available in Silverlight?
A23: There are three different types of Layout controls provided by Silverlight:

  • Canvas – Position child elements absolutely in x, y space.
  • StackPanel – Position child elements relative to one another in horizontal or vertical stacks.
  • Grid – Position child elements in rows and columns.

You have to add a layout panel to every XAML page you create. All other UI elements must be added inside one of the layout panels. Each page can have exactly one layout panel control.

Q24: What is the difference between Silverlight and Flash?
A24: Adobe Flash is the most popular competitor to Silverlight, supporting browser plug-ins and enabling the execution of rich content for the Web. Flash is not a new technology, and already has had a long life span as compared to Silverlight. But it does not have a huge community as expected; it may be because of the limited development tools which are not known to most developers. Flash uses ActionScript as the programming language and Flex as the programming environment, and most developers are far from these technologies.

For ASP.NET developers, to extend their websites using Flash content is not so simple. They need to learn a development environment like ActionScript and Flex. Apart from that, there is no way to generate Flash content using server-side .NET code, which means it’s difficult to integrate ASP.NET content and Flash content.

Silverlight aims to give .NET developers a better option for creating rich web content. Silverlight provides a browser plug-in with many similar features to Flash, but one that’s designed from the ground up for .NET. Silverlight natively supports the C# language, and uses a range of .NET concepts. As a result, developers can write client-side code for Silverlight in the same language they use for server-side code (such as C# and VB), and use many of the same abstractions (including streams, controls, collections, generics, and LINQ).

Q25: Which language is Silverlight developed in?
A25: It was developed using a combination of C# and C++.

Q26: What is the Silverlight official name?
A26: Silverlight was formerly code-named “WPF/E”.

Q27: What are the main features and benefits of Silverlight?

  • Compelling cross-platform user experiences.
  • Flexible programming model with collaboration tools.
  • High-quality media, low-cost delivery.
  • Connected to data, servers, and services.

Q28: What is a Silverlight.js file?
A28: Silverlight.js is a helper file which enables websites to create advanced Silverlight installation and instantiation experiences. You can call the createObject and createObjectEx functions defined in this file to embed the Silverlight plug-in in a web page.

Q29:Describe how to perform Event handling in silverlight.
A29: Event handling is performed in two event cases – Input events and Non-input events.

  • Input Events: The hosting browser for Silver Light plug-in handles the input events input stimulus, as SilverLight works within the hosting browser plug-in architecture. The event is sent to SilverLight plug-in through the browser. Later the event is raised in the SilverLight Object Model.
  • Non-Input Events: These events report a change state of a particular object. For instance, progress of initiated actions by the web client. Certain non-input events provide information of objects as a framework level for lifetime. An example of such event is FreameworkElementLoaded event.

Q30: What you must require in order to run Silverlight applications on a web server?
A30: 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.

Q31: What Silverlight is composed of?
A31: Silverlight comes with four main components

  • Silverlight Plug-in
  • Silverlight Host, the Web Page
  • Silverlight Application File (.XAP)
  • The Interface language, XAML

Q32: Mention what is the XAP mime type in Silverlight?
A32: The .XAP mime type is: application/x-Silverlight.

Q33: Explain what is RIA?
A33: 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.

Q34: Explain the use of ClientBin folder in Silverlight
A34: The ClientBin folder is used for placing .xap file of a Silverlight application. This folder can be kept anywhere in the web application.

Q35: Explain how you can pass parameters to silver light controls from ASP.NET pages?
A35: 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.

Silverlight Conclusion Interview FAQs

We know the list of Silverlight Interview Questions and Answers, Silverlight Interview Questions and Answers Freshers, Silverlight Interview Questions and Answers, Silverlight Interview Questions is overwhelming but the advantages of reading all the questions will maximize your potential and help you crack the interview. The surprising fact is that this Silverlight interview questions and answers post covers all the basic of the Silverlight technology and you have to check out the FAQs of different components of Silverlight too.

However, you will be asked with the questions in the interview related to the above mentioned questions. Preparing and understanding all the concept of Silverlight technology will help you strengthen the other little information around the topic.

After preparing these interview questions, we recommend you to go for a mock interview before facing the real one. You can take the help of your friend or a Silverlight expert to find the loop holes in your skills and knowledge. Moreover, this will also allow you in practicing and improving the communication skill which plays a vital role in getting placed and grabbing high salaries.

Remember, in the interview, the company or the business or you can say the examiner often checks your basic knowledge of the subject. If your basics is covered and strengthened, you can have the job of your dream. The industry experts understand that if the foundation of the student is already made up, it is easy for the company to educate the employ towards advance skills. If there are no basics, there is no meaning of having learnt the subject.

Therefore, it’s never too late to edge all the basics of any technology. If you think that you’ve not acquired the enough skills, you can join our upcoming batch of Silverlight Training in Noida. We are one of the best institute for Silverlight in noida which provide advance learning in the field of Silverlight Course. We’ve highly qualified professionals working with us and promise top quality education to the students.

We hope that you enjoyed reading Silverlight Interview Questions and Answers, Silverlight Interview Questions and Answers Freshers, Silverlight Interview Questions and Answers, Silverlight Interview Questions and all the FAQs associated with the interview. Do not forget to revise all the Silverlight interview questions and answers before going for the Silverlight interview. In addition to this, if you’ve any doubt or query associated with Silverlight, you can contact us anytime. We will be happy to help you out at our earliest convenience. At last, we wish you all the best for your upcoming interview on Silverlight Technology.