New features in. NET Framework 3.5 (5) [sorting]

Source: Internet
Author: User

[Before resuming]New features in. NET Framework 3.5 (4) [sorting]

The new features in. NET Framework 3.5 are reflected in the following aspects:
-. NET Compact framework
-ASP. NET
-External programs and scalability (addin)
-Public Language Runtime Library
-Cryptography)
-Network
-WPF (Windows Presentation Foundation)
-WCF (Windows Communication Foundation)
-WF (Windows Workflow Foundation)
-Windows Forms (Windows Forms)
-LINQ
-Expression trees)
-Rich and complete programming languages such as C #, C ++. net, and VB.net

 WCF (Windows Communication Foundation)

-WCF and WF integration-workflow service
. Net Framework 3.5 unifies the Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF) frameworks, in this way, you can use WF as a method to create a WCF Service or publish an existing WF workflow as a service. In this way, you can create a service with the following features: it can be maintained, you can easily pass in or out data to the workflow, and you can enforce application-level protocols.

-Persistent Service
. NET Framework 3.5 also introduces support for WCF services, which use the WF persistent model to save service status information. These persistent services save their status information on the application layer, so that the status information of the service can be reloaded from the persistent storage area when the session is canceled and re-created.
-WCF Web Programming Model
The WCF web programming model allows developers to use WCF to generate Web-style services. The Web programming model includes rich URI processing functions, support for all HTTP predicates including get, and a simple programming model. This programming model can process various message formats, including XML, JSON, and opacity binary streams.
-WCF Integration
WCF now contains a strongly typed object model that can be used to process integrated sources, including atom 1.0 and RSS 2.0 formats.
-WCF and partial trust
In. NET Framework 3.5, applications running with reduced permissions can use a limited subset of the WCF function. Server applications running with medium-trust ASP. Net permissions can use the WCF Service Model to create basic HTTP Services. Client applications (such as XAML browser applications or unsigned applications deployed using clickonce) that run under Internet permissions can use the WCF proxy to use the HTTP service. In addition, the functions of the WCF web programming model (including Ajax and integration) can be used by some trusted applications.
-Integration of WCF and ASP. NET Ajax
The integration of WCF and Asynchronous JavaScript and XML (Ajax) functions in ASP. NET provides an end-to-end programming model for building Web applications that can use the WCF Service. In Ajax-style Web applications, clients (such as browsers in Web applications) exchange a small amount of data with the server by using asynchronous requests. Integrating Ajax in ASP. NET provides a simple way to generate a WCF web service, which can be accessed by using the client Javascript in the browser.
-Web Service interoperability
In. NET Framework 3.5, Microsoft complies with its commitments regarding interoperability and public standards and introduces support for new security, reliability, and transactional web service standards:
-Web Service reliable message transmission version 1.1 (Web Services reliable messaging V1.1)
-Web Service reliable message transmission policy assertion version 1.1 (Web Services reliable messaging policy assertion V1.1)
-WS-secureconversation 1.3 (WS-secureconversation v1.3)
-WS-trust 1.3 (WS-trust v1.3)
-WS-securityPolicy 1.2 (WS-securityPolicy v1.2)
-Web Service atomic transaction version 1.1 [Web Services atomic transaction (WS-atomictransaction) Version 1.1]
-Web service collaboration version 1.1 [Web Services Coordination (WS-Coordination) Version 1.1]
-Web Service Policy 1.5-framework and attachment Web Services Policy 1.5-framework & attachment

You can use the new standard binding <ws2007httpbinding> and <ws2007federationhttpbinding> (described in the Web service protocol interoperability guide) to implement these protocols.

WF (Windows Workflow Foundation)

-WCF and WF integration-workflow service
. Net Framework 3.5 unifies the Windows Workflow Foundation (WF) and Windows Communication Foundation (WCF) frameworks, in this way, you can use WF as a method to create a WCF Service or publish an existing WF workflow as a service. In this way, you can create a service with the following features: it can be maintained, you can easily pass in or out data to the workflow, and you can enforce application-level protocols.

-Rules
The WF rule engine now supports extension methods, Operator overloading, and the use of new operators in rules.

Windows Forms (Windows Forms)

-Clickonce Improvement
You have made some improvements to clickonce. These improvements include deployment from multiple locations and third-party signatures.
. NET Framework 3.5 updates mage.exe, which is sometimes used with clickonce.
-Authentication, role, and setup services
The client application service is. net Framework 3.5. These services allow Windows-based applications (including Windows Forms and Windows Presentation Foundation applications) to access ASP.. Net login, role, and configuration file service. Through these services, users can be authenticated, and user roles and application settings can be retrieved from the shared server.
You can enable client application services by specifying and configuring client service providers in the application configuration file or in the Visual Studio project designer. These providers are inserted into the web scalability model, so that you can access the Web Service through the existing. NET Framework login, role and set API. By storing and retrieving user information in the local data cache while the application is offline, the client application service also supports occasional connections.
-Windows Vista support
Existing Windows Forms applications can run seamlessly on Windows Vista. If possible, they can also be upgraded to have the same appearance as those written for Windows Vista. The public file dialog box is automatically updated to Windows Vista .. Net Framework 3.5 also supports the User Account Control (UAC) shield icon.

-WPF support
Windows forms can be used to hold Windows Forms controls and Windows Presentation Foundation (WPF) controls and content. You can also open the WPF window in Windows form.

LINQ

Language integration Query [language-Integrated Query (LINQ)] is a new function in Visual Studio 2008 and. NET Framework 3.5. LINQ extends powerful query functions to C # and Visual Basic language syntaxes, and adopts standard and easy-to-learn query modes. This technology can be expanded to support almost any type of data storage .. Net Framework 3.5 contains the LINQ provider assembly, which supports querying. NET Framework collections, SQL Server databases, ADO. Net datasets, and XML documents using LINQ.

The components of LINQ include:
-System. LINQ namespace
It contains a set of standard query operators, types, and interfaces in the basic structure used for LINQ query. This namespace is located in the system. Core. dll assembly.
-System. Data. LINQ namespace
It contains classes that support interaction with relational databases in the LINQ to SQL application.
-System. Data. LINQ. Mapping namespace
It contains a class that can be used to generate a LINQ to SQL object model that represents the structure and content of a relational database.
-System. xml. LINQ namespace
It contains the class of LINQ to XML. LINQ to XML is an XML programming interface in memory, allowing you to easily and effectively modify XML documents. By using LINQ to XML, you can load XML, serialize XML, create an XML tree from scratch, operate on the XML tree in memory, and use XSD for verification. You can also combine these functions to convert an XML tree from one shape to another.
-New Types in system. Web. UI. webcontrols and System. Web. UI. Design. webcontrols namespaces. These new types (such as linqdatasource) support using the data source control in ASP. NET web pages.
-In the system. Data namespaceDatarowcomparer, datarowextensions, and datatableextensionsSupports the query of ADO. Net dataset objects by LINQ.

Note: In the class library, the class member page in the content pane and the index pane lists the LINQ extension methods applicable to this class.

[To be continued] new features in. NET Framework 3.5 (6)

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.