TAILIEUCHUNG - Introducing Windows Azure- P48

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 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 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 using using using using using using using 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 .Find WorkflowRuntimeBehavior . .

Đã 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.