c# - Add reference vs Add service reference -


i'm little bit confused "add reference" , "add service reference" in case of wcf service. checked on internet , msdn did not find suitable answer.the actual problem i'm facing due lack of understanding this, questioned here (add service reference gives exception: unable connect remote server).

i tried find that, add service reference invoking svcutil.exe , add reference adding dll. however, did not give me clear idea.what internally happens in both case? if add reference working fine basic http connection, why add service reference not work?

please me understand without down grading question.i'm tiring find out solution problem.

use add service reference when adding web service reference solution , needs proxy call service functions. add reference in case when have project , want add library or add external library.

from msdn: "a service reference enables project access 1 or more windows communication foundation (wcf) services"

"the add reference dialog box can used either add or delete project references"


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -