Share via


Host Model Activities

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

Figure 1 shows the activities that you can perform on the Host Model.

Ff648919.06e68775-20f3-40e9-b186-695c61c50ab9(en-us,PandP.10).png

Figure 1
Host Model activities

The main activities after you add the Host Model are the following (see Exercise 7 for all activities):

Design Activities:

  1. Add the host application.
  2. Add a service reference to the host.
  3. Add an endpoint to the service reference.
  4. Add the client application.
  5. Add a proxy to the client application.
  6. Connect the client proxy to the service endpoint.

Implementation Activities:

  1. Select the host implementation technology. This allows you to select either WCF or ASMX as the host implementation technology. For more information, see “Host Model” in Choosing a Technology.
  2. Add reference to a service element in the Service Contract Model.
  3. Select client implementation technology (WCF or ASMX).
  4. Select the host implementation project.
  5. Choose the client implementation project.
  6. Validate the Host Model.
  7. Generate the service code. For more information about generating code, see Generating the Implementation.
  8. Configure and start the service.
  9. Create the proxy.
  10. Use the proxy to consume the service.

For more information about the specific elements on the Host Model, see “Host Model” in Designing with the Models.