. Net C # ASP. Net and ADO. Net

Source: Internet
Author: User

1. NET is an abstract platform concept.

The implementation of the. NET platform is actually a library. In the abstract aspect, it is a platform.

. NET Framework includes two key components:

A. Common Language Runtime, Common Language Runtime (CLR)-provides internal management, code security detection, and other functions

B.. NET Framework Class Library and. NET Framework Class Library (FLC)-provides a large number of application Class libraries to improve development efficiency

Learning. NET Framework is all. NET developers are required, otherwise development. NET programs will always stay in the 'output' way. NET Framework is. one of the internal practices of NET developers.

2. C # is a programming language, just a language.

The programming language is only a tool for developers to communicate with computers. Although the C # syntax is more than C and C ++, the C # syntax is relatively fixed, this is easy to use. I agree with a friend that the C # syntax is more rigorous!

Here, let's take a look at the relationship between. NET and C #. we have to mention the execution process of the. NET program.

C # complies with the operating rules of the public language in. net clr. CLS: common language specification. Of course, all. NET languages comply with this specification, such as VB. NET, XAML, and C ++/CLI.

C # must comply with. net cls because. net clr is similar to a JAVA Virtual Machine and has an intermediate language co-machine for execution. All. NET code in different languages will be compiled into the same intermediate language (MSIL) before execution, so all. NET Support languages must comply with CLS specifications.

P.S: If you are developing. NET 3.0 xaml, you can try ildasm.exe to check the XAML application. It will be very simple in the original XAML.

 

 

3. ASP. NET is a programming framework built on the Common Language Runtime Library and can be used to generate powerful Web applications on the server.

Compared with the previous Web development model, ASP. NET provides several important advantages: enhanced performance.

ASP. NET is the compiled public Language Runtime library code on the server. Unlike the predecessors, ASP. NET can use early binding, real-time compilation, local optimization, and out-of-box cache services. This is equivalent to significantly improving the performance before writing code lines.

World-class tool support: the ASP. NET Framework supplements a large number of toolboxes and designers in the integrated development environment of Visual Studio. WYSIWYG editing, drag-and-drop server controls, and automatic deployment are only a few of the functions provided by this powerful tool.

Power and flexibility: Because ASP. NET is based on a Common Language Runtime Library, Web application developers can leverage the power and flexibility of the entire platform .. . NET Framework class library, message processing, and data access solutions can be seamlessly accessed from the Web.

ASP. NET is also independent of language, so you can select the language that best suits your application, or split your application across multiple languages. In addition, the interaction of Public Language Runtime libraries ensures that existing investment in COM-based development is retained when the database is migrated to ASP. NET.

Simplicity: ASP. NET makes it easy to execute common tasks, from simple form submission and client authentication to deployment and site configuration. For example, the ASP. NET page framework allows you to clearly separate the application logic from the representation code from the user interface and process events in a simple form processing model similar to Visual Basic.

In addition, the Common Language Runtime simplifies development by using managed code services (such as automatic reference counting and garbage collection. Manageability: ASP. NET uses a text-based hierarchical Configuration System, which simplifies the application of settings to server environments and Web applications.

Because configuration information is stored in plain text, you can apply new settings without the help of local management tools. This "zero local management" philosophy also extends to the deployment of ASP. NET Framework applications. You only need to copy the necessary files to the server to deploy the ASP. NET Framework application to the server. You do not need to restart the server, even when you deploy or replace the Running code. Scalability and availability. ASP. NET has been designed with Scalability considerations and added a feature specifically designed to improve performance in a clustered and multi-processor environment.

In addition, the process is affected by ASP. NET Runtime Library is closely monitored and managed, so that when the process behavior is abnormal (leakage, deadlock), you can create a new process to help keep the application always available for processing requests. Customization and scalability: ASP. NET comes with a well-designed structure that allows developers to "insert" code at an appropriate level. In fact, you can use your own custom components to expand or replace any sub-components of the ASP. NET Runtime Library. It is easier to implement custom authentication or status services.

Security: with built-in Windows Authentication and configuration based on each application, you can ensure the security of your application.

 

4. ADO. NET is a standard-based programming model that can be used to create distributed applications to achieve data sharing in ADO. NET, DataSet occupies an important position, it is the copy of some data in the database in the memory. Unlike the RecordSet In ADO, DataSet can include any data table. Each data table can be used to represent data from a database table or view.

DataSet resides in the memory and is not connected to the original database. XML is the underlying technology that does not need to be connected to the original database. It is the storage and transmission format used by DataSet.

During running, components (such as a business logic object or asp.net web form) need to exchange data in DataSet. Data is transmitted from one component to another in the form of an XML file, and the receiving component restores the file to the form of DataSet. DataSet has the same method as the relational data model.

 

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.