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
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.
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?
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.