WF4.0 Combat (21): Host WF4.0 application in Windows Server AppFabric

Source: Internet
Author: User

In a previous blog post, Windows Server AppFabric introduced a brief introduction to Windows Server AppFabric. In this article, I'll explain how to host WF4.0 applications in Windows Server AppFabric, and how to persist configuration and trace configurations.

First, I will use ASP.net and WF4.0 to implement a simple pizza ordering system. The application is then hosted on the Windows Server AppFabric to implement persistence, tracking, and so on.

Pizza Ordering System:

In two parts, one is the ASP.net application implementation UI interface, the other is WF service implementation business logic, the system is similar to the following figure.

Implement WF Service:

The business process is: The customer chooses the pizza type and fills in the pizza quantity in the ASP.net client, then submits to the WF service processing. The WF service queries the price based on the type of pizza selected, calculates the total price of pizza, and returns the price to the ASP.net client. The purchaser then confirms whether to order and, after confirmation, the WF service reports the corresponding information. This process I have divided into two parts.

The first part of the following figure: Get pizza price.

Related Article

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.