Sign-In
Register
Please choose an option to Register
Register as Freelancer
Register as Client
Close
Bellgigs
Bridging Skills and Opportunities
Sign-In
Register
☰
Back To Interview Q & A
Back To Interview Q & A
Home
About Us
Apply for Jobs
Build Resume
Interview Questions & Answers
Contact Us
Help
Suggested Certification for Silverlight
No new Silverlight certifications available
Recommended Book 1 for Silverlight
★★★★☆
Check Amazon for current price
View Deal
On Amazon
Recommended Book 2 for Silverlight
★★★★☆
Check Amazon for current price
View Deal
On Amazon
Recommended Book 3 for Silverlight
★★★★☆
Check Amazon for current price
View Deal
On Amazon
Recommended Book 4 for Silverlight
★★★★☆
Check Amazon for current price
View Deal
On Amazon
Recommended Book 5 for Silverlight
★★★★☆
Check Amazon for current price
View Deal
On Amazon
Note:
*Check out these useful books! As an Amazon Associate I earn from qualifying purchases.
Interview Questions and Answers
1. What is Microsoft Silverlight?
Microsoft Silverlight is a development platform for building rich internet applications (RIAs) similar to Adobe Flash. It allows developers to create engaging, interactive web experiences using XAML and .NET languages like C# and VB.NET.
2. What programming languages can be used in Silverlight development?
Silverlight supports C# and VB.NET for application logic, and XAML (Extensible Application Markup Language) for designing the user interface.
3. What are the key features of Silverlight?
Key features include cross-browser and cross-platform support, integration with .NET, smooth streaming of media, Deep Zoom technology, and support for animations, vector graphics, and multimedia content.
4. What is XAML in Silverlight?
XAML (Extensible Application Markup Language) is used to design the UI in Silverlight applications. It defines objects, layouts, and controls declaratively, which are then linked to logic written in C# or VB.NET.
5. What are Silverlight applications composed of?
A Silverlight application typically consists of XAML files for UI design, .xap files (packaged assemblies), .dll libraries, and configuration files like App.xaml for application lifecycle management.
6. What is a .xap file in Silverlight?
A .xap file is the packaged output of a Silverlight project. It contains all compiled assemblies, resources, and the application manifest, which the Silverlight plugin downloads to run the app.
7. What is the role of the Silverlight Plugin?
The Silverlight Plugin is a browser extension that allows Silverlight applications to run in web browsers by interpreting the .xap file and rendering its UI.
8. What is Deep Zoom in Silverlight?
Deep Zoom is a Silverlight feature that allows users to zoom into high-resolution images smoothly and efficiently without performance lag, useful in mapping and image-based applications.
9. How does Silverlight integrate with .NET Framework?
Silverlight uses a subset of the .NET Framework known as the Silverlight Runtime, allowing developers to reuse existing .NET libraries and code while running securely within a browser sandbox.
10. Can Silverlight applications access local system files?
No, Silverlight applications run in a restricted security sandbox and cannot directly access local files unless the user explicitly grants permission via OpenFileDialog or SaveFileDialog.
11. What is Out-of-Browser (OOB) mode in Silverlight?
Out-of-Browser mode allows users to install Silverlight applications on their desktop and run them without opening a web browser. These applications can also work offline with limited functionality.
12. What is the role of the App.xaml file in Silverlight?
App.xaml defines global application-level resources and startup logic. It contains the entry point for the Silverlight application and references to styles or templates used across the app.
13. What controls are commonly used in Silverlight?
Common Silverlight controls include Button, TextBox, ComboBox, ListBox, Canvas, Grid, MediaElement, and DataGrid for UI design and interactivity.
14. How do you handle data binding in Silverlight?
Silverlight supports data binding using XAML attributes. It can bind UI elements to properties, collections, or external data sources using DataContext and INotifyPropertyChanged.
15. What is the difference between Silverlight and WPF?
WPF (Windows Presentation Foundation) is for desktop applications, while Silverlight is for web-based applications. Silverlight provides a subset of WPF’s functionality for browser environments.
16. Can Silverlight communicate with web services?
Yes. Silverlight can consume WCF services, REST APIs, and SOAP services using asynchronous network calls to retrieve or send data from remote servers.
17. How does Silverlight handle media streaming?
Silverlight supports Smooth Streaming technology for adaptive bitrate media delivery, ensuring seamless video playback even under changing network conditions.
18. What are the deployment options for Silverlight applications?
Silverlight applications can be hosted on a web server and accessed via browsers, or installed locally as Out-of-Browser apps. Deployment involves serving the .xap package and embedding it using object tags in HTML.
19. What is the lifecycle of a Silverlight application?
The Silverlight application lifecycle includes Application_Startup, Application_Exit, and Application_UnhandledException events, handled in the App.xaml.cs file.
20. Why did Silverlight decline in popularity?
Silverlight declined due to the rise of HTML5, JavaScript frameworks, and the discontinuation of browser plugin support. Microsoft officially ended Silverlight support in October 2021.
21. What is the lifecycle of a Silverlight application?
The Silverlight application lifecycle includes Application_Startup, Application_Exit, and Application_UnhandledException events, handled in the App.xaml.cs file.
22. Why did Silverlight decline in popularity?
Silverlight declined due to the rise of HTML5, JavaScript frameworks, and the discontinuation of browser plugin support. Microsoft officially ended Silverlight support in October 2021.