C # Programming Language Programming and Development Study NOTE 2:. Net Environment

Source: Internet
Author: User

Chapter 2:. Net Environment
1. NET platform Composition

1). Net Framework: create a web applicationProgram, Windows applications, Web Services
2) a series of development tools: vs. net
3) A series of servers: Win2000, SQL Server, and BizTalk Server
4) client software: WINXP, WinCE, and office xp

2. Features of the Net Platform
1) Cross-language: a program written in one language is compiled into an intermediateCodeThe compiled code can interact with the Code Compiled from other codes.

2) Cross-System Platform: language code -- compiler --> msil code -- jit --> machine code of a specific system platform.

3) Security:. Net implements resource and type security through the public Language Runtime Library

4) Support for open Internet standards and protocols: HTTP, XML, SOAP, WSDL, and UDDI

3. NET Framework
CLR-> base class library-> ADO. NET and XML-> ASP. NET web forms/Web Services and Windows Forms
1) Create and execute managed code
CLR-oriented language code -- compiler --> MSIL--JIT --> machine code

2) Automatic Memory Management
When the program runs, CLR allocates a continuous address space for the program, called managed heap. CLR allocates memory for each newly created object in the managed heap. GC determines the objects to be released based on the survival time and the number of recycles of objects. GC is called to reclaim memory only when the hosting heap space is insufficient. (It is safer than C ++, but it cannot release unnecessary memory in a timely manner), but it needs to be explicitly released for unmanaged resources, such as file and network connections, windows handle or bitmap

3) Cross-language interoperability
Cross-language interoperability refers to the ability to interact code written in one language with code written in other languages. It helps to maximize code reuse and development efficiency. CTS provides the foundation for cross-language interoperability. Together, CLS and CTS ensure cross-language interoperability.

4. NET Framework class library
1) System Framework Service
2) ADO. NET components
3) XML data component
4) Windows Forms Components
5) web forms Components
6) XML Web Service

5 vs. Net Introduction
This part is easy to use.

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.