Archive for December, 2007

.NET Framework:: Basics

December 14, 2007 4 comments


I am posting some basic questions on .NET Framework which will help the beginners.

1- What is .NET framework?
Ans :

Wiki defines

“The Microsoft .NET Framework is a software component that is a part of modern Microsoft Windows operating systems. It provides a large body of pre-coded solutions to common program requirements, and manages the execution of programs written specifically for the framework.”

Another one

A programming infrastructure created by Microsoft for building, deploying, and running applications and services that use .NET technologies, such as desktop applications and Web services. It provides a highly productive, standards-based, multi-language environment for integrating existing investments with next-generation applications and services, as well as the agility to solve the challenges of deployment and operation of Internet-scale applications.
.NET Framework consists of 3 main parts :

  • Common Language Runtime,
  • .NET Framework class library,

2- What is CLR?

Ans :
CLR stands for Common Language Runtime. It is the implementation of CLI, Common Language Infrastructure which defines the execution environment for program code. The role of CLR starts after the compilation of the code written in the different languages by their respective compilers. The compiler converts the code into the CIL(Common Intermediate Language). The CLR’s just-in-time compiler converts this CIL code into the native code specific to the operating system at runtime. The CLR also provides other important services including:

  • Memory Management,
  • Thread Management,
  • Exception Handling,
  • Security,
  • Garbage Collection

3- What is CLI?


This is the main component of .NET framework. CLI stands for Common Language Infrastructure. CLI is a “specification” which defines an environment that allows multiple high-level languages to be used on different computer platforms without being rewritten for specific architectures. The implementation of CLI is known as CLR, Common Language Runtime. CLI describes four aspects:

  • Common Type System (CTS),
  • Metadata,
  • Common Language Specification (CLS),
  • Virtual Execution System (VES)

4- What is MSIL?
MSIL stands for Microsoft’s Standard Implementation Language. Now it is known as CIL, Common Intermediate Language. This is the bytecode formed after the compilation of the program code.

5- What is CTS?
CTS stands for Common Type System. It is a part of CLI. The .NET framework supports type definitions which are independent of any specific programming language, and CTS covers a range of topics related to type handling. These topics include type safety, cross-language sharing of typed data, type behavior and features, and performance.

6- What is JIT compiler?
JIT stands for Just-in-time compiler and is a part of the CLR. JIT compiler, at runtime, compiles the CIL (bytecode) into the native code specific to the operating system.

7- What is CLS?
Common Language Specification is a set of basic language features needed by many applications. It helps enhance and ensure language interoperability by defining a set of features that developers can rely on to be available in a wide variety of languages.

8- What is VES?
VES stands for Virtual Execution System. It provides an environment for executing managed code. It also gives the support for a set of built-in data types, defines a hypothetical machine with an associated machine model and state, a set of control flow constructs, and an exception handling model.To a large extent, the purpose of the VES is to provide the support required to execute the Common Intermediate Language instruction set.

9- What are .NET Assemblies?
.NET Assemblies contain the intermediate CIL code. Assemblies are stored in the Portable Executable (PE) format. It consists of one or more files, but one of these must contain the manifest, which has the metadata for the assembly. The complete name of an assembly contains its simple text name, version number, culture and public key token.

I will continue with some more stuff on different topics.

Categories: .NET

Life is changing:

December 12, 2007 2 comments

Life can take any turn at any moment. Sometimes others experiences guide you and most of the times yours own. Your own experience will last forever, so better to follow that. Life is like a dice with different phases. Sometimes it shows happier moments and sometimes critical ones. According to the phase, you will require to take decisions. My life is changing and showing totally new phases to me. Few months back I changed my working technology, now again I have to change it. I welcome this change because this will give me better exposure to the tech world. I know it would be hard for me to pick up the new challenge, but still I am ready to take this. Let’s see what is behind the hills. I don’t know my decision is good or not. but I will go for it. Its better to die rather than sitting idle.

Categories: Personal