locked
proxy creation? RRS feed

  • Question

  • hi can anyone tell me wat are the different ways to create proxy?
    pavankumar kavety
    Wednesday, December 16, 2009 12:37 PM

Answers

  • Hi,
    See this link

    Think its a good place to start off with

    Hope it helps
    Please mark posts as answers/helpful if it answers your query. This would be helpful for others facing the same kind of problem
    Wednesday, December 16, 2009 12:43 PM
  • Hello,

    You can either generate it through svcutl (add service reference in vs) or create it programmatically through FactoryChannel.
    Vitaliy Liptchinsky http://dotnetframeworkplanet.blogspot.com/
    • Marked as answer by Mog Liang Wednesday, December 23, 2009 3:06 AM
    Wednesday, December 16, 2009 12:44 PM

All replies

  • Hi,
    See this link

    Think its a good place to start off with

    Hope it helps
    Please mark posts as answers/helpful if it answers your query. This would be helpful for others facing the same kind of problem
    Wednesday, December 16, 2009 12:43 PM
  • Hello,

    You can either generate it through svcutl (add service reference in vs) or create it programmatically through FactoryChannel.
    Vitaliy Liptchinsky http://dotnetframeworkplanet.blogspot.com/
    • Marked as answer by Mog Liang Wednesday, December 23, 2009 3:06 AM
    Wednesday, December 16, 2009 12:44 PM
  • VS Generated Proxy
  • svcutil Proxy
  • Proxy by hand
  • Check this link for more info

    http://www.codeproject.com/KB/WCF/CodeProxyGeneration.aspx


    Please mark the response as answers if it solves your question or vote as helpful if you find it helpful. http://thoughtorientedarchitecture.blogspot.com/
  • Proposed as answer by Haripraghash Wednesday, December 16, 2009 1:03 PM
Wednesday, December 16, 2009 1:01 PM
  • Hello Vitaliy,

      Sorry to differ , but I had read that we can create a proxy class:

    1) Adding reference to the WCF service using Visual Studio
    2) Using the SvcUtil.exe command line utility.

    Is Adding reference and creating proxy through SvcUtil one and the same ????

    Also can you tell me which one is a better approach?

    I have a question to ask : When we add a reference in our web site to the WCF Service , why does the proxy class not get created , as it does in the Windows Forms Application and Console Application.

    zeeshan [ visit my forum: www.code4project.com ]
    Monday, December 21, 2009 11:43 AM
  • Zeeshan Jan,

    Adding a service reference is the same as using svcutil.exe. Adding a service reference is easier though.
    Monday, December 21, 2009 12:01 PM