Home > Microsoft .Net Development News > Making ASP.NET AJAX and SharePoint 2007 work together
Microsoft .Net Development News:
EMAIL THIS

Making ASP.NET AJAX and SharePoint 2007 work together

By Brian Eastwood, Site Editor
27 Feb 2007 | SearchVB.com

Office Development Channel
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google

ASP.NET AJAX promises to usher in the next generation of Web applications. SharePoint 2007 is touted as a top tool for enterprise collaboration and content management.

For even the mildly curious, this begs a question: Can ASP.NET AJAX and SharePoint 2007 work together? For now, the answer is "Yes, but…" with a few caveats.
More on SharePoint 2007
What SharePoint 2007 means for content management

The possibilities, wrote Mike Ammeraan in a blog entry called Integrating ASP.NET AJAX with SharePoint, include more powerful JavaScript libraries, Web services rendering through JSON (JavaScript Object Notification), and interactive parts.

The catch? Official SharePoint support for ASP.NET AJAX will only arrive with SharePoint 2007 Service Pack 1, Ammeraan said. This is because Microsoft shipped SharePoint 2007 while ASP.NET AJAX was still in beta. (Mary Jo Foley reports that Vista SP1 should arrive by the end of 2007.)

The lack of a Service Pack, though, need not deter developers from integrating the two technologies now, Ammerann noted. Such an integration requires three steps -- installing ASP.NET AJAX onto your server farm, extending SharePoint's web.config files and adding the ASP.NET AJAX Script Manager into your master page. Ammerann provides instructions for all three steps, along with a hint for making the Update Panel work inside SharePoint 2007.

Meanwhile, development tools for integrating ASP.NET AJAX and SharePoint 2007 are beginning to emerge in the blogosphere.

Eric Schoonover has created a base class called AjaxBasePart, which "custom MOSS [Microsoft Office SharePoint Server] Web parts can derive from and fully enables all AJAX Extensions functionality within MOSS." Additional information about AjaxBasePart, and its source code, can be found in Schoonover's blog entry, AjaxBasePart: Easy ASP.NET 2.0 AJAX Extensions 1.0 and Office SharePoint Server 2007.
More on ASP.NET AJAX
ASP.NET AJAX Learning Guide

Tip Series: Get started with ASP.NET AJAX development: Part 1  |  Part 2  |  Part 3

Jan Tielens has created a SmartPart, or SharePoint Web part, which allows developers to use ASP.NET AJAX extensions inside a Web User Control and run that control as a SharePoint Web part. Put simply, the SmartPart lets you build Ajax-style controls for SharePoint. This add-in, still in beta, can be downloaded from the SmartPart for SharePoint page on GotDotNet, and additional information and demos are available on Tielens' blog entry, SmartPart for SharePoint -- ASP.NET AJAX Support.

Daniel Larson has created the SharePoint Ajax Toolkit, which comes with SharePoint Solution Package based installer, a Refresh interval programmed into an XMLWebPart and a core framework.

Finally, Tielens offers some quick hints for using the ASP.NET AJAX Control Toolkit with SharePoint 2007.

Tags: .NET Architecture Best PracticesASP.NET and Ajax developmentSharePoint Server and .NET developmentVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
.NET Architecture Best Practices
Introduction to ASP.NET's Model View Controller (MVC) Design Pattern
Free book from Microsoft brings patterns and practices to .NET
Java application frameworks come to .NET
The faces of .NET/Java interoperability
.NET Development coming to a Cloud near you
Distributed caching goes mainstream
A look at concurrency constructs and primitives in .NET
Designing Windows Communication Foundation service contracts
Scaling WCF applications can challenge development teams
Microsoft touts rich Internet app development at Mix08
.NET Architecture Best Practices Research

ASP.NET and Ajax development
How to use jQuery to solve Javascript browser compatibility problems
Silverlight, Ajax components require different approach to UI
Visual Studio's IntelliSense for jQuery doesn't autocomplete correctly
Internet Explorer 8 beta's development tools add source visualizations
Microsoft PDC gives a taste of Windows 7, Visual Studio 2010
Widgetbox provides good example of how to use Facebook Developer Toolkit
VBScript Tutorial
Ajax Learning Guide
Mainsoft introduces .NET-to-Java translation tool
Ajax.NET Professional retired

SharePoint Server and .NET development
Book excerpt: Building personalized solutions in SharePoint 2007
Book excerpt: Building document management solutions in SharePoint 2007
Using SharePoint, Office to develop portals and mashups
Book excerpt: SharePoint 2007 and content types
Book excerpt: SharePoint 2007 and workflow
Web-based workflow builder plugs into SharePoint 2007
SharePoint 2007 Learning Guide: Forums and Community
SharePoint 2007 Learning Guide: Products
SharePoint 2007 Learning Guide: Videos and Webcasts
SharePoint 2007 Learning Guide: Workflow Tutorials

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
.NET  (SearchWinDevelopment.com)
C#  (SearchWinDevelopment.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Development Solutions - Silverlight, WinForms, ASP.NET
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts