-, Net Hot Issues

Source: Internet
Author: User

Original address: http://kb.cnblogs.com/page/42217? Page = 1

The following are some of the hot questions about. NET and their brief answers to prevent us from being unprofessional. At the same time, we also list some URLs related to. net resources.

1. What is. Net? What does it mainly include?
. Net is to simplify application development in the high-distributed environment of the Third Generation Internet. Based on Open Internet standards and protocols, it achieves a high degree of interoperability between heterogeneous languages and platforms, the new generation computing and communication platform.
. Net mainly includes the common language runtime and. NET Framework class libraries.

Ii. What are the main advantages of. Net?
The main advantages of. Net include cross-language, cross-platform, security, and support for open Internet standards and protocols.
. Net supports multi-language interoperability, that is, components developed in one language can be reused under another component through Object-oriented Inheritance. Currently. net supports more than 20 languages.
. Net first compiled into an intermediate language (IL), and then executed in real time (just in time) the compiler compiles the platform code to implement object interoperability on a heterogeneous platform. Currently.. Net supports windows, Linux, and UNIX platforms.
. Net implements resource object and type security through common language runtime.
. NET provides powerful support for Internet standards such as HTTP, XML, SOAP, and WSDL to obtain remote services, connect remote devices, and interact with remote application programming interfaces in a heterogeneous network environment.

Iii. What does the common language runtime in. Net Mean? Where is it located in. Net?
CLR (Common Language Runtime) is the basis for building the entire. NET Framework. It is the key to implementing core features such as. Net cross-platform, cross-language, and code security. It is actually a piece of proxy code residing in the memory, responsible for the whole.. Net code management during the entire execution period. Typical examples include memory management, thread management, remote management, and forced code security. These can be called the lifeline of. NET Framework. In fact, some operating system management functions are taken into account in the general language runtime era.

4. What is the. NET architecture class library? What is included?
The. NETL framework class library is a set of reusable classes that are built based on the runtime object-oriented features and closely integrated with the runtime of common languages. It greatly simplifies software development and is easy to seamlessly integrate with third-party components.
The. NET architecture class library mainly supports the following programming models:
1. console application.
2. scripts and host applications.
3. Windows Forms applications (Windows desktop GUI applications ).
4. ASP. NET applications.
5. Web services applications.
6. Windows service programs

5. What development languages does. Net Support ?. Net Language Interoperability refers to what?
. Net claims to support more than 20 languages on the market, but currently only C #, Visual Basic. net, managed C ++, and jsrept. Other vendors claim that the supported tools under development include COBOL, Eiffel, Perl, smalltalk, and python.
. Net Language Interoperability refers to the support for Object Inheritance in languages that follow the common language runtime standard. classes developed on the. NET platform can be reused in another language. This is achieved through a language called Microsoft intermediate language mil, that is, the language compiler first compiles the language into a Microsoft intermediate language, compile the local code on the corresponding platform. All of this is done under the standard for normal language runtime.

6. What platforms does. Net Support? How is it implemented across platforms? Currently,. Net supported platforms include Windows 2000, NT4 SP6a, Windows ME, and Windows 98. It claims to support UNIX and Linux platforms. Currently, three projects are under development for Linux. Net platforms: the Mono Project of ximian, dotgnu, and potable. net.

 

7. What is the relationship between. NET and COM ?. Does net mean the end of com? COM defines the binary standard for communication between component objects.. NET provides a similar mechanism through the built-in Type System of the component .. Net does not mean the end of COM, but it will greatly reduce developers' dependence on com .. Net supports COM and.. NET components can be implemented through runtime callable wrapper (RCW.. net, and use com callable wrapper (CCW) to obtain the COM component.. NET component.

 

8. What is the intermediate language (IL) in. Net? What role does it play in the. NET platform? Can developers program in an intermediate language (IL? . The intermediate language in. Net can be defined in the runtime specification of a common language ,. A collection of commands that are independent of the CPU and are converted to local code through the Just In Time compiler during execution. It is a core part of language interoperability on the. NET platform. All. NET platform languages must be compiled into intermediate languages (IL) first ). Programmers can also directly use the intermediate language (IL) for programming, but it is not recommended to do so. The intermediate language is very helpful for understanding some behaviors of. Net objects and debugging programs.

 

9. What is automatic garbage collection in. Net? What changes does it bring to programming on the. NET platform? The. NET garbage collector is responsible for allocating and releasing the memory of the managed code during the entire. Net runtime. It selects the collected object and time through certain optimization algorithms. Programmers can force garbage collection immediately only when releasing a large number of managed resources, and use finalize operations to deal with the release of unmanaged resources, the dispose () method should be released during the program running and called explicitly. At other times, resources are collected by. Net garbage collection.

 

10. What are managed code and unmanaged code of. Net? What are their differences in encoding? . Net managed code refers to the management and thread management of memory by code proxy in the runtime of the memory in accordance with the Common Language Runtime specification, remote Management and code-forced security code. Unmanaged code refers to codes that operate on memory, files, databases, and other unmanaged resources. They are generally not managed by code proxies in the runtime era and are not secure. For the programming of managed code, you only need to focus on the programming logic, and the management of memory and other resources should be handled by the common language runtime, for the programming of unmanaged code, developers are required to carefully allocate and recycle various unmanaged resources.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.