tailieunhanh - Expert Service-Oriented Architecture in C# 2005 phần 10

Sự khác biệt đáng kể duy nhất này bổ sung các thuộc tính SoapActor đến các phương pháp dịch vụ thực hiện một tập tin cấu hình được gọi là bộ nhớ cache giới thiệu, mà các cửa hàng thiết bị đầu cuối đích cho các thông báo được chuyển đến. | 220 CHAPTER 9 BEYOND WSE LOOKING AHEAD TO WINDOWS COMMUNICATION FOUNDATION WCF ASRNET Web services built with .asmx pages Web Services Enhancements WSE Microsoft has stated that it will make the migration to WCF from current technologies a straightforward process. Here are some guidelines on how to get ready for WCF based on professional conferences published white papers and conversations with members of product development teams Build services using .asmx pages. Use WSE for additional extended functionality including security policy and secure conversation. Build qualified XML schema files for all custom data types used by the service. Use managed framework classes for integrating your services with MSMQ message queues and with COM components. Use the managed namespace for MSMQ and the namespace for COM components. Avoid using the HTTP Context object in your .asmx pages. Avoid using .NET Remoting sinks and channels. Given that WSE is such an important part of this book let s look in more detail at how you can use the toolkit to prepare for WCE WSE and WCF WSE allows developers to become early adopters of the next generation of service-oriented application technology. Every hour that you spend working with WSE is an hour that you have contributed toward WCF. Applications that are built using WSE should migrate smoothly to the WCF framework with only minor modifications required. If you choose to implement WSE today then you should expect to accommodate changes to WSE between now and the release ofWCE It is unclear how many revisions WSE is expected to undergo prior to the release of WCF but it is likely that we will only see service packs released and they are not expected to negatively impact compatibility between WSE and WCF If anything they should only make the compatibility tighter. Table 9-3 compares the feature set ofWSE with WCF based on .