blah blah blah is here! blah blah » Close

up0down
link

Hello,

is there a way to share the web service instead of having to add a new service reference in each project? For example, if i change the address, i have to change it in each project. If i share it for all projects, i only have to change it once. im using Visual Studio 2008.

Thank you.

last answered one year ago

1 answers

link

well adding a reference means that you are sharing a webservice already. but to share it one time only you have to make a library project and add a web reference to this project. so for each project you want, you can add a reference to that library or just add the dll which contains the web reference. so in other words the web service will be your data access layer and the library project will be you business logic layer.

Thanks.

Feedback