Well, it is a little bit convoluted but here it goes:
have one solution that have your win forms, web service, and
dal as
separate projects.
Make your webservice as the start project and run the whole
project.
You will get a a browser window explaining the webservice
and also
optiosn to call the different methods of the service.
Set all the break points inside the web service or dal
projects.
Click on the winforms project in your proj manager and then
from the
debug dropdown select start without debugging.
Now whenever your winform app connects to your webapp and
hits a
breakpoint your vs ide will start flashing and you are good
to go.
In case you cannot start the whole thing, and then only the
winapp at
the same time, it will be good to have a separate vs ide
loading only
the winforms and after starting the webservice, you can
start the
winforms one as well and debug both of them.
|