Creating Facebook Canvas Apps Using The New Template And Library For ASP.NET MVC 4 Presentation

Sunday, July 21, 2013

I would like to share my presentation about "Creating Facebook canvas apps using the new template and library for ASP.NET MVC 4” Presentation link: https://dl.dropboxusercontent.com/u/18850826/ FacebookGoogleSlider/index.html (open in chrome browser). Presentation on SlideShare: Creating facebook canvas apps from Alex Choroshin Hope you’ll like it
no comments

SharePoint: Getting “This collection already contains an address with scheme http” Error When Creating a Custom WCF Service

Tuesday, 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...
no comments

SharePoint 2010: Long Polling technique using JQuery and WCF rest services example

Friday, June 15, 2012

Hi guys, In the world of web 2.0 we need to make our application (in our case SharePoint) more collaborative, interactive and responsive. that’s why I created a nice example that uses the Long Polling pattern to get us the real-time web applications experience like Gmail or Facebook has. In our example we’ll create a simple Like button that updates our custom list number field and increases it every time we click our button. below we create a label div that shows in real-time the number of likes. (in the end of my post you can download the sample...

Insert suffix like “…” or “more” in the end of the text using c#

Wednesday, September 21, 2011

Hi guys, One of ours clients wanted a generic method that include some kind of suffix like “…” or “more” if the content turned out to be longer than the short description allows. in our solution it was important to shorten the text , NOT in the middle of the word  but after the last space . Bad example our text: Hello World my name is Alex. result text: Hello World my na... Good example our text: Hello World my name is Alex. result text: Hello World my name... that is exactly what this method does. it takes as parameter the text, the suffix and the maximum number of chars and return the new...
tags: , ,
no comments