The next afternoon, Ken opens the system diagram for the Global Bank Web site in Team Suite. From the Toolbox, Ken adds a new system directly to the diagram. A new system diagram appears, which he names CDService. The Global Bank Web site will connect to this new system to display CD rate information that is collected from the United States Treasury. Ken continues designing the new system by adding a blank ASP.NET Web application to CDService. He names this application CDWebSite. This Web application will expose the CD information to the Global Bank Web site. Next, Ken adds two ASP.NET Web services and names them TreasuryBondService and CDRatesService, respectively. TreasuryBondService detects CD rates and CDRatesService allows customers to purchase CDs online. Ken then adds an External Database to the diagram and names it GlobalBankDB. GlobalBankDB stores the CD rate information.
Ken now needs to define the flow of information between the items in CDService, which he does by adding endpoints. Each member needs to connect to CDWebSite, and CDWebSite connects to CDService. CDService then connects to the main Global Bank Web site. Ken quickly adds the appropriate endpoints from the Toolbox.
Figure 1: CDService Diagram
Ken is now ready to generate a code skeleton for the new system. Ken opens the application diagram and then selects CDWebSite on the design surface. He uses the Properties window to change the default implementation language to Visual C#. Ken then uses the Implement Application command to create a skeleton of the new Web application. Visual Studio stubs out a Visual C# Web application named CDWebSite, including basic files such as a web.config file and a default .aspx page with C# code behind. Ken renames default.aspx.cs to CDServices.cs and then opens the file to review the skeleton code automatically generated for him.
Ken makes some minor changes to the code and then saves his work. He makes a copy of the system diagram image and posts it under the Shared Documents folder in the Project Portal web site for the solution. He then e-mails the link to the diagram to Alan for his reference. Deciding he is finished, Ken then checks in all the changes he has made.
Before work can begin on coding the new service, Ken must enter work items for the database designer and the primary developer and tester for the new service. He then updates the status of the task assigned to him so that Alan can see the progress that has been made on the new service.