Welcome to Michaels Blog

All posts published in April 2006

Blog of latest news, updates, and stories for developers

Download latest Ajax.NET Professional 6.4.28.1

Download the latest Ajax.NET Professional [1] library and examples for free at http://www.ajaxpro.info/ [1]. Support and feedback welcome at the Google group [2].

Posted by Michael Schwarz on Friday, April 28, 2006


Updated Ajax.NET Professional source code

To let others check changes made to the current release of Ajax.NET Professional [1] I have updated the source code that is available at http://www.ajaxpro.info/ [1]. If you find any bug or have other great ideas or changes please visit the Google group at http://groups.google.com/group/ajaxpro/ [2].

Posted by Michael Schwarz on Wednesday, April 19, 2006


App_Offline.htm and Ajax.NET Professional

I read the nice article about the App_Offline.htm on Scotts [1] blog [2]. If you are using Ajax.NET Professional [3] you can simply check in the callback function if there is any error. While the App_Offline.htm is placed in your web application you will get the res.error.status = 404. This indicates that the file you are trying to download (the request to your Ajax.NET method) could not be found. It would be nice to get a more AJAX enabled friendly error message while the web application is offline. In my local version I have added <!-- App_Offline.htm --> to my App_Offline.htm source which indicates the Ajax.NET Professional library to throw a different error event than http status 404. It would be nice if Microsoft would add such information to a http header like this:

Posted by Michael Schwarz on Tuesday, April 11, 2006


Download new Ajax.NET Professional version 6.4.11.1

Changes done for version 6.4.11.1:

Posted by Michael Schwarz on Tuesday, April 11, 2006


Removed Object.prototype.extend for third-party libraries

I have published a new beta versiont that will get rich of the Object.prototype.extend that is in conflict with several third-party libraries. Download the beta at http://schwarz-interactive.de/download/6.4.5.2-beta.zip [1] and if you have any feedback please use the thread in the Google group here [2].

Posted by Michael Schwarz on Wednesday, April 5, 2006


Cookieless Session running with Ajax.NET Professional (ASP.NET 1.1, fix for 2.0)

The problem why cookieless sessions are not working in ASP.NET 2.0 is very easy, there is a change how it works internal. I have already fixed the code that it will work with ASP.NET 2.0 as with the older version 1.1. Have a look on the new release version 6.4.5.1 (or higher) in the next minutes on my web site [1].

Posted by Michael Schwarz on Wednesday, April 5, 2006


Ajax.NET Professional, enums and global onError/onLoading events

The version 6.4.4.1 [1] has fixed the missing enum support, now. To register an enum for client-side JavaScript code you have to add following code (the old AjaxEnum attribute is not needed):

Posted by Michael Schwarz on Tuesday, April 4, 2006


Web Page Analyzer and overall traffic

I the last weeks I used Fiddler [1] to see what is sent over the lines on initial start of a web site and during the web application is running. You can simply mark more than on request line. On the right side you will then see in the Performance Statistics how many bytes are received from the client.

Posted by Michael Schwarz on Tuesday, April 4, 2006


Why is it hard to compare AJAX libraries?

Months ago I started several chats with a lot of AJAX developers, some are using my Ajax.NET Professional [1] library, others are working directly with the XMLHTTPRequest object. I had a look around and found that there are a lot of other libraries that are not working like my lib. The big difference is that they are using ASP.NET in the traditional way, drag&drop web controls on the page, add some event handlers and write two or three lines of code. With Ajax.NET Professional I completly remove the web controls from my mind. Some parts of my web sites are using web controls for initial display, but most of them are using about 95% JavaScript code.

Posted by Michael Schwarz on Monday, April 3, 2006


How to use a different file extension for Ajax.NET Professional

As a result of my last blogs [1], if you want to use a different file extension for the Ajax.NET Professional [2] JavaScript wrappers you can simply use ASPX or any other file extension. You only have to change your web.config file and tell the Ajax.NET Professional library to use that extension. I put an example project [3] in the Google group [4] that will use the ASPX file extension that is enabled by default for ASP.NET web applications.

Posted by Michael Schwarz on Monday, April 3, 2006


Download latest Ajax.NET Professional 6.4.3.2

Feel free to download the latest assemblies [1] for the .NET Framework 1.1 and 2.0 (ajaxpro.2.dll) from my web site. The example project download still includes the old version, don't forget to replace it with the newer release.

Posted by Michael Schwarz on Monday, April 3, 2006


Missing .ASHX Mapping will stop Ajax.NET running

Some web server hoster have removed the default .ASHX file extension mapping. Ajax.NET Professional (and the older library) will work using this mapping. Please ask your hosting company to add this file mapping for you, or if you have access to the IIS configuration go to your web site properties -> HomeDirectory.

Posted by Michael Schwarz on Monday, April 3, 2006