1.

What Is Web Service Locally Testing?

Answer»

This is the process for testing a Web service that runs on your local computer but not in IIS:

  1. CREATE the Web service on the local file SYSTEM.
  2. Generate unit tests against the Web service in the standard way for generating unit tests.
  3. Add the AspNetDevelopmentServerAttribute attribute to the unit test. The arguments for this attribute class point to the site of the Web service and NAME the server.
  4. Within the unit test, add a CALL to the TryUrlRedirection method to point the Web service OBJECT to the correct server. Verify that it returns true, and use and Assert statement to fail the test if the redirection fails.
  5. Call the Web service or exercise it in any other way that you feel is necessary to test it thoroughly.

This is the process for testing a Web service that runs on your local computer but not in IIS:



Discussion

No Comment Found