Greetings!!
I am new to wcf and have some doubts. I am able 开发者_开发技巧to create one wcf service and also able to consume that service in a client application using "add service reference".. now my question is why do we need SvcUtil.exe to create /generate proxy class and then consumed by client, the same thing can be done using 'Add ref' easily. What is the exact purpose.
You don't - I'm fairly sure they're equivalent. Obviously svcutil can be run from the command line whereas 'Add Web Reference' only works in Visual Studio but they do roughly the same thing.
We use svcutil not add web reference because the huge raft of files it creates became a version control nightmare.
精彩评论