Notes on ASP.NET & C# FRAMEWORK


Q.1 what is .NET?
Ans .NET is a software that executes on the Windows Operating System platform. It provides to the developer the tools, libraries and the services to developer web services and software application much faster and easier. .NET eliminates the boundaries between the applications and the Internet. User can access their information from any device and anywhere. .NET depends on four Internet standards. HTTP SOAP XML UDDI This technology is a revolutionary one that enables the user to do things that was never before possible such as integrate fax, e-mail, and phone services, centralize data storage and synchronize all of users computing devices to be automatically updated.
Q.2 what is Microsoft Intermediate Language (MSIL)? OR How MSIL compile?

Ans MSIL stands for Microsoft Intermediate Language or can also call Intermediate Language (IL) or Common Intermediate Language (CIL). MSIL is a CPU-independent set of instructions that can be efficiently converted to the native code. During compilation, compiler converts the source code into MSIL.
During the runtime, the Common Language Runtime (CLR) Just in Time (JIT) compiler converts the MSIL code into native code to the Operating System.

Q.3 what is CLR? Why it is used?
Ans CLR stands for Common Language Runtime. It is a platform on which applications are hosted and executed. Programs coded for .NET framework run in an environment that manages the program’s runtime requirements. This environment is called CLR. CLR used to manage memory, threadexection, code execution, code safety, verification, compilation and other system services.

Q.4 what is CTS? What is its purpose?
Ans. CTS stands for Common Type System. It is the component of the CLR that shows the types supported by the CLR. There are two types a) Value Types b) Reference Types the purpose of CTS is to set the rules for the language compilers. It explains how the types are used, declared, and managed in the runtime and provides support for cross-language integration and type safety.

Q.5 what do you understand by web forms?
Ans Web forms are based on ASP.NET.
1. Web forms provide a browser based user interface.
2. All server controls must be appear in <form>tag.
3. Web forms are divided into two parts:
Templates: which contains HTML-based layout information?
Component: which contains all the logic related to the controls?
4. Web forms are on the System.Web.UI.Pageclass.The class hierarchy for the page class is shown below. a) Object b) Control C) Template Control d) Page
5. ASP.NET Web Forms provide an easy and powerful way to develop dynamic Web UI.