Hands-on Lab Exercises

Retired Content

The Web Service Software Factory is now maintained by the community and can be found on the Service Factory site.

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies.
This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Retired: November 2011

Which Hands-on Exercises Are Right for You?

The following walkthrough and hands-on labs (and their associated code) are included with the Service Factory: Modeling Edition:

The “15-Minute Walkthrough” is a shortened version of the “Building a Service” hands-on lab for those who quickly want to see some of the Service Factory capabilities.

The “Building a Service” hands-on lab is intended for anyone who wants to learn about the Service Factory: Modeling Edition. It will introduce you to all three models in the Service Factory and allow you to build an ASMX or WCF service using the Service Factory.

The “Creating Your Version of the Service Factory” hands-on lab is only intended for those who want to modify the Service Factory source code. This will most likely only be lead developers and architects.

Both hands-on labs and the walkthrough use the scenario in the next section as the basis for the activities that you will perform.


The documentation and the source code solution files for the walkthrough and for each exercise in both hands-on labs can be downloaded from CodePlex.


The Board of Directors at Blue Yonder Airlines has just accepted a multi-billion dollar project proposal, named Total Flying Status, that will put the company in direct competition with both the major airline companies and aircraft manufactures. This is opposed to the niche commuter market it has dominated for the past several decades. No other airline in the industry has ever attempted to manufacture is own aircraft—this is a bold strategic move that could make or break the organization—they have to get it right the first time. Blue Yonder plans to accomplish the new capabilities through the acquisition of an aircraft manufacturer of similar size.

In this scenario, you will be taking on the role of Pat, the senior software development lead on the framework and tools team inside the Blue Yonder IT department. As part of project Total Flying Status, thousands of Web services have been identified as needing to be built to support the future operations, integration, and management capabilities. You've been working with Leslie, the enterprise architect of Blue Yonder, to determine the best way to provide a consistent, productive, predictable, cost effective way for the hundreds of developers—spread across three continents—to build these services.

You've both agreed that providing them a modified version of the Web Service Software Factory: Modeling Edition is the best approach for the Blue Yonder developers and vendors. The following changes have been identified and need to be applied to the factory before becoming part of the developer's environment:

Have a consistent solution structure for projects that make up the services.

Add the capability to model business entities to the factory and do the following:

  • Include associated model validation rules
  • Include associated code generation templates
  • Extend a business entity with information about its source
  • Import and export business entity metadata to and from a model designer

Reuse existing, common models in new solutions.

This is what you are being tasked to accomplish.