InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is The Parent Xaml Tag Of Silverlight Page? |
|
Answer» UserControl is the PARENT xaml tag of the Silverlight page. All other tags are placed under UserControl tag. <UserControl x:Class="SilverlightApplication2.MainPage" <GRID x:Name="LayoutRoot" Background="White"> UserControl is the parent xaml tag of the Silverlight page. All other tags are placed under UserControl tag. <UserControl x:Class="SilverlightApplication2.MainPage" <Grid x:Name="LayoutRoot" Background="White"> |
|
| 2. |
What Is The Use Of Clientbin Folder? |
|
Answer» ClientBin FOLDER is used to place the .xap file of Silverlight APPLICATION. You can KEEP this ANYWHERE in your WEB application but this is the default that is used by the Silverlight. ClientBin folder is used to place the .xap file of Silverlight application. You can keep this anywhere in your web application but this is the default that is used by the Silverlight. |
|
| 3. |
What Is A .xap File? |
|
Answer» XAP file is a Silverlight-based application PACKAGE (.xap) that is GENERATED when the Silverlight PROJECT is built. xap file is a Silverlight-based application package (.xap) that is generated when the Silverlight project is built. |
|
| 4. |
What Is Silverlight.js File? |
|
Answer» SILVERLIGHT.js is a helper file which enables WEB SITES to create ADVANCED Silverlight INSTALLATION and instantiation experiences. Silverlight.js is a helper file which enables Web sites to create advanced Silverlight installation and instantiation experiences. |
|
| 5. |
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 APPLICATION project. You can only add the reference of another Silverlight application project inside a Silverlight application project. However, you can add the reference of a WEB Service or WCF SERVICES. No, You can't add the reference of a Class library inside the Silverlight application project. You can only add the reference of another Silverlight application project inside a Silverlight application project. However, you can add the reference of a Web Service or WCF services. |
|
| 6. |
How Can You Change The Startup Page Of Silevrlight Application? |
|
Answer» Open the App.xaml.cs file example: if we have a file known as MainPage.xaml, a class known as MainPage will be there in MainPage.xaml.cs. private void Application_Startup(OBJECT sender, StartupEventArgs E) { this.RootVisual = NEW MainPage(); } Open the App.xaml.cs file example: if we have a file known as MainPage.xaml, a class known as MainPage will be there in MainPage.xaml.cs. private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new MainPage(); } |
|
| 7. |
What Is Silverlight Run Time? |
|
Answer» 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. 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. |
|
| 8. |
Can We Add The Reference Of Class Library Project In Silver Light Application Project? |
|
Answer» No, we can’t ADD the REFERENCE of class LIBRARY inside the silver LIGHT application project. We can only add the reference of another silver light application project inside the silver light application project.However, we can add the reference of Web Service or WCF Service. No, we can’t add the reference of class library inside the silver light application project. We can only add the reference of another silver light application project inside the silver light application project.However, we can add the reference of Web Service or WCF Service. |
|
| 9. |
What Is .xap File? |
|
Answer» .xap file is a SILVER light BASED application package that is generated when the silver light project is built.Once we have created the .xap file, the SILVERLIGHT plug-in downloads the file and runs it in a separate workspace. .xap file is a silver light based application package that is generated when the silver light project is built.Once we have created the .xap file, the silverlight plug-in downloads the file and runs it in a separate workspace. |
|
| 10. |
What Is The Use Of Client Bin Folder? |
|
Answer» 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. 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. |
|
| 11. |
How To Change The Default Page Of Silver Light Application? |
|
Answer» To CHANGE the DEFAULT page of silver light APPLICATION, you need to SET the Root Visual property inside the Application_Startup event of App.xaml file. Example: To change the default page of silver light application, you need to set the Root Visual property inside the Application_Startup event of App.xaml file. Example: |
|
| 12. |
What Are The Steps Will Followed When Consuming Wcf In Silver Light? |
|
Answer» 4 SIMPLE steps to consume WCF SERVICE using SILVER light
4 simple steps to consume WCF service using Silver light |
|
| 13. |
What Is Isolated Storage? |
|
Answer» SILVER light uses isolated storage as a virtual file system to store data in a hidden folder on your MACHINE. It BREAKS up the data into two separate sections: Section #1 contains the administrative information such as disk quota Section #2 contains the actual data. Each silver light application is allocated its own PORTION of the storage with the current quota set to be 1 MB per application.
Silver light uses isolated storage as a virtual file system to store data in a hidden folder on your machine. It breaks up the data into two separate sections: Section #1 contains the administrative information such as disk quota Section #2 contains the actual data. Each silver light application is allocated its own portion of the storage with the current quota set to be 1 MB per application.
|
|
| 14. |
How Can Be A Silverlight Application Shown In Full-screen Mode? |
|
Answer» You can SHOW the SILVERLIGHT application in full-screen mode by USING the following COMMAND: Application.Current.Host.Content.IsFullScreen = true; You can show the silverlight application in full-screen mode by using the following command: Application.Current.Host.Content.IsFullScreen = true; |
|
| 15. |
How Can Be The Default Page Settings Changed For A Silverlight Page ? |
|
Answer» You can change the default page SETTINGS of a silverlight page. This can be done by setting the RootVisual property in the Application_Startup event of the App.xaml FILE. This is done as follows: PRIVATE void Application_StartUp(OBJECT sender, StartupEventArgs e) { this.RootVisual = new MainPage(); } You can change the default page settings of a silverlight page. This can be done by setting the RootVisual property in the Application_Startup event of the App.xaml file. This is done as follows: Private void Application_StartUp(object sender, StartupEventArgs e) { this.RootVisual = new MainPage(); } |
|
| 16. |
Give The Reasons How Ajax Is Better Than A Java Applet? |
Answer»
|
|
| 17. |
Give An Example Of Creating Button In Xaml ? |
|
Answer» In XAML, a BUTTON can be created as in the FOLLOWING example: Example: <GRID x:Name="LayoutRoot" Background="White"> <Button Width="60" HEIGHT="30">Click Here</Button> </Grid> In XAML, a button can be created as in the following example: Example: <Grid x:Name="LayoutRoot" Background="White"> <Button Width="60" Height="30">Click Here</Button> </Grid> |
|
| 18. |
Which Types Of Video Files Can Silverlight Support? |
|
Answer» SILVERLIGHT can support MANY types of video files. Silverlight can support many types of video files. |
|
| 19. |
Explain Deep Zoom In Silverlight? |
Answer»
|
|
| 20. |
What Is .xap File In Context Of Silverlight? |
|
Answer» 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. 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. |
|
| 21. |
What Browsers And Platforms Are Supported By Silverlight Version 2? |
|
Answer» SILVERLIGHT version 2 supports all popular browsers LIKE INTERNET EXPLORER,Firefox,Safari on Both Mac OS and WINDOWS OS. Silverlight version 2 supports all popular browsers like Internet Explorer,Firefox,Safari on Both Mac OS and windows OS. |
|
| 22. |
What Is Story Board In Silverlight? |
|
Answer» A STORYBOARD in the Silverlight is a container where we can put animation objects. We need to make the Storyboard a resource that is AVAILABLE to the objects that we WANT to ANIMATE. A Storyboard in the Silverlight is a container where we can put animation objects. We need to make the Storyboard a resource that is available to the objects that we want to animate. |
|
| 23. |
What Is Easing Functions In Silverlight? |
|
Answer» 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. 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. |
|
| 24. |
What Happens If We Press F5 In Visual Studio To Run A Silverlight Application? |
|
Answer» The following happens if we press F5 in Visual Studio to run a SILVERLIGHT Application. a)A new folder is created in website project.(It happens only FIRST time) The following happens if we press F5 in Visual Studio to run a Silverlight Application. a)A new folder is created in website project.(It happens only first time) |
|
| 25. |
What Types Of Security Measures Are Provided With Silverlight? |
|
Answer» Silverlight is Microsoft based technology and it COME up with some security FEATURES, to make it secure to use and implement. For secure COMMUNICATION its applications makes use of WCF services and uses WCF security features. SSL (Secure SOCKET Layer) can be used for security mechanism to give the transport layer security. Silverlight is Microsoft based technology and it come up with some security features, to make it secure to use and implement. For secure communication its applications makes use of WCF services and uses WCF security features. SSL (Secure Socket Layer) can be used for security mechanism to give the transport layer security. |
|
| 26. |
Does Silverlight Application Supports Desktop Implementation? |
|
Answer» Yes, Silverlight supports desktop IMPLEMENTATION. Newer version of Silverlight provides out-of-browser facility, by using this feature it can be physically deployed on the LOCAL machine. Silverlight 4.0 supports OOB facility that enhances the communication with other applications like Word, EXCEL etc. and with the local database like MS Access etc. Yes, Silverlight supports desktop implementation. Newer version of Silverlight provides out-of-browser facility, by using this feature it can be physically deployed on the local machine. Silverlight 4.0 supports OOB facility that enhances the communication with other applications like Word, Excel etc. and with the local database like MS Access etc. |
|
| 27. |
Where Is The Silverlight Application Present? |
|
Answer» 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. 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. |
|
| 28. |
What Are The Controls Provided In Silverlight For Line-of-business (lob) Applications? |
|
Answer» Silverlight provides LOTS of applications for Line-of-Business (LOB) to have better communication AMONG the elements and ALSO to enrich the properties of the APPLICATION. The controls which are being PROVIDED by the Silverlight are as follows: Data Grid: The representation of data in a grid form Data Form: Representation of data in a form Chart controls: Representation of data in chart forms and has additional functionality to display the controls for customization. Silverlight provides lots of applications for Line-of-Business (LOB) to have better communication among the elements and also to enrich the properties of the application. The controls which are being provided by the Silverlight are as follows: Data Grid: The representation of data in a grid form Data Form: Representation of data in a form Chart controls: Representation of data in chart forms and has additional functionality to display the controls for customization. |
|
| 29. |
What Is The Relationship Between Silver Light, Wpf And Xaml? |
|
Answer» Silverlight is used to read and render the user interface (UI) elements. XAML is a XML file that defines the user interface elements. This file is being read by the WPF framework. Microsoft DEVELOPED WPF framework and then EXTENDED it to WPF/e, which helped the APPLICATION to render user interface in the BROWSER. Silverlight is being officially launched by Microsoft. Silverlight is used to read and render the user interface (UI) elements. XAML is a XML file that defines the user interface elements. This file is being read by the WPF framework. Microsoft developed WPF framework and then extended it to WPF/e, which helped the application to render user interface in the browser. Silverlight is being officially launched by Microsoft. |
|
| 30. |
Explain Silverlight Architecture? |
|
Answer» 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. 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. |
|
| 31. |
What Type Of Applications Can Be Developed Using Silverlight? |
|
Answer» SILVERLIGHT is a plug-in, which can be used to develop web based or MOBILE based applications. Silverlight is used in those applications where you need to represent the graphics or the output should be in GRAPHICAL format. Silverlight can be used in various types of Line-of-Business applications such as: Healthcare, Insurance, Logistics ETC. One of the good example of its application is healthcare application. Silverlight is a plug-in, which can be used to develop web based or mobile based applications. Silverlight is used in those applications where you need to represent the graphics or the output should be in graphical format. Silverlight can be used in various types of Line-of-Business applications such as: Healthcare, Insurance, Logistics etc. One of the good example of its application is healthcare application. |
|
| 32. |
What Are The Restrictions Of Web Service Accessing In Silverlight? |
|
Answer» 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. 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. |
|
| 33. |
What Is The Real Advantage Of Using Excel/word Files Or Local Database In Silverlight? |
|
Answer» The REAL advantage of using Excel or WORLD files or any local database in Silverlight is that it PROVIDES easy to manage features for store and fetching the data, which are frequently used by the applications. It doesn’t rely much on WCF services to PROVIDE the properties for data communication. The data is automatically fetched and saved in excel or word sheets for FUTURE references. The real advantage of using Excel or World files or any local database in Silverlight is that it provides easy to manage features for store and fetching the data, which are frequently used by the applications. It doesn’t rely much on WCF services to provide the properties for data communication. The data is automatically fetched and saved in excel or word sheets for future references. |
|
| 34. |
What Are The Advantages Of Extensible Application Markup Language (xaml) Over C# Or Vb.net? |
|
Answer» XAML is the language which is used with SILVERLIGHT. It is one of the GROWING languages that has lots of features and properties. The advantages of it over C# or VB.NET are that: C# or VB.NET PROVIDE development by USING coding whereas, XAML provides codeless development and provides lots of features to create complex user interface CONTROLS etc. It can also define an instance of class which is being already defined by C# or VB.NET. XAML is the language which is used with Silverlight. It is one of the growing languages that has lots of features and properties. The advantages of it over C# or VB.NET are that: C# or VB.NET provide development by using coding whereas, XAML provides codeless development and provides lots of features to create complex user interface controls etc. It can also define an instance of class which is being already defined by C# or VB.NET. |
|
| 35. |
Can You Use Any Specific Patterns In Silverlight Programming? |
|
Answer» Yes, you can use any specific PATTERNS in Silverlight PROGRAMMING, as it provides Model-View or View-Model approach. This approach provides the provision to create loosely coupled application where the code is completely isolated from XAML. Prism which is a set of classes provided for development of such applications can ALSO be USED to provide more flexibility. Yes, you can use any specific patterns in Silverlight programming, as it provides Model-View or View-Model approach. This approach provides the provision to create loosely coupled application where the code is completely isolated from XAML. Prism which is a set of classes provided for development of such applications can also be used to provide more flexibility. |
|
| 36. |
What Is Name Scope In Silverlight? |
|
Answer» 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. 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. |
|