. NET several big hot issues (turn)

Source: Internet
Author: User
Tags garbage collection inheritance thread web services wrapper visual studio linux
Question one. What is. Net? What does it mainly consist of?

. NET is to simplify application development in the high distributed environment of the third generation Internet, and build a new generation of computing and communication platform based on open Internet standards and protocols to achieve high interactivity between heterogeneous language and platform.

. NET includes the common language runtime (Common Language Runtime) and the. NET Framework class library.

Two.. NET what are the main advantages?

. 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 by object-oriented inheritance under another component, at present. NET supports more than 20 languages.

. NET to achieve interoperability of objects under heterogeneous platforms by compiling each language into intermediate language (IL) and then executing it using the instant (Just in time) compiler to compile the cost of the platform code. NET supported platforms are being developed with Windows,linux and UNIX support.

. NET implements resource object, type security through normal language runtime (Common Language Runtime).

. NET provides a programming interface for accessing remote services, connecting remote devices, and interacting remote applications in heterogeneous network environments through strong support for Internet standards such as HTTP,XML,SOAP,WSDL.

Three.. NET, what does the normal language runtime (Common Language Runtime) mean? NET in where?

The CLR (Common Language Runtime) Common language runtime is the foundation and implementation of the entire. NET Framework build. 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 entire. NET execution, typically: memory management, thread management, remote management, code-enforced security types, and more. These can be called the lifeline of the. NET Framework. In fact, the normal language runtime proxies a subset of the operating system's administrative functions.

Four.. NET Architecture class library? What are the contents included?

. The NETL Architecture class Library is a collection of reusable classes (class) that are built on the basis of Run-time object-oriented features and are tightly integrated with the common language runtime. It greatly simplifies software development and is easy to integrate seamlessly with third-party components.

. NET Architecture class library mainly includes support for the programming model:

1. Console application.

2. Scripts and host applications.

3. Windows Forms Application (Windows desktop GUI application).

4. Asp. NET application.

5. WEB Services applications.

6. Windows Service Program

Five.. What are the development languages supported by net? What is the interoperability of net language?

. Net claims to support more than 20 languages on the market, but there are only Microsoft's official c#,visual basic.net,managed C + +, and jsript, and other vendors claim that the support tools being developed are Cobol,eiffel,perl, Smalltalk,python.

. NET language interoperability refers to the support of languages that follow the normal language runtime (Common Language Runtime) specification in object inheritance, that is, in a language. NET platform can be reused in another language, which is implemented by a language called Microsoft intermediate language mil, which compiles the language into a Microsoft intermediate language and then compiles the local code on the corresponding platform. All of this is done under normal language runtime specifications.

Six.. What are the platforms supported by net? How is the Cross-platform implementation?

Currently supported. NET platform has Windows NT4, SP6a, Windows Me, and Windows 98. The platform it claims to support is unix,linux and so on, with three projects currently under development on Linux's. NET platform: The Ximian Company'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 type system built into the component, which provides another way to do so. NET does not imply the end of COM, but it will significantly 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 to obtain the. NET component in COM through COM callable Wrapper (CCW).

Eight.. What is the intermediate language (IL) in net? NET platform, what role does it play? Can a developer program in intermediate language (IL)?

. NET intermediate language refers to a set of instruction sets that are independent of the CPU, which can be converted to local code by the Just-in-time (Just in time) compiler at runtime. It's in. NET platform is a core part of the implementation of language interoperability, all. NET platform language is compiled into intermediate language (IL) first. Programmers can also use intermediate language (IL) directly to program, but do not recommend doing so, intermediate language to understanding. NET object some behavior and debugging of the program is very helpful

Nine.. What is automatic garbage collection in net? It gives. NET platform, what is the change in programming?

. NET garbage collector is responsible for the memory allocation and deallocation tasks for the entire. NET runtime's managed code. It chooses the collected objects and time by a certain optimization algorithm. Programmers can make immediate mandatory garbage collection when releasing a large number of managed resources, use a terminate (Finalize) operation when releasing unmanaged resources, and should implement the Dispose () method and explicitly invoke it in the program run. Other time to the recovery of resources. NET garbage collection up to do.

10.. NET's managed (Managed) code and non-managed (unmanaged) code? What is the difference between their codes?

. NET's managed code (Managed code) refers to code that conforms to the normal language runtime (Common Language Runtime) specification and is in memory managed by runtime code agents, thread management, remote administration, code-enforced security type. Non-managed code refers to code that operates on unmanaged resources, such as memory, files, databases, and so on, and is not normally managed by Run-time code agents and is unsafe. The programming of the managed code only needs to focus on the logic of programming, the management of the resources such as memory is entrusted to the ordinary language runtime (Common Language Runtime), while the programming of the unmanaged code requires the developer to be responsible for the allocation and recycling of all kinds of unmanaged resources.

11.. What are the development tools on the net platform? What is the current stage of development?

. Net platform Development tools currently only Microsoft's official Visual Studio.NET, other Delphi.NET and Linux development tools under development. Visual Studio.NET is currently in the final Beta2 Test state and will develop into a mature enterprise version with the introduction of Visual Studio.NET in the second half of 2001.

BETA2 version address currently available for download:

. Net Framework SDK:

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/ Msdncompositedoc.xml&frame=true

Visual Studio.NET beta release (registered users):

Http://msdn.microsoft.com/vstudio/nextgen/beta.asp

12.. NET's network resources?

1 www.dotnetwire.com third party. NET portal site
2.www.microsoft.com/net Microsoft's. NET Portal
3.msdn.microsft.com/net Microsoft Developer. NET Portal
4.www.csharpindex.com C # portal site
5.www.dexv.com/dotnet, the old Programmer's Web site. NET Special Edition
6.www.c-sharpcorner.com C # Portal
7.www.asp.net Microsoft's Asp.net,webservice Portal
8.www.gotdotnet.com Microsoft's team-assembled. NET Web site
9 www.dotnetbooks.com. NET Latest Book portal site
Discuss.develop.com, the most popular and the most technologically powerful foreign. NET Forum


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.