Development between versions of the. NET Framework [GO]

Source: Internet
Author: User
Tags dotnet

Last week I saw the. NET 4.0 Framework retirement date getting closer to the article, found that they have been using the NET Framework, as a net programmer, there is probably a difference in their own still know, but they have to say a why, and found that there is still a bit of inadequacy, At that time, there are a lot of these versions, there are many places are only written to 4.5, about 4.5.1,4.5.2 These two versions mentioned or very little, relatively speaking, their own writing this article is not the suspicion of the two-pot meat, the text begins:

Donet FrameWork

NET Framework is a software development platform developed by Microsoft dedicated to Agile software development (software development), rapid application development (RAPID application development), platform independence, and network transparency. NET is Microsoft's first step towards the next 10 years of server and desktop software engineering. NET contains a number of technologies that facilitate rapid development of Internet and intranet applications.

. NET Framework is Microsoft's new development platform following the Windows DNA. NET Framework is a programming platform that runs on a system virtual machine and is based on the common language runtime (Common Language Runtime) to support the development of multiple languages (C #, VB, C + +, Python, and so on).

. NET also provides new features and development tools for the Application Interface (API). These innovations enable programmers to simultaneously develop Windows application software and Web applications, as well as components and services (Web services). NET provides a new reflective and object-oriented programming interface. NET is designed to be sufficiently generalized so that many different high-level languages can be pooled.

Evolutionary history of the Donet Framework version (CLR 1) 1.0

1.0 released in 2002 is the first version of Net, and is the number one Microsoft Visual Studio. NET version of the release (Visual Studio. NET 2002). Can be obtained in the form of a separate, redistributable package, or in a software development toolkit, and cannot be installed on user operating systems and server operating systems.

clr:1.0

Operating system (Installation): None

Server operating System (installation): None

1.1

1.1 is an upgraded version of the 1.0 framework, released in 2003, a year later than 1.0, included in Visual Studio 2003. Improvements relative to version 1.0: With support for mobile ASP. NET controls, the security aspect enables Windows Forms code to run reliably in an Internet environment, allowing it to run securely and join ASP. NET application with code-safe access functionality. It comes with support for ODBC and Oracle databases. The. NET Compact Framework technology is also added for smart devices such as Pocket PCs or Smartphone. Added support for IPV6 and changed a lot of APIs.

clr:1.1

Operating system (Installation): None

Server operating System (installation): Window Server 2003

Evolutionary history of the Donet Framework version (CLR 2)

2.0

A framework that many people miss. NET Framework 2.0 components are included in Visual Studio 2005 and SQL Server 2005. The first implementation of the 64-bit platform support, in many of the functions of the program used by almost 2.0 provide technical support, the framework is a lot of nostalgia is not unreasonable.

WinForm

have done WinForm development should not be unfamiliar to this DataGridView control, it is 2.0 provides a table control for WinForm, in order to better manipulate the data. The WebBrowser control that is provided by the Web page is loaded in the form, and the SplitContainer control provided by the split form provides the BackgroundWorker component for resolving the background fee (image download or database transaction).

asp

The 2.0 version of ASP. NET has been greatly improved, and most common Web applications can be found out of the box. Building websites and Web pages and keeping them running is easier than ever, and uses less code than before. This improves the programmer's development efficiency, but also reduces the basic knowledge of the programmer to do donet is relatively weak. Master page, ViewState, cache new features added to the ASP. NET system, the control also joins the GridView for displaying and editing data (the GridView control replaces the DataGrid control in the previous version of ASP.), DetailsView, FormView control.

ado

New features in ADO include support for user-defined types (UDTs), asynchronous database operations, XML data types, large value types, and snapshot isolation, and support for new properties that allow applications to support multiple active result sets (MARS) through SQL Server 2005.

2.0 supports FTP, enhanced I/O read-write, SMTP support, provides new XSL transformation (XSLT) processors, Web services and other features, and has several features that require a little mention:

COM Interop Service Enhancements

    • The operating system maintains a limited number of handles, which are used to reference critical operating system resources. The new SafeHandle and CriticalHandle classes and their specialized derived classes provide a safe and reliable way to operate on operating system handles.
    • The improvements to marshaling make it easier to interoperate with native code. Two enhancements to the interop marshaler meet two of the most common user requirements: the ability to wrap a native function pointer into a delegate, and the ability to marshal a fixed-size array of structures inside the structure.
    • For common invocation types, the performance of calls between applications in different application domains is faster.
    • The new switch for type Library Importer (Tlbimp.exe) and type Library Exporter (Tlbexp.exe) eliminates the dependency on the registry to resolve type library references. This enhancement is important for creating a reliable build environment.

Debugger Display Properties

You can control how Visual Studio displays classes or members when the application is debugged, and the debugger's Display properties feature enables you to identify the most useful information to display in the debugger (a normal thing for now)
Debugger Edit and Continue support

Edit and Continue

NET Framework 2.0 reintroduced the Edit and Continue feature, which enables users debugging applications in Visual Studio to change source code while executing in break mode. After you apply the edits to the source code, the user can continue to execute the code and observe the effect. Also, the Edit and Continue feature is available in any programming language supported by Visual Studio.

clr:2.0

Operating system (Installation): None

Server operating System (installation): Window Server 2003,window Server Sp2,window server R2 SP1

3.0

. NET Framework 3.0 release date 2006/11/21, the name "WinFX" was used. Added 4 frameworks to adapt to future software development:

Windows Presentation Foundation (WPF): Provides a better user experience for developing Windows Forms programs and browser applications, primarily for the presentation layer UI. (a bit similar to WinForm, but not the same)

Windows Communication Foundation (WCF): Provides a secure network services (WEB Service) framework that supports the SOA (service-oriented software architecture), primarily addressing communication issues between programs.

Windows Workflow Foundation (WF): Provides an application interface for designing and developing workflow-oriented (workflow-oriented) application-based applications, primarily logic transitions between control programs.

Windows CardSpace: Provides a solution for SSO, with each user having their own CardSpace. (no use, not very understanding)

According to Microsoft's design idea, WPF is used for UI performance, WCF is used for communication between programs, WF is used for logic control between programs, so programmers don't worry about anything, the fact is that we basically regret to use one or two of them.

. NET Framework 3.0 SP1 is released with. NET Framework 3.5. NET Framework 3.0 SP2 is released concurrently with the. NET Framework 3.5 SP1.

clr:2.0

Operating system (Installation): Vista (built-in)

Server operating System (Installation): Window Server 2003,window Server SP2 (built-in), Window server R2 SP1 (built-in)

3.5

Released with Visual Studio 20,081, this version is now also powerful, with a relatively 2.0 increase in functionality:

asp

The ListView Data Control and the LinqDataSource control are added, and the ListView Data control is used to display the data, similar to the DataList and Repeater controls. Unlike the two controls, the ListView control supports edit, insert, and delete operations, and also supports sorting and paging operations. The paging feature is provided by the new DataPager control for the ListView. (It's been a long time since I was a beginner), LinqDataSource controls expose language-Integrated query (LINQ) through the ASP. NET data source control structure.

server controls that support server-based AJAX development. These controls include the ScriptManager, UpdatePanel, UpdateProgress, and Timer controls. These controls allow you to create rich client-side behavior (for example, partial-page rendering and display of update progress during asynchronous postbacks) by using very few client-side scripts or even using client-side scripting.

Linq

Language-Integrated Query (LINQ) is a new feature in Visual Studio 2008 and. NET Framework 3.5. LINQ extends powerful query functionality into the language syntax of C # and Visual Basic, and uses a standard, easy-to-learn query pattern. This technology can be extended to support almost any type of data store. The. NET Framework 3.5 contains LINQ provider assemblies that support the use of LINQ to query. NET Framework collections, SQL Server databases, and ADO data Sets and XML documents (LINQ to Object, LINQ to ADO. NET and the LINQ to XML expression tree.

The. NET Framework 3.5 unifies the Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF) frameworks so that you can use WF as an authoring WCF service or expose existing WF workflows as services. The. NET Framework 3.5 also introduces support for WCF services that use the WF persistence model to hold state information about the service. These persistence services store their state information on the application layer so that when the session is canceled and recreated, the service's state information can be reloaded from the persistent store. You can create WEB services that are based on the ASP. NET (. asmx) and WCF, which are also set up with IIS 7 in version 3.5.

At the same time,. NET Framework 3.5 is automatically included. NET Framework 2.0 SP1 and the. NET Framework 3.0 SP1 to provide security fixes for these two versions, as well as a small number of new class libraries (such as system.datetimeoffest).

clr:2.0

Operating system (Installation): Vista,window 7 (built-in), Window 8 (built-in), Window 8.1 (built-in)

Server operating System (Installation): Window server 2003,window Server Sp2,window server R2 SP1 (built-in), Window server 2012,window server 20 R2

Evolutionary history of the DotNet Framework version (CLR 4)

4.0

asp

    1. Core services, including new APIs that can be used to extend the cache, compression of session-state data, and a new application preload Manager (auto-start feature).
    2. Web forms, including more centralized support for ASP. NET routing, enhanced support for WEB standards, updated browser support, new features for data controls, and new features for view state management, added the Chart control.
    3. MVC, including new helper methods for views, support for partitioned MVC applications, and asynchronous controllers.
    4. Microsoft Ajax, including additional support for client-based AJAX applications in the Microsoft Ajax Library.
    5. Visual Web Developer, including improved JScript IntelliSense, new AutoComplete code Snippets for HTML and ASP. NET markup, and enhanced CSS compatibility.

Wpf

    1. Added Calendar, DataGrid, and DatePicker controls, VisualStateManager support for changing the state of controls ...
    2. With touch and action, you can create applications that receive input from multiple touches at the same time on Windows 7; graphics and animations support layout rounding, pixel shader version 3.0, cache compositing and easing functions;
    3. Text improves text rendering and supports customizing the color of the caret and the color of the selection in the text box; the InputBinding Command property, the dynamic object, and the Text property support binding.
    4. The XAML Browser application (XBAP) supports communication with Web pages and supports full trust deployment.

Wcf

    1. Configuration-based activation: canceled the requirement to have a. svc file.
    2. System.Web.Routing Integration: Better control over the URL of a service by allowing the use of a non-extensible URL.
    3. Multiple IIS Web site Binding Support: Allows multiple base addresses with the same protocol to be available on the same Web site.
    4. Routing service: Allows content-based routing of messages.
    5. Workflow Services: Integrates WCF and WF by providing the activity for sending and receiving messages, the ability to correlate messages based on content, and the Workflow service host.

WCF REST

    1. Web HTTP caching: Allows caching of Web HTTP service responses.
    2. WEB HTTP format support: Allows you to dynamically determine the best format for a service operation to respond.
    3. Web HTTP Service help page: Provides an automatic help page for the Web HTTP service, similar to the WCF Service help page.
    4. Web HTTP Error handling: Allows the Web HTTP service to return error messages in the same format as the operation.
    5. Web HTTP cross-domain JavaScript support: Allows JSON Padding (JSONP) to be used.

Wf

    1. Improved Workflow Activity Model: The Activity class provides a basic abstraction of workflow behavior.
    2. Various composite activity options: Workflows can benefit from new flow control activities (such as Flowchart, TryCatch, and switch<t>) that are modeled with traditional flow control structures.
    3. Explicit active data Model: new options for storing or moving data include variables and directional parameters.
    4. Enhanced host, persistence, and tracking options: Host enhancements include more run workflow options, explicit hold with Persist activity, persist without unloading, use non-durable zone block hold, use environment transactions in the host, log trace information to the event log, and use the Bookmark The object continues the pending workflow.

ado

ADO provides some new features for the Entity Framework, including persistent unknown objects, functions in LINQ queries, and custom object-layer code generation.

Clr:4

Operating system (Installation): Vista,window 7

Server operating System (installation): Window Server 2003,window Server Sp2,window server R2 SP1

4.5

The framework of each upgrade is basically for the front of the design of the error or according to the developers in the actual development of things commonly used in packaging, but the 4.5 biggest bright spot is to support mobile development, the development of window phone application, for some people to bring opportunities, more people are dropped inside to slowly climb outside, Other features have also been changed, and specific new features are available for reference: http://msdn.microsoft.com/zh-cn/library/ms171868 (v=vs.110). aspx

Clr:4

Operating system (Installation): Vista,window 7,window 8 (built-in)

Server operating System (installation): Window server Sp2,window Server R2 Sp1,window Server 2012

4.5.1

EF and ADO now have better fault tolerance for connection failures, such as when a server was previously connected, the server suddenly hangs up, throws an exception directly, and once the network connection is restored in the new framework, the application will monitor it and continue the previous work.

The ASP. NET application can now be automatically suspended. The actual running ASP. NET worker process will be suspended as a ready-to-wake state, which can save up to 90% of startup time. When the application is idle for a period of time, it will be paged to disk, and once a request arrives or is completed, it will be awakened. You can set the time-out Action item to pending in the IIS configuration to achieve this functionality.

Clr:4

Operating system (Installation): Vista,window 7,window 8,window 8.1 (built-in)

Server operating System (Installation): Window server Sp2,window Server R2 sp1,window Server, Window server, R2 (built-in)

For details, please refer to: http://blogs.msdn.com/b/dotnet/archive/2013/06/26/announcing-the-net-framework-4-5-1-preview.aspx

4.5.2

The ASP. NET Web application provides a new API. New Httpresponse,addonsendingheaders and Httpresponsebase. The Addonsendingheaders method examines and modifies the response header and the status code in response to the client program's sake, which is used instead of the method Presendrequestheaders and Presendrequestcontent methods.

Adjust the Windows Forms control. You can use the System DPI setting to adjust the following additional controls for the component (for example, the drop-down arrow in the combo box):

Optional features to set enablewindowsformshighdpiautoresizing in the configuration file:

1 <appsettings>2    <add key= "enablewindowsformshighdpiautoresizing" value= "true"/>3 </appSettings >

Clr:4

Operating system (Installation): Vista,window 7,window 8,window 8.1

Server operating System (Installation): Window server Sp2,window Server R2 sp1,window Server, Windows Server, R2

Finally, a picture to summarize it (network image):

Basically, each version of the Donet framework can be written in a large article, this article will inevitably have to understand the wrong place, or understand the error, if inappropriate, please forgive me, rational point ~

Fly_elephant

Source: http://www.cnblogs.com/xiaofeixiang/p/3936217.html

Development between versions of the. NET Framework [GO]

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.