Create a WCF directory in SharePoint

We will create a directory on the SharePoint site hosted with IIS 7.0.
  1. Create a physical folder in the same virtual directory that hosts SharePoint (to inherit permissions) for example I created the directory: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\_wcf
  2. Through IIS manager verify that the file exists, otherwise create a new one bearing the same name (warning: do not convert to a virtual directory)
  3. Execute the following commands to register WCF on Windows Server and IIS, the first is to Save the namespace ServiceModel and the second is to add some specific extensions bindings forREST services.
  4. %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" -r -y
  5. C:\WINDOWS\Microsoft.NET\Framework\v3.5\WFServicesReg.exe" /c

Last edited Dec 4, 2009 at 9:20 AM by achaabouni, version 2


No comments yet.