Results 1 to 4 of 4

Thread: WCF: Problem implementing it for an aplication

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2009
    Posts
    113

    WCF: Problem implementing it for an aplication

    hi im new to WCF & i got a demo sample from the web below:

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

    however im unsure about the codes in there (theres 3 projects inside the WCFExample) is it possible to use wcf for a client-server application whereby the client will see a page hosted from the server using these sample codes? =S
    Last edited by SawadaKun; Aug 24th, 2009 at 11:25 PM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: WCF: Problem implementing it for an aplication

    You can host a WCF service inside 'anything'. So you can host it in IIS (which is what you're asking about) and you can host it in a console app or a windows form app.

    You want to know how to do it in IIS - create a new project in Visual Studio of type WCF. If you have the patience for it, watch these videos from M Taulty. He does cover using it in IIS.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2009
    Posts
    113

    Re: WCF: Problem implementing it for an aplication

    hi ive looked through it and its donw using vs 2005 so i went to find another link: http://www.youtube.com/watch?v=mX8quq7MoeI where they show a short video of Hosting WCF Services in IIS using vs 2008
    i followed the steps and run everything correctly but find the configuration steps hard to digest =S now i got WCF in IIS, how should i continue doing so to implement it on an application?

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: WCF: Problem implementing it for an aplication

    Yes, a lot of WCF has been abstracted away into the config files, but you could still use it straight out of the box. There's also a 'service configuration editor' which is available to you if you right click the config file - it lets you edit the WCF configuration in a somewhat GUI based way.

    If you now have a client application you want to use it from, go to your client app, in solution explorer 'add service reference'. Then give it a URL to your WCF service in IIS - it should add a reference for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width