April 23, 2013

Problem:
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):
Solution:
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.
Example:
$(".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 Israel first JavaScript Conference - will take place on Tuesday, June 18, 2013.
The topic of my session is:
JavaScript UI Components
As the HTML5 and JavaScript applications continues to gain incredible momentum and also the need for cross-platform development brought many companies like "Kendo UI" to realize that if they plan to stay in the game they need to re-invent them self's and offer developers a rich HTML, JavaScript framework to enhance their web development experience . In our lesson we'll discuss about why when and how we plan to use awesome UI Components like Charts, Trees, Graphs, Lists and...