Ajaxifying Sharepoint 2010

Just a quick note on how to ajaxify Sharepoint 2010:-
1. Download the code files from http://ajaxifymoss.codeplex.com/
2. Update the location of stsadm to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm in deploy.cmd and upgrade.cmd files respectively.
3. Open command prompt in admin mode and run the following command:
STSADM.EXE -o addajax -url http://UNLT239/MOSS
to ajaxify the site. In my case it is the above url, however you would need to specify STSADM.EXE -o addajax -url <sitename_to_be_ajaxified>

Once this is done, navigate to the web.config file and ensure that you replace the version of your system.web.extension to 3.5.

Also the following changes are extremely vital:-

<httpHandlers>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
<httpModules>
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</httpModules>

Comments

Anonymous said…
Admiring the persistence you put into your site and in depth information you provide. It's good to come across a blog every once in a while that isn't the same outdated rehashed information. Wonderful read! I've bookmarked your site and I'm including your RSS feeds to my Google account.

Popular posts from this blog

Load Data into Azure DW using C# in an SSIS script task

Branding your SharePoint site in a super fast way - Emgage

Power BI To Embed Or Not To Embed