IIS required?

  • Thread starter Thread starter CSharper
  • Start date Start date
C

CSharper

I am going to create a web service and test them out locally. I have
VS2008, do I need IIS to test them?
Thanks
 
CSharper said:
I am going to create a web service and test them out locally. I have
VS2008, do I need IIS to test them?

Visual Studio 2008 works nicely if you add two projects to the same
solution, one project for the web service and another for the client program
that calls the service. You can mark the client as "startup project" and
when you run it, it will automatically start the internal server to run the
web service, as well as a second webserver for the client program if it is a
web application.

This works fine for the initial tests but, as has already been mentioned
in another post, you will need at some point to test against a real IIS,
since not everything is identical to the runtime environment under Visual
Studio.
 
   Visual Studio 2008 works nicely if you add two projects to the same
solution, one project for the web service and another for the client program
that calls the service. You can mark the client as "startup project" and
when you run it, it will automatically start the internal server to run the
web service, as well as a second webserver for the client program if it is a
web application.

    This works fine for the initial tests but, as has already been mentioned
in another post, you will need at some point to test against a real IIS,
since not everything is identical to the runtime environment under Visual
Studio.

Thanks Both.
 
CSharper said:
I am going to create a web service and test them out locally. I have
VS2008, do I need IIS to test them?

To test .asmx or WCF over HTTP then you need a web server and
if they will ultimatetly be deployed on IIS then you should test
them on IIS.

Arne
 
Back
Top