Constantly improving the index of. NET 4.0 &. NET 4.5 series articles

Source: Internet
Author: User
Tags visual studio 2010

[Download. NET 4.0 source code constantly]
[Download. NET 4.5 source code constantly]

Constantly improving the index of. NET 4.0 &. NET 4.5 series articles

Author: webabcd

Introduction
Constantly improving. NET 4.0 &. NET 4.5 series Article index: New Features of asp.net 4.0, new features of c #4.0, and ADO. NET Data Services 1.5 (WCF Data Services) new feature, ADO. NET Entity Framework 4.0 new feature, ADO. NET Entity Framework 4.1 new feature, ADO. NET Entity Framework 4.3 new feature, ADO. new Features of NET Entity Framework 5.0 and new features of WCF Data Services 5.0 (OData V3)

1. Refined. NET 4.0 (1)-asp.net 4.0 new features: web. config improvement, ViewStateMode, ClientIDMode, EnablePersistedSelection, and other control improvements
Introduction
New Features of asp.net 4.0

  • Simple web. config file
  • New property of the control: ViewStateMode-view State mode of the control
  • Control's new property ClientIDMode-Method of Generating Client ID
  • New attribute EnablePersistedSelection of the list control-how to save selected items
  • Other enhancements
    • RenderOuterTable-specifies whether the table label is added to the outer layer when the control is displayed on the client.
    • Menu Control. In asp.net 4.0, it will be displayed on the client in ul li mode.
    • RepeatLayout-layout mode: the HTML Rendering mode of the control on the client.
    • The LayoutTemplate template is added for Wizard and CreateUserWizard.
    • LayoutTemplate must be available for the original ListView, which can be no longer used in asp.net 4.0.

2. Refined. NET 4.0 (2)-asp.net 4.0 new feature url routing, custom CacheProvider, new expressions <%: expression %>, QueryExtender control, and other new features
Introduction
New Features of asp.net 4.0

  • Url routing in web form
  • Implement custom page cache logic by implementing a custom CacheProvider
  • The new expression <%: expression %> is equivalent to <% = HttpUtility. HtmlEncode (expression) %>
  • Controls QueryExtender to re-retrieve the data obtained by the data source control.
  • Other new features

3. Excellent. NET 4.0 (3)-asp.net 4.0 new features: Dynamic Data (Dynamic Data) enhancement, AJAX enhancement; Visual Studio 2010 enhancement of IDE
Introduction
New Features of asp.net 4.0
Dynamic Data enhancement (Previous Version: http://www.cnblogs.com/webabcd/archive/2009/02/23/1396212.html)

  • EnableDynamicData-enable the Dynamic Data Function
  • DynamicHyperLink-used to conveniently generate a hyperlink for navigation in the Dynamic Data site
  • Entity Template-an Entity Template is a newly added Template for Displaying Custom Data. It presents data based on the FormView control.
  • DisplayAttribute-a new Attribute (Name and Order of fields can be set)
  • Other new features

AJAX Enhancement
Visual Studio 2010 enhancements

4. Refined. NET 4.0 (4)-C #4.0 new features named parameters and optional parameters, dynamic binding (dynamic), generic covariant and inverter, CountdownEvent, Barrier
Introduction
C # New Features of 4.0

  • Named And Optional Arguments-Named parameters And Optional parameters
  • Dynamic Binding-dynamic Binding (Dynamic is used for Dynamic Programming and depends on dynamic Language Runtime)
  • Covariance-generic covariant
  • Contravariance-generic inverters
  • CountdownEvent-thread and task synchronization class. The thread or task is blocked until the count of CountdownEvent is 0.
  • Barrier-thread and task synchronization class. It is used to block all threads or tasks in a thread group or task group in the same step.

5. Excellent. NET 4.0 (5)-C #4.0 Parallel computing (Parallel)
Introduction
Parallel operations for new features in C #4.0

  • Parallel Operation of Parallel. For-for Loop
  • Parallel. ForEach-Parallel operations of foreach Loop
  • Parallel. Invoke-call multiple tasks in Parallel
  • Task-Task, based on the thread pool. It makes parallel programming easier without worrying about how the underlying layer is implemented.
  • PLINQ-this method is used to perform parallel operations on data in the memory. That is to say, it only supports parallel operations of LINQ to Object.

6. New Features of. NET 4.0 (6)-ADO. NET Data Services 1.5 (WCF Data Services)
Introduction
New Features of ADO. NET Data Services 1.5 (WCF Data Services)

  • Supports RowCount on the server side to get the number of members of a specified object set (only one integer value is returned without returning an object set)
  • Supports pagination on the server-the server can return data after pagination, and it can also contain the total number of all data
  • Only Select fields are supported in the Select-returned results of the server.
  • Support for Big Data Transmission BLOB (binary large object)
  • Support for Custom Data Services

7. New Features of. NET 4.0 (7)-ADO. NET Entity Framework 4.0
Introduction
Add ADO. NET Entity Framework 4.0

  • External key support, that is, the foreign key is treated as an attribute of the object.
  • Supports complex types, that is, entity attributes can be complex types.
  • Map multiple tables to one conceptual entity and split one table into multiple conceptual entities.
  • Enhanced LINQ to Entities
  • Added support for POCO (Plain Old CLR Object), that is, the Model Code does not contain any code about persistence.
  • Other new features

8. Excellent. NET 4.0 (8)-ADO. NET Entity Framework 4.0 Self Tracking Entity
Introduction
Add ADO. NET Entity Framework 4.0

  • Support for Self Tracking Entity (Entity state Self-Tracking), based on POCO
  • Application of WCF combined with Self Tracking Entity

9. constantly improving. NET 4.0 (9)-Code First of ADO. NET Entity Framework 4.1
Introduction
New Feature of ADO. NET Entity Framework 4.1: Code First

10. The database structure is automatically updated under the Code First of. NET 4.0 (10)-ADO. NET Entity Framework 4.3 (Automatic Migrations)
Introduction
New Feature of ADO. NET Entity Framework 4.3: automatically update the database structure (Automatic Migrations) under Code First)

11. New Features of. NET 4.5 (11)-ADO. NET Entity Framework 5.0 and new features of WCF Data Services 5.0 (OData V3)
Introduction
Constantly improving. NET 4.5

  • New Features of ADO. NET Entity Framework 5.0
  • New Features of WCF Data Services 5.0 (OData V3)

OK
[Download. NET 4.0 source code constantly]
[Download. NET 4.5 source code constantly]

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.