April 23, 2013
The problem is caused by the fact that IIS supports specifying multiple IIS bindings per site (which results in multiple base addresses per scheme, in our case HTTP), but a WCF service hosted under a site allows binding to only one base address per scheme.
Multiple addresses example (in our case two):
Create a custom service factory to intercept and remove the additional unwanted base addresses that IIS was providing.
A) Add the custom service factory to your Custom.svc file
<%@ServiceHost language=c# Debug="true" Service="MySolution.Services.CustomService, $SharePoint.Project.AssemblyFullName$"
Factory="MySolution.Core.CustomHostFactory", $SharePoint.Project.AssemblyFullName$ %>
* Don’t forget to add the assembly full name: $SharePoint.Project.AssemblyFullName$ or you’ll get “The CLR Type...
April 21, 2013
Here’s a quick tip for adding the “Welcome” text before name in an easy and fast way.
Using JQuery code you insert the "Welcome" text in the SearchTopLine class.
$(".SearchTopLine span a").prepend("Welcome ");
See you next time.
April 11, 2013
When trying to use FQL (Fast Query Language) query keyword with double quotes, for example:
body: string(“”hello world””, mode=”and”)
You’ll get “Your query is malformed.Please rephrase your query” Error. Since FQL has a problem with double quotes, the trick is to use backslash (\) in front of the quotes, for example:
body: string(“\”hello world\””, mode=”and”)
Hope this trick was helpful for you as it was for me.
April 4, 2013
The topic of my session is: