Introduction to .NET
*.NET framework was introducted by microsoft in the year 2002.
*.NET framework is a software development framework for building and running applications on windows.
*Microsoft introduced .net framework for bridging gap between applications by providing interoperability(Interoperability means the ability of two or more languages to interact as a part of the same system).
*Various types of applications we can develop by using the .net framework such as console application,windows application,web application,mobile application and many more...
*By using .net we can also create services like web services,WCF services and web api's.
*We can create web applications such as asp.net,MVC,silverlight and many more...
*.NET is a foundation were we can build,design,develop and deploy the application.
*.NET is a framework consists of more than 300+ language characteristics has been formed as a single group, were we can use the features one language into another language.
*We can create our own customized libraries as well.
*.NET framework is a wonderful tool provided by the Microsoft.
*.NET Framework includes a library and run time environment.
*FCL:FCL stands for framework class library.
FCL provides user interface,database connectivity,cryptography(cryptography means it is a art of writing or solving codes),web development and many more...
*Major .net components:
I CLR
II CTS
III CLS
IV MSIL
V JIT
*CLR stands for common language runtime.
CLR performs the following operations:
a.Debbugging:CLR sends the respective compiler to compile the respective code.
b.Exception Handling:Responsible for handling run time errors.
c.Security:Security plays immense role in any kind of application development.
d.Version support:The application developed in lower version can be upgraded automatically to higher version.
*CTS:CTS Stands for common Type System.
CTS describes the datatypes that can be used by managed code.
CTS defines how these types are declared and managed in the runtime.
It provides cross-language integration,type safety and high performance code execution.
CTS deals with the datatype.
*CLS:CLS stands for common language specification and it is subset of CTS.
CLS enables cross-language integration or interoperability.
*MSIL:MSIL stands for Microsoft Intermediate Language.
When we compile any .net application at first instead of converting it into native code or machine code,first it will be converted into MSIL.Then it will become language neutral.
MSIL is also know as CIL(Common intermediate language)
MSIL is also know as Managed code or IL(Intermediate language)
*JIT:JIT stands for Just in Time
JIT compiler converts the MSIL into native code or Machine code which is understandable by the operating system.