Tuesday, 25 August 2015

Overview of .Net(1)

As we know common language run time is mainly used to execute the the programs written in high level language to Microsoft intermediate language. Before compiling the code in to machine code they are compiled to this Intermediate Language (MSIL). CLR accepts the IL code and re compiles it to machine code. This is done with the help of Jest in time compiler.  The recompilation is just-in-time (JIT)nothing but it is done as soon as a function is called. CLR also consist of many additional benefits that are discussed in our previous blog. You can also refer the below link in order to get the full knowledge about Common language runtime. To know about common language run time click here 


In the above image we can see how the program is executed with the help of common language runtime. First it converts to IL code and then it converts to native code nothing but machine code

The .Net Framework consist of classes, interfaces, and value type that provide access to system functionality.In Microsoft .NET library, all class (types) are grouped in namespaces. A namespace is a grouping of similar kinds of classes. In C we can see header files similar to this namespaces.  This classes enables us to perform some operations. All .NET languages can use these language classes. This enables the programmers to choose the language and tools that suit to our program. This code also can be reused. 

For example if you need to access the media elements such as audio, video we need particular namespace regarding this media. If we need to access system files we need particular namespace with respect to the system files. In this way specific namespace is used to access specific types. In the below image we can see some of the namespaces with respect to the type of applications. System is the main namespace with the collection of many classes

                 

In this .Net framework we also consist of many languages. Additionally, the .Net Framework also provides security on code, this is called as code access security. Code access security also provides a high security of securing the assemblies from malicious attacks. ADO.Net is a collection of classes, structures, and interfaces that manage the data access for different databases. A database can be a spreadsheet, SQL, oracle etc. In database we can add tables. We can edit them, update, delete the database tables. 

No comments:

Post a Comment