I am self-teaching C# (Programming C# 2nd edition, O'Reilly) and after reading the chapter on programming web services, I have a few of questions:
1) Once the proxy is created with the WSDL command, I am supposed to be able to create a DLL by pasting the code into a library project (book says that). What kind of library project - class library, web control library, windows control library?
2) There is an example of a console application in the chapter that tests the web service. The author said to create a reference in that console app to the DLL. But he doesn't show how. Can anyone tell me how (code-wise, etc.)?
3) Can the web service and console app and proxy be lumped into the same solution or how should they be seprated?
Appreciate any help on this. Thanks!
1) Once the proxy is created with the WSDL command, I am supposed to be able to create a DLL by pasting the code into a library project (book says that). What kind of library project - class library, web control library, windows control library?
2) There is an example of a console application in the chapter that tests the web service. The author said to create a reference in that console app to the DLL. But he doesn't show how. Can anyone tell me how (code-wise, etc.)?
3) Can the web service and console app and proxy be lumped into the same solution or how should they be seprated?
Appreciate any help on this. Thanks!