|
-
Aug 24th, 2009, 11:22 PM
#1
Thread Starter
Lively Member
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.
-
Aug 25th, 2009, 01:22 AM
#2
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.
-
Aug 26th, 2009, 03:41 AM
#3
Thread Starter
Lively Member
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?
-
Aug 28th, 2009, 01:46 AM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|