Services by DLR to CLR
Explain about the different services provided by the DLR to CLR.
Expert
The services provided by DLR to CLR used for supporting dynamic languages are as following:
a) Expression Trees – It refers to the demonstration of the code in a data structure like a tree. Though, expression trees in the DLR are advanced version of the expression trees which were introduced with the LINQ in .NET 3.5. Therefore, DLR has extended the functionalities of Language Integrated Query (LINQ) expression trees, like, assignment, control flow, and other language-modeling nodes to a dynamic language. These expression trees describe the semantics of the language in the form of an abstract syntax tree (AST). AST allows the DLR to dynamically generate the code, which CLR executes at runtime.
b) Call Site Caching - It enables DLR in order to store the information of operations and characteristics of the variables, for example: their data type. Call site caching services also facilitates to check if such operations have been performed previously in order to retrieve all the information about the variable. Place where DLR stores these values is called a call site.
c) Dynamic Object Interoperability – It allows the DLR in order to provide a set of classes and interfaces which represent the dynamic objects and the operations. These classes and the interfaces may be used in order to create the classes for the dynamic libraries, that can be used in static and dynamic type languages.
Specify the process of execution for the managed code.
Briefly describe constant.
Write the name of namespaces which are required to allow the use of the databases in the ASP.NET pages?
Write the difference between Select clause and the SelectMany() method in theLINQ?
What is a static constructor and also explain its features?
Write about the Satellite Assembly?
In what way we can check/uncheck every item in a CheckedListBox control in the .NET 4.0 framework?
Explain WebParts controls in ASP.NET and in what way we can provide WebParts control functionality to the server control?
Describe the role of the JIT compiler in .NET Framework?
Name the latest features of the ADO.NET Entity Framework 4.0?
18,76,764
1924858 Asked
3,689
Active Tutors
1421172
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!