DotNetFrameWork: 1).Net Frame work provides enormous advantages - TopicsExpress



          

DotNetFrameWork: 1).Net Frame work provides enormous advantages to software when compared to the advantages of other platforms. 2)Microsoft has united various moderns as well as existing technologies of software development in .NET Framework that are used by developers to develop highly efficient application .NET Framework Class Library: .NET Frame work contains a rich collection of classes that are readily available for developers to use these classes in code. Microsoft has developed these classes to fulfil various task of application such as working with files and other data storages, performing input output operations, and drawing graphics. The classes in .Net Framework Class Library are logically grouped under various namespaces, such as system. Drawing APPLICATION DOMAIN: Generally in .NET Frame work application domains are used to isolate the processes of different applications Runtime Host: In .NET Frame the runtime host perform some tasks they are Loading the run time environment into execution process of .NET application Creating an application domain in the .NET process Loading the code which is developed by programmers in the application domain CLR(common Language Runtime): The common language runtime manages memory, thread execution, code execution, code safety verification, compilation, and other system services. These features are intrinsic to the managed code that runs on the common language runtime. It provides functionalities such as 1)Memory management 2)Exception handling 3)Debugging 4)Security 5)Thread execution 6)Code exception 7)Code safety 8)Verification 9)Compilation In other word the CLR manages the execution of the .NETCODE The code execute directly by the CLR know as managed code Code execute indirectly by the CLR know as unmanaged code Unmanaged code refers to the code that compiles to the native machine code Native machine code means code directly executed by CPU In case of unmanaged code services provided such as security and memory management are provided by OS CLR facilitates interoperability between diff .NET languages such as visual C#, visual basic by providing a common environment for the execution of code written in any of these languages. When you run a .net application the language complier first compiles the source code into intermediate code called Micro Intermediate Language (MSIL) The MSIL code is then used by Just In Time(JIT) compiler to convert the MSIL code into native code which is finally executable code. CLR also provide automatic memory management for .NET Application Memory management uses its built in feature of garbage collection to manage the allocation and release of memory for an application Garbage collection is a process of releasing the memory used by unused objects and allocating memory to new objects Memory leak is a condition where the program fails to release memory of unused object CTS: CTS is an integral part of runtime CTS contain a type system that is common for all languages CTS ensures that objects of the programs that are written in different programming languages can communicate with each other and share data CTS prevent data loss when a type in one language transfers data to its equivalent type in other language CLS: CLS contains set of basic rules that enables interoperability between two .NET compilation languages CLS is a sub set of CTS The languages supported by CLS can use each other’s class libraries as they use their own libraries Application programming interfaces (API) designed by the following the rules defined in cls can be used by all .NET compilation languages MetaData and Self-Describing Components: .NET Frame uses Metadata of a code or assembly to exchange information with other code. Also Metadata is used to load the resources, such as classes and .dll files, to execute.NET applications. Meta data based information allows various modules and assemblies to communicate each other irrespective of their hardware. Cross Language Interoperability: It will explain how managed objects created in different programming languages can interact with each other .NET Frame Work Security: .NET Framework has sufficient technologies and tools that can used by developers to protect the resources and code from unauthorized users .NET Framework tools, such as Caspol.exe, are used to define the security policy to access .NET code, whereas configuration files such as .config files, are used to apply various modes of user authentication BENEFITS OF .NET FRAMEWORK: .NET Frame Work offers many benefits to application developers some of them are Consistent programming model: .NET Framework provides a consistent object oriented programming model across various languages. You can use this model to create programs for performing different tasks, such as connecting to and retrieving data from database and reading from and writing to the files Language interoperability: It is a feature that enables a piece of code written in one language to be used in another language. This facilities the reuse of code and therefore improves the efficiency of the development process Automatic Management of Resource: While developing .NET application you may use various resources, such as files, memory, and database connection. With .NET Framework, you don’t need to manually free those resources when they are no longer required Ease of deployment: .NET Framework makes the deployment of application easier. To install an application that is not based on .NET Framework, you need to copy it and its components on target computers. However with .NET Frame work, you can quickly install or deploy the application such that installation of new application or components does not affect the existing application
Posted on: Wed, 19 Mar 2014 15:24:07 +0000

Trending Topics



Recently Viewed Topics




© 2015