Thursday, November 23rd, 2006

Lollygag: Latest non-Atlas .NET Framework

Category: .NET, JavaScript, Library, Toolkit

The Lollygag framework is a new Ajax framework for .NET.

As Steve the author put it:

We attended the first Ajax Experience conference in San Francisco and we got super excited about the potential for building Ajax applications. Since we have a Microsoft .NET background, we planned to start building Ajax applications using Microsoft’s Atlas framework. However, we quickly encountered several serious issues with Atlas. Doing simple things in Atlas, such as database access and form validation, turned out to be really difficult. We were also disappointed to discover that Microsoft has no plans to support its client-side Atlas framework in the immediate future.

We built the Lollygag framework in order to build true Ajax applications in the .NET environment. We wanted to build single page Web applications that never perform postbacks. All updates are performed through Ajax calls to the web server.


  • Powerful Widget Framework: The Lollygag framework includes a rich set of client-side widgets that you can use to display database data, perform form validation, and create rich animations. You declare widgets in a page in exactly the same way as you declare HTML tags.
  • Autocomplete Support: When you declare Lollygag widgets in a page, you get full autocomplete support while you type. To get autocomplete support, you must use an XML aware development environment such as Microsoft Visual Studio .NET.
  • Declarative Database Access: Accessing database data with the Lollygag framework is easy. You can bind client-side widgets directly to data exposed by a database or you can bind widgets to data exposed by a business object.
  • Secure Form Validation: When taking advantage of the Lollygag framework, you specify how a form field is validated only once. The validation is automatically applied on both the server and the client. Unlike other frameworks that only provide validation on the client, the Lollygag framework prevents malicious users from bypassing client-side validation and submitting data directly to the server.
  • Rich Animation Framework: Lollygag includes an entire animation framework. You can take advantage of animations to create different effects such as fades and wipes.
  • Cross-Browser Support: The full Lollygag framework works on the latest versions of Internet Explorer, Firefox, Safari, and Opera.
  • Automatic JavaScript Compression: The Lollygag framework compresses all JavaScript sent to the browser automatically. Any custom JavaScript code that you write as a developer is also compressed automatically.
  • Powered by .NET: The server-side portion of Lollygag is built on the Microsoft .NET 2.0 Framework. You can build server-side business objects using standard .NET languages such as C# and VB.NET. Lollygag client-side widgets can consume data exposed through server-side objects.

Hello World

  1. < ?xml version="1.0" encoding="utf-8" ?>
  2. < ?xml-stylesheet type="text/xsl" href="/lollygagSite/lollygagframework/0_1/lollygag.xsl"?>
  3. <lolly :application title="Hello World" xmlns="" xmlns:lolly="">
  4.   <lolly :button id="btnSumit" label="Click Here!" onClick="alert('Hello!')" />
  5. </lolly>


How does it compare to Atlas? Read their thoughts on the matter.


Sample Application

Posted by Dion Almaer at 8:00 am

3.7 rating from 27 votes


Comments feed TrackBack URI

Isn’t this too xml’ish?

Also, visit the project at, maybe this is what you really want.


Comment by zproxy — November 24, 2006

In the article said “We were also disappointed to discover that Microsoft has no plans to support its client-side Atlas framework in the immediate future.”?
Is it true?

Comment by steve — November 24, 2006

pgftlF2R0n7j kLyx9iGAxb sFMwM5giE3fz

Comment by UAaE4p7o09 — November 25, 2006

I think the statement “Microsoft has no plans to support its client-side Atlas framework in the immediate future” is incorrect. Have you just been centering on the Atlas community preview (CTP) rather than the shipping Atlas product? The shipping version is in Beta so I’m reserving my judgement for the realease version. So far Atlas let me just drag a control onto a page and I get AJAX support. I’m not sure how much easier that can get. Well, maybe if it moved my mouse arm for me. That said, kudos for your efforts.

Comment by Zeph — November 26, 2006

I wanted to clarify my statement “Microsoft has no plans to support its client-side Atlas framework in the immediate future”. Microsoft has divided Atlas into two products: ASP.NET AJAX and ASP.NET AJAX Futures. Microsoft has announced that ASP.NET AJAX will be available before year end with full support. However, all of the client-side Ajax controls are in ASP.NET AJAX Futures. Microsoft has stated that they will not support ASP.NET AJAX Futures in the immediate future and that the product might change.

Comment by Stephen Walther — November 27, 2006

Leave a comment

You must be logged in to post a comment.