Ajax.NET - new version available (5.5.8.1)

Sorry for the delay on my current release, but the new version is available, now!!

A nice new feature is to add a context to your callback. When you want to update several HTML elements (i.e. the innerHTML property), but you don't want to add a callback handler for each one you can add a context to the call, now. See the new example at http://ajax.schwarz-interactive.de/csharpsample/default.aspx.

Some developers asked for having the common Ajax.NET Javascript file as an external file. This is not nice for distribution. I added a new web.config setting where you can configure your own ajax.js. Also, I added tracing support to my handler. I will add more detailed information later.

The DLL is now a strong named DLL, it can be placed in the global assembly cache. You can add the httpHandlers section to your machine.config to have the Ajax.NET library available in all of you web projects.

I added Pocket PC (Windows Mobile PC) support, but on Pocket PCs there is not so much DOM support to modify HTML elements on the fly, but perhaps you can use it to send form data to the server.

Using special chars (like the Norwegian) didn't work in the last release. I fixed this, please tell me if there are still chars not working!

To download the latest Ajax.NET library click here: http://ajax.schwarz-interactive.de/download/Ajax.zip

13 Comments

  • Marc said

    Great software, working fine!!!! THANKS... What is your next step for next release? Do you have a road map?

  • Palo Reims said

    Michael, thanks for supporting strong named assemblies. Now I can add it to my hosting server for all of my customers. They will love it...!

  • Mauro said

    I asking you if there will be any change if using ASP.NET 2.0 beta. Can we be sure to use it with the next framework also?

  • Ajax Blogger said

    Hi Michael, I added your link to our link database. Can you give me an idea what we can do with your software?

  • scott e said

    Hi Michael,
    I have noticed a problem with the new .dll -- only simple types work now. An error gets thrown 'Syntax Error: ; required'. I noticed sending back an arraylist, it doesn't work, but the value has the name of my vb class... weird. The class has only simple types and a DateTime. All of this worked well with the last version, though...

    thanks-
    se

  • Arthur Strutzenberg said

    One word: AWESOME

    Just out of curiosity, I would like to use your implementation of the AJAX with a commercial application.

    What sort of licensing do you plan to use for this?

    --Arthur Strutzenberg

  • Michael Schwarz said

    @Arthur: There is no real license. This is a project for one of my private web sites. I am also using this library at work and for some web sites for my dad. You can use it in any project...

  • Anders Wåglund said

    Hi Michael,
    this component is great! But I do have some problems when returning custom classes - it just doesn't work.
    I tried to add:
    public class MyClass
    {
    public string Test;
    }

    [Ajax.AjaxMethod]
    public MyClass GetClass()
    {
    MyClass c = new MyClass();
    c.Test="Testing testing";
    return c;
    }
    to Methods.cs and then accessing this with:
    function doGetClass(){
    DemoMethods.GetClass(callback_doGetClass);
    }
    function callback_doGetClass(res){
    alert(res.value);
    }

    but I only get "CSharpSample.DemoMethods+MyClass" as the value. Could you please make an example of using custom classes on the sample page?
    Thank you

Comments have been disabled for this content.