NET?s Base class library exists in order to encapsulate huge number of common functions and makes them easily accessible to the developer NET base class library provides the functionality like ADONET, XML, Threading, IO, Security, Diagnostics, Resources, Globalization, collections etc It serves as the main point of interaction between developer and runtime
Technology problems
Search Results
1. Explain how a .NET application is compiled and executed?
Correct Answer: Any code written in any NET complaint languages when compiled, converts into MSIL (Microsoft Intermediate Language) code in form of an assembly through CLS, CTS IL is the language that CLR can understand On execution, this IL is converted into binary code by CLR?s just in time compiler (JIT) and these assemblies or DLL are loaded into the memory
2. What is the information does assembly manifest provide?
Correct Answer: Information provided by Assembly Manifest: Assembly Name Version Number Culture Strong name List of files inside the assembly Reference information
Correct Answer: Assembly Manifest is a file that contains data that describes how the elements present inside an assembly are connected to each other The assembly manifest contains assembly metadata to define the scope of the assembly and resolve references to resources and classes
Correct Answer: Setting up the break points: Go to the line where you need to mark the breakpoint Click with mouse on left corner margin of that line Another way is to press F9
Correct Answer: A web application resides in the server and serves the client’s requests over internet The client access the web page using browser from his machine When a client makes a request, it receives the result in the form of HTML which are interpreted and displayed by the browser A web application on the server side runs under the management of Microsoft Internet Information Services (IIS) IIS passes the request received from client to the application The application returns the requested result in the form of HTML to IIS, which in turn, sends the result to the client
6. Explain the process of creating a context menu using the ContextMenu component
Correct Answer: ContextMenu component provides the users with the ability to access some very frequently used commands Context menu works by right click of mouse They mainly provide access to commands particular to the control that has been clicked upon
Correct Answer: A delegate declares a ref type that references a named of anonymous method Delegates are secure and type-safe Consider them as type safe function pointers
Correct Answer: Managed execution process is a process where CLR executes the managed code The steps involved in this process are: Choosing the right compiler Compiling the code to MSIL This also generates the required metadata Compile the MSIL ode to native machine code Executing the code with the variety of services available