Welcome to Michaels Blog

All posts published in September 2005

Blog of latest news, updates, and stories for developers

Awash in the myKB.com Ajax.NET Code

Scott Cate, a Microsoft MVP, has recently upgraded his popular myKB.com [1] site to use Ajax.NET. In this video, he takes us both on a tour of his new code, and at the same time also a little tour of the Pacific ocean!

Posted by Michael Schwarz on Thursday, September 29, 2005


Using Ajax.NET to create a real time user interface

With any web application there will need to be requests made to the web server to get the latest versions of dynamic data.  In an application like bttlxeMail Webmail every little action requires data to be retrieved from the server.  Selecting a message, flagging a message, checking for new e-mail, managing contacts, notes, calendar, meeting requests, etc - all of that data needs to be retrieved from the server.  Typically each request would be sent back to the web server and a new HTML page returned to the user’s browser with the updated content.  For a data-intensive system like ours though such an approach would introduce a serious performance problem, both putting stress of the server and causing long delays for the user.

Posted by Michael Schwarz on Thursday, September 29, 2005


Ajax.NET Professional - Google Group

Because I get a lot of questions several times I have decided to create a Google Group [1] (http://groups.google.com/group/ajaxpro [1]) to have something like a forum available for all Ajax.NET developers. Feel free to join this group [2] and give feedback about using Ajax.NET Professional. The current version of the library is available at http://ajaxpro.schwarz-interactive.de/ [3].

Posted by Michael Schwarz on Thursday, September 29, 2005


AJAX and back button

I had already some discussion about the back button problem with AJAX related applications. In some scenarios we need this behavior, not for every action. But what we should seperate: the back button is not an undo button. I'm not sure if it is possible to create such a undo function. If it is possible the page must call a method on the server to undo all the actions, ... hm, very difficult.

Posted by Michael Schwarz on Wednesday, September 28, 2005


Ajax.NET Visual Studio .NET 2005 Installer

I put a small template installer on my web site at http://ajaxpro.schwarz-interactive.de/download/AjaxNetProfessional.vsi [1]. This Visual Studio installer will add a web site project template for C# and VB.NET.

Posted by Michael Schwarz on Wednesday, September 28, 2005


ASP.NET Spiced: AJAX (MSDN article about Ajax.NET)

From Karl Seguin: Learn how AJAX (Asynchronous JavaScript And XML) can be used to make your Microsoft ASP.NET applications more dynamic and responsive:

Posted by Michael Schwarz on Tuesday, September 20, 2005


Atlas Callback, Timeout and Error Handler

Because we are still missing some more docs about the Atlas Framework I have check the JavaScript files to give you a short overview over the use of how to write callbacks in the same way Ajax.NET Professional [1] is doing this. The JavaScript wrappers are generated on-the-fly, without any caching. If you have a look in the generated files you will see that they are similar to the generated files using Ajax.NET Professional [1]:

Posted by Michael Schwarz on Wednesday, September 14, 2005


Atlas AutoComplete Feature (UPDATED)

Yesterday evening I build some example code for the AutoComplete feature in Atlas. What you need as first it the AtlasCore.js JavaScript which will give core functions to the page:

Posted by Michael Schwarz on Wednesday, September 14, 2005


Atlas Framework Fiddler Plugin

I tried the new Fiddler [1] inspector plugin [2] and it is working for the Atlas response, too! Atlas is returning an JSON string back to the client-side JavaScript that can be displayed as a tree view in Fiddler. Download the free Fiddler inspector plugin at http://ajaxpro.schwarz-interactive.de/download/AJAX.zip [2].

Posted by Michael Schwarz on Wednesday, September 14, 2005


Fiddler Inspector for Ajax.NET Professional

While here at the PDC 05 in Los Angeles I got the request to upload the Fiddler inspector for Ajax.NET Professional calls. Click here [1] to download the latest Ajax.NET Professional library and the Fiddler inspector DLL. Please copy the file AjaxFiddlerInspector.dll to the folder c:\Program Files\Fiddler\Inspectors. The should appear a new inspector called Ajax.NET which will display the request and response in a tree view control.

Posted by Michael Schwarz on Monday, September 12, 2005


Source Code of Ajax.NET Professional

As announced yesterday [1] I put the latest source code of the Ajax.NET Professional Library online at http://ajaxpro.schwarz-interactive.de/ [2], now. You can download the full source code including the small example project written in C#.

Posted by Michael Schwarz on Friday, September 9, 2005


Ajax.NET Professional Update

I have updated the example web site with the latest beta version of Ajax.NET Professional [1]. The current version has fixed some small bugs and added full date support including time zone.

Posted by Michael Schwarz on Thursday, September 8, 2005


Microsoft Atlas Framework auf der ASP Konferenz

Die finale Version von Visual Studio 2005 und SQL Server 2005 kommt im November 2005. Bei der 12. ASP konferenz spielt die neue Version von ASP.NET 2.0 die zentrale Rolle. Neue Controls, 70 % weniger Code und eine Menge mehr, das müssen Sie sich einfach ansehen.

Posted by Michael Schwarz on Thursday, September 8, 2005


Ajax.NET article on .NET Developer's Journal

Vishwas Lele [1]: In the past few months, the design pattern of combining Asynchronous JavaScript and XML (AJAX) to develop highly interactive Web applications has been growing in popularity. High-profile Web applications such as Google Maps and A9 are currently leveraging the combination of these technologies to produce rich client-side user experiences. The individual technologies that compose AJAX are not recent developments; they have been around for some time and have been continuously updated and improved. However, it is the recent confluence of these technologies that is leading to interesting possibilities.

Posted by Michael Schwarz on Wednesday, September 7, 2005


Second beta with caching, token, ... support

I have published the second beta for the Ajax.NET Professional [1] library. Feel free to download the free library including the online example written in C#.

Posted by Michael Schwarz on Tuesday, September 6, 2005


Download new latest beta version for Ajax.NET Professional

I have added a very simple demo page that will show the features are currently in the downloadable beta [1]version. See my new web site at http://ajaxpro.schwarz-interactive.de/ [2].

Posted by Michael Schwarz on Friday, September 2, 2005


Ajax.NET Professional - everyone invited to test the beta

I have put a first beta of the new library that is rewritten to support objects as arguments (like submitting a complete DataSet from JavaScript code), export of enums to JavaScript, script wrappers are cached on the server and marked with the HTTP ETag to save bandwidth, allow encryption of data stream (client and server-side), using Namespaces on client-side JavaScript, ...

Posted by Michael Schwarz on Thursday, September 1, 2005


Implementing Ajax.NET-based Lookup Server Control

Michael Dubakov [1] wrotes on his blog:

Posted by Michael Schwarz on Thursday, September 1, 2005


Caching of AJAX script files

I added the HTTP header value ETag [1] to my scripts that they can be cached on the client. This will fasten up initial loading of the complete page if the scripts are not changed, what is the default on running systems. I think this feature was missing in the old library, all the client-side stuff was sent to the client.

Posted by Michael Schwarz on Thursday, September 1, 2005


Searching for Ajax.NET Professional beta testers...

Hi to all Ajax.NET developers,

Posted by Michael Schwarz on Thursday, September 1, 2005


Sending a System.Data.DataSet to an Ajax.NET Professional method

I have added some small .NET object wrappers to the client-side JavaScript. As an example I have build a DataSet wrapper that you can use to submit a DataSet to the server using AJAX in the same way you are using DataSets on the server-side .NET code:

Posted by Michael Schwarz on Thursday, September 1, 2005