Download it here - http://www.codeplex.com/SPWCFSupport
I blogged earlier about "SharePoint as a WCF host". Specifically there are 4 easy steps -
Table of contents
- Basics -
1. Create a WCF Home. This is the virtual directory that will host all your WCF endpoints.
2. Create a WCF Service Library, and throw it in the GAC.
3. Create a relevant .svc file in the WCF home you created in step #1.
4. Write a WCF Virtual Path Provider, and register it in the SharePoint site.
- Real world -
1. Adding WCF Support to a website. <-- You're here!
2. Deploying WCF EndPoints as solutions.
Well, I've made all that much simpler.
To add WCF support to your SharePoint site, simply use the following steps -
a) Download the project from www.codeplex.com/SPWCFSupport
b) Install the solution (or feature) --- I haven't made the solution yet. Will do that soon.
c) Through Central Admin --> Application Management --> Manage Web Application Features .. activate the feature to the website you are trying to add WCF support to. The feature you wanna activate looks like this -->
d) Create a wcf home, which is as simple as Create a directory under the virtual directory that hosts your SharePoint site. Example - c:\inetpub\wwwroot\wss\virtualdirectories\80\_wcf
e) That's it. Now start throwing your endpoints in there.
Windows 2008 specific instruction - You may need to run the following command to fix the Mime types and IIS Metabase
"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y
For more details, please read: Host a WCF Service in IIS 7 & Windows 2008 - The right way.
Finally: A little comment - WCF is a big complex topic. Not every WCF service will work easily with SharePoint. Specifically where you will frequently tear your hair is around authentication issues. This project doesn't read a WCF book for you :-), you still need to learn WCF. I recommend either Juval's or Michelle's book on WCF.