. NET several hot issues (. NET staff must read)

Source: Internet
Author: User

The following collected about. NET several hot issues and brief answers, to prevent us from answering the question is not professional embarrassment. There will also be some. NET resources are listed in the relevant URL one or two.

A. What is. Net? What does it mainly include?
. NET is a new generation of computing and communication platforms designed to simplify the development of applications in a highly distributed environment in the third generation of the Internet, based on open Internet standards and protocols, enabling highly interactive heterogeneous languages and platforms.
. NET mainly includes the common language runtime (Common Language Runtime) and the. NET Architecture Class Library.

two.. What are the main advantages of net?
. NET's main benefits are cross-language, cross-platform, security, and support for open Internet standards and protocols.
. NET supports the interoperability of multiple languages, 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 implements interoperability of objects under heterogeneous platforms by compiling them into intermediate languages (IL) and then executing them using the instant (Just in time) compiler to compile the cost-based platform code to implement the interoperation of the object. NET supported platforms are under development with support for Windows,linux and UNIX.
. NET implements resource object, type security through common language runtime (Common Language Runtime).
. NET provides a programming interface for accessing remote services in heterogeneous network environments, connecting remote devices, and interacting with remote applications through strong support for Internet standards such as HTTP,XML,SOAP,WSDL.

Three.. What does the normal language runtime (Common Language runtime) mean in net? What location in net?
The CLR (Common Language Runtime) Common language runtime is the basis for the entire. NET Framework build and is the implementation. NET cross-platform, cross-language, code security and other core features of the key. It is actually a piece of proxy code that resides in memory and is responsible for code management throughout the. NET execution, typically in memory management, thread management, remote administration, code enforcement security type, and so on. These can be referred to as the lifeline of the. NET Framework. In fact, the common language runtime proxies a subset of the operating system's administrative functions.

Four.. What is the net Architecture class library? What is included in the content?
. The NETL Architecture class Library is a collection of reusable class (class) classes that are built on the object-oriented nature of the runtime and are tightly integrated with the common language runtime. It greatly simplifies software development and makes it easy to integrate seamlessly with third-party components.
. The net Architecture class library mainly includes support for the programming model:
1. Console application.
2. Scripts and host applications.
3. Windows Forms applications (Windows desktop GUI applications).
4. Asp. NET application.
5. WEB Services applications.
6. Windows Service Programs

Five.. What are the development languages supported by net? What is the interoperability of net languages?
. Net claims to support more than 20 languages on the market, but currently only Microsoft's official release of C#,visual basic.net,managed C + +, and Jsript, other manufacturers claim to be developing support tools have Cobol,eiffel,perl, Smalltalk,python.
. NET-language interoperability refers to the support for object inheritance in languages that follow the normal language runtime (Common Language Runtime) specification, that is, in a language. NET platform can be reused in another language, which is achieved through a type of mil called the Microsoft Intermediate Language, in which the language compiler first compiles the language into the Microsoft intermediate Language and then compiles the local code under the corresponding platform. All of this is done under normal language runtime specifications.

Six.. What are the platforms supported by net? How is it implemented across platforms?
Currently supported. NET has Windows 98, NT4 SP6a, Windows Me, and Windows Me. The platforms it claims to support are unix,linux and so on, and there are currently three projects under development of the. NET platform under Linux: Ximian's Mono project, DOTGNU and potable. Net.

Seven.. 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 component built-in type system, which provides another way to do this. NET does not mean the end of COM, but it will greatly reduce the developer's reliance on COM.. NET supports interoperability between COM and. NET components, which can actually be implemented through the runtime callable Wrapper (RCW). NET gets the COM component through COM callable Wrapper (CCW) to get. NET components in COM.

Eight.. What is the intermediate language (IL) in the. Net? NET platform, what role does it play? Can developers program in intermediate language (IL)?
. The intermediate language in net is defined as a family of instructions that can be converted to local code by an immediate (Just in time) compiler when executed, in the normal language runtime specification. It's in. NET platform is the implementation of language interoperability of a core link, all. NET platform must first be compiled into intermediate (IL) languages. Programmers can also directly use the intermediate language (IL) to program, but do not recommend that, intermediate language to understand. NET object debugging of certain behaviors and programs is helpful

Nine.. What is automatic garbage collection in? Net? It gives. What is the change in programming under the net platform?
. NET garbage collector is responsible for the memory allocation and deallocation tasks for the entire. NET runtime managed code. It selects the collected objects and time by a certain optimization algorithm. A programmer can force garbage collection immediately when a large number of managed resources are freed, when the unmanaged resource is released with the Terminate (Finalize) operation, the Dispose () method needs to be freed in the program run, and explicitly called. Other time, the recycling of resources is handed. NET garbage collection up to do.

10.. What does the managed (Managed) code and Unmanaged (unmanaged) Code of net mean? What is the difference between their codes?
. NET Managed code refers to code that conforms to the common language runtime (Common Language Runtime) specification, which is managed in memory by the runtime code agent for memory management, thread management, remote administration, and code enforcement security types. Unmanaged code refers to code that operates on unmanaged resources, such as memory, files, and databases, which are not normally managed by the runtime code agent and are not secure. Programming the managed code requires only the logic of programming, and the management of resources such as memory is handled by the common language runtime (Common Language Runtime), while programming for unmanaged code requires the developer to be careful with the allocation and recycling of various unmanaged resources.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

. NET several hot issues (. NET staff must read)

Related Article

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.