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

Fast Search Pipeline Extensibility for Specific Content Source

Friday, May 17, 2013

Since the Pipeline Extensibility is not restricted to any content source and the fact that you do not have a proper API, makes it really hard to work with a specific Content Source. Luckily for us we have a Crawled Property which is mapped to the managed property "ContentSource": <CrawledProperty propertySet="012357BD-1113-171D-1F25-292BB0B0B0B0" varType="31" propertyName="315" /> So you can include this in your extensibility configuration and you can see which content source the data came from and apply appropriate logic. Example: static void Main(string args) { XDocument inputDoc = XDocument.Load(args); ...
one comment

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: Can’t Activate Site Collection Feature When Creating New Site From a Custom Web Template.

Saturday, March 30, 2013

The onet.xml file is basically divided into two parts, first is the "SiteFeatures" element and the second element called "WebFeatures". The "SiteFeatures" Section that holds the site features starts activating all the features only when creating a site collection. The "WebFeatures" Section that holds the web features starts activating all the web scoped features only when creating a site. Scenario: you created a custom web template, deployed the solution and when trying to create a site from you custom web template you get the following error "the site template requires that the feature {GUID} be activated in the site...
no comments

A Cool New ‘Paste JSON As Classes’ Feature in ASP.NET Web Tools 2012.2 RC

Saturday, January 26, 2013

Great news for Web developers, With ASP.NET and Web Tools 2012.2 RC installed, you now have a great and easy tool for converting your JSON objects into C# or VB.NET classes. This feature uses Newtonsoft JSON parser to parse JSON text from clipboard. Once Newtonsoft JSON parser validates the clipboard data as valid JSON, then it will be converted into C# or VB.NET class depending on the selected file type. Here’s a simple example: A) Copy to clipboard your JSON object. { "link": "http://www.microsoft.com/Surface/en-US", "virtual": "Virtual Keyboard", "partial": " The magnesium panels are finished...

How To Create A Windows 8 App For SharePoint Part 2 – The Development Stage

Sunday, September 30, 2012

  The Development Stage In my last post How To Create A Windows 8 App For SharePoint Part 1 – The Planning Stage we discussed about the reason I chose Windows 8 HTML5 as my development environment and why it’s the best and the most intuitive environment for SharePoint developers who plan to start creating Win8 apps. Today we will focus on developing our Win8 app and integrate it with SharePoint Online 2013. The app will serve as a search and use The new Search REST API to pull data from SharePoint 2013 Search engine (FAST) and display it in our app....

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...

SharePoint 2010: Clearing Items For Specific Content Source Tool

Monday, April 30, 2012

  Recently our client needed to remove items from a specific content source. The problem was that neither the standard SharePoint Search nor FS4SP had any support for this scenario (UI or any object API) even though it seems like a reasonable task. The only thing the product offers us is Index Reset which clears all the searchable items in your index, and in case of FS4SP we will need to call Clear-FASTSearchContentCollection using PowerShell.  Of course it’s a good method for clearing all content but in our case we needed to clear only one content source . Luckily for us Mikael...
3 comments

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

First Time For Everything :))

Monday, September 12, 2011

Hi guys, For my first blog post i would like to introduce my self...My name is Alex Choroshin i have Over 2 years of development experience with the SharePoint  2007\2010 platform ,Encompassing all the aspects of SharePoint development.Also knowledge in developing ASP.Net /Silverlight / Wpf Applications. currently i work at a bank,  developing  portal based on  2010 sharepoint platform. my Specialties :ASP.NET| WSS | C# | SharePoint 2010 | MOSS 2007 | .NET | Silverlight | WPF | MSSQL | Custom Controls | Web Parts| BCS | WCF | CSS | HTML | Javascript I'm sure we gonna have a lot of fun...