Đang chuẩn bị liên kết để tải về tài liệu:
Introducing Windows Azure- P46

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Introducing Windows Azure- P46:The cloud platform is getting more and more attractive to the computing world. Today, service-oriented architecture (SOA) and aspect-oriented programming (AOP) techniques are widely used in enterprise solutions. A question an IT management team or a software development team may ask is, what is the next trend going to be? Cloud computing seems to be the right answer. | CHAPTER 7 AZURE .NET SERVICES WORKFLOWS passed into the Weblnvoke attribute Method and UriTemplate. The value for Method could be either POST or PUT. The value of POST is used for inserting or deleting data and the value of PUT is used for updating data. There are four methods defined in this interface PlaceShoppingCartItem UpdateShoppingCartItem DeleteShoppingCartItem PayShoppingCartItem Listing 7-5. WCF Service Contract Interface Definition of IShoppingCartService using System using System.Collections.Generic using System.Linq using System.Text using System.ServiceModel using System.ServiceModel.Web using ShoppingCartServiceLibrary namespace ShoopingCartWorkflows ServiceContract public interface IShoppingCartService OperationContract webInvoke Method POST UriTemplate ShoppingCartItem ShoppingCartItem PlaceShoppingCartItem ShoppingCartItem ShoppingCartItem OperationContract webInvoke Method PUT UriTemplate ShoppingCartItem id ShoppingCartItem UpdateShoppingCartItem string id ShoppingCartItem ShoppingCartItem OperationContract webInvoke Method POST UriTemplate ShoppingCartItem id ShoppingCartItem DeleteShoppingCartItem string id ShoppingCartItem ShoppingCartItem OperationContract webInvoke Method PUT UriTemplate CreditCardPayment ShoppingCartItem id void PayShoppingCartItem string id CreditCardPayment CreditCardPayment 223 CHAPTER 7 AZURE .NET SERVICES WORKFLOWS 3. Add a C library project ShoppingCartServiceLibrary to implement the IShoppingCartService service contract and data contract as shown in Listing 7-6 and Listing 7-7. Listing 7-6 is the implementation for the service interface and Listing 7-7 is the data contract used to hold the shopping card property data. Listing 7-6. WCFIShoppingCartService Service Contract Implementation using System using System.Collections.Generic using System.Linq using System.Text using System.Runtime.Serialization namespace ShoppingCartServiceLibrary Serializable DataContract Name ShoppingCartItem Namespace http costco.com .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.