Overview
Microsoft.net represents a collection, an environment, a programmable structure that can support the next generation of Internet as a platform, which makes each system platform interoperability into a reality, Microsoft.Net is the most important part of using HTTP, XML and other standards. Yes .NET framework, .NET framework is a new computing platform that simplifies applications developed in a highly distributed Internet environment, which supports more than 20 different programming languages, which helps developers concentrate on achieving energy On the core of business logic, developers' experience is consistent in the face of a large type of application (such as Windows-based applications and web-based applications), and even in future versions even in the program In order to specify the type of published (as Win Form or web form).
As shown in the figure above, the .NET framework consists of 2 parts: public language runtime (CLR: is an intermediate medium between the source code of .NET developers, all .NET code runs in CLR) and Frame Class libraries (FCL: Includes data access components, basic class libraries, and WebForm, WinForm, Web Services template).
Features
CLR and FCL are closely combined, providing cross-and integrated solutions and services between different systems, creating controllable, safe, featured application development environments, the following is some of their features they provide.
Once run, you can run: All developers have almost known "DLL Hell" version control issues (when the newly installed application components covers the old have components of the application, the old program cannot run normally). In order to completely eliminate the "DLL Hell" phenomenon, the structure of the .NET framework has been isolated from the application component, the application must be loaded when the application is running to ensure that the application can always operate normally.
Simplified deployment: The software installation in the .NET frame is Xcopy, just as under DOS, just copy the application to a directory, uninstall the application only needs to delete the directory.
Automatic Memory Management: For managed resources, you don't have to clean up in class write, waste management (GC) can automatically track resource usage, make sure that resource leaks are not generated, actually GC's call time for Finalize The order is uncertain. However, Microsoft recommends that users must remember to release unmanaged resources such as database connections, files, and more in the Dispose method.
Type Safety: Each object is single inherited from Object (Note: It is also considered to be inherited from the IObject interface) to ensure that the GetType method can determine the type of object by calling the GetType method, usually forced to convert to the base type is considered to be Security implicit conversion. The CLR can verify that all codes are safe, and the type security ensures that the assigned object is always accessed in a compatible manner.
(Endlessly)