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

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

Introducing Windows Azure- P48: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 9. Bindings for ShoppingCartItemWorkflow StateCheckout are shown in Figure 7-12. setCommitClose Svstem.W xkflw.Act vit e .SetStateActivitv Canueatcira Lance ContevlToken OWCnpMn Name Description Enabled B . EneUed True PaJWsMge s r .KeOc t onWt ShoocNngC fWortcflowvIShoppmflf ArtServtc r JJrlet rSlwppanqC ar 8 Kandier Opera omVakda or B Pi .ioirl rr 3 ReOrnVdue d Actv ty 9M pprigCarUtErrAVoridlow Path ecer cdShoc pnQCartlte 3 el Actvity i oppr gCartite wWQrMlo Path ecer.edld ffl ShCdpnoCartJu f a pMWC rgt I 9 Cantfci finliti- Y-cfthS rato frsa aïàTiirt wrim frri-ta trtS are rne r Figure 7-12. Bindings for ShoppingCartItemWorkflow StateCheckout 233 CHAPTER 7 AZURE .NET SERVICES WORKFLOWS 10. Bindings for ShoppingCartItemWorkFlow Timeout are shown in Figure 7-13. Timeout eventTimeout del ay Activity 3 seCloscdState CartClosed Figure 7-13. Bindings for ShoppingCartItemWorkFlow Timeout 11. Create a host project ShoppingCartWorkflowServiceHost as Listing 7-9 shows. There are three callback delegates created in the Main method. The first two are used to output trace information regarding the state transaction and the third one is used to bind the persistence service for the workflow so we can persist the workflow state. Listing 7-9. Create a Host Project ShoppingCartWorkflowServiceHost to Run the Workflow as a Service using System using System.Collections.Generic using System.Linq using System.Text using System.Threading using System.Workflow.Runtime using System.Workflow.Runtime.Hosting using System.ServiceModel using System.ServiceModel.Description 234 CHAPTER 7 AZURE .NET SERVICES WORKFLOWS namespace ShoppingCartWorkflowServiceHost using ShoopingCartWorkflows class Program static void Main string args Uri baseAddress new Uri http localhost 8000 WorkflowServiceHost host new WorkflowServiceHost typeof ShoppingCartItemWorkflow baseAddress host.Description.Behaviors .Find WorkflowRuntimeBehavior .WorkflowRuntime.WorkflowTerminated .

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.