I am confused that how can i call WCF without adding reference of that. I need to test WCF is running or not only do not need other use of that, that's why i am searching to call it without adding reference of that. I came to know that using svcutil.exe we can do that and searched for it but could not find any solution, so anyone can help me to do this stuff?
Thanks Arun.
What it sounds like you are looking for is the WCFTestClient that comes with visual studio. This is typically located in C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE (C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE for 64bit users) and it is called WcfTestClient.exe
For a pure code solution i suggest looking at this SO answer: WCF Configuration without a config file
精彩评论