Microsoft once talked about software factory. When SOA (Service-Oriented Architecture) emerged in large-scale project development, we cannot ignore web service software factory, especially when Microsoft launched the Windows Communication Foundation.
Web service software factory is usually referred to as service factory. It is not only a software design idea, but also integrates development tools, models, Design Guides, documents, andSource code. It helps developers quickly create web services through architecture design, pattern, and WCF. Service factory architecture:
The main content includes:
1. Design asmx and WCF message and service interfaces;
2. Establish a unified Exception Handling Mechanism;
3. Create Business Entity objects for the domain model;
4. Converts Business Entity objects and messages;
5. Design, create, and call the data access layer;
6. Service implementation, configuration and security;
7. migration from a project to a WCF;
8. Implement Security for the WCF Service;
9. Provide message verification;
For details about service factory, visit http://msdn.com/servicefactory.
To help developers better understand Service Factory, Microsoft also provides service factory hands-on lab. It provides a complete set of exercises, including:
Exercise 1: create a solution;
Exercise 2: create a data type;
Exercise 3: create a message type;
Exercise 4: create a service operation (similar to the web method of a Web Service );
Exercise 5: create a business entity object;
Exercise 6: complete conversion between business entity objects and messages;
Exercise 7: Create a stored procedure;
Exercise 8: create a data category;
Exercise 9: Call the data access layer;
Exercise 10: Test and client call;
Service Factory hands-on lab is carried out in an actual example to provide Membership Services for a virtual wine retailer Coho winery. Through this exercise, you can learn from its layered architecture design, SOA "service autonomy", message-based distributed processing system, WCF, data and messages, unit testing, design patterns, and many other valuable technologies. and ideas.
For more information about service factory hands-on lab, download related tools andCode, Visit what you'll see inside the lab. For more information about service factory, visit http://www.codeplex.com/servicefactory.