News Feeds
Ajax.NET Professional (AjaxPro) is one of the first AJAX frameworks available for Microsoft ASP.NET and is working with .NET 1.1 and 2.0.

The framework will create proxy classes that are used on client-side JavaScript to invoke methods on the web server with full data type support working on all common web browsers including mobile devices. Return your own classes, structures, DataSets, enums,... as you are doing directly in .NET.


AjaxPro FAQ


Setup your web application for AjaxPro


Your first Ajax request



Community and Forum
I've removed the forum here because there is already a forum available at the Google groups with more than 4.000 users: http://groups.google.com/group/ajaxpro/

My Blog
My blog is available at http://weblogs.asp.net/mschwarz/ where I will write about Ajax news and other .NET related stuff.

Demo
See http://www.ajaxpro.info/ and http://munich.schwarz-interactive.de/ for some examples on how to use AjaxPro.
Last edited Dec 7 2006 at 11:16 PM by codeplexadmin, version 21
Comments
Also available: 1 review for current release.

wegrata wrote  Oct 12 2006 at 6:13 PM 
I have 2 questions regarding the functionality of AjaxPro.Net.

1) Just to confirm my understanding of what's going on. When you mark a method as an ajax method does AjaxPro generate a web service method and a javascript proxy to the method?

2) If the answer to my first question is yes, are Restfull web services supported?

crownabhisek wrote  Oct 29 2006 at 9:06 PM 
And i wanna know, where is the PDF version of AJAX learning kit can be downloaded for free.

Please mail me at "crownabhisek@goowy.com" or else put it over here as a comment.

Thanks in advance....

Strider wrote  Nov 29 2006 at 1:18 PM 
Is ther any product documentation for AjaxPro? or a learning kit or something? please let me know. my email is amitkale@sanginfo.com. thnx

hakksor wrote  Mar 7 2007 at 7:41 AM 
Michael,
Since the last release of AjaxPro was Oct-06 and after reading your blog it seems you spend your time nowadays playing with WPF, can we consider the AjaxPro project resting/dying?

tcboring wrote  Mar 30 2007 at 9:34 PM 
I wouldn't consider this project dead at all. Rather, I would say that it is in a state of rest awaiting future enhancements.

Microsoft ought to incorporate the deliverables and concepts of this project into AJAX Extensions and AJAX Control Toolkit. I *had* been working with the ASP.NET AJAX Extensions and AJAX Control Toolkit for about 6 weeks to build a prototype of a new web application--3 or 4 weeks of learning the technology and 2 or 3 weeks to build the site. This project, however, let us rebuild the same prototype in less than a week.

Good job, Michael! And a good job to the rest of the development team!

irw7 wrote  Jul 5 2007 at 3:34 AM 
WOW, it's like macromedia flash .ner remoting. Really it's fantastic. But I don't know what the correlation with AJAX extension. I think it's different fom real AJAX. My recommendation is you should try this, really excellent !

cytosoul wrote  Jul 9 2007 at 4:53 PM 
Do you have any workarounds for the issues with AjaxPro and returning datasets? That's kinda vital....

mahmoodvcs wrote  Aug 12 2007 at 1:26 PM 
I'm using AjaxPro in a Class Library. I needed JavaScriptSerializer and JavaScriptDeserializer classes to send and receive an object between server and client. in this object I have an array of a "base_type". this array contains some instances of types derived from that base type.
I got a problem while deserializing this object.
I realized this:
after deserializing the array, all array elements are of type "base_type".
that was because of bad implementation of AjaxNoTypeUsageAttribute Attribute.
In the case of my problem, all classes derived from 'base_type' must have '__type' property in serialized JSON object. default behavior of JavaScriptSerializer is not to include '__type' property in JSON object and there is no way to force it to include '__type' property. (but there is a way to force it to not include the property).
so I changed your code to fit my needs.
first I changed 'AjaxNoTypeUsageAttribute' to 'AjaxTypeUsageAttribute' :

public class AjaxTypeUsageAttribute : Attribute
{
public AjaxTypeUsageAttribute( bool useType )
{
this.useType = useType;
}
private bool useType;
public bool UseType
{
get { return useType; }
}
}

second I changed the code in JSON/JavaScriptSerializer.cs at line 196:

bool nsa = false;
bool roa = !Utility.Settings.IncludeTypeProperty;

foreach (object attr in t.GetCustomAttributes(true))
{
if (attr is AjaxNonSerializableAttribute) nsa = true;
else if (attr is AjaxTypeUsageAttribute) roa = !((AjaxTypeUsageAttribute)attr).UseType;
}

bool b = true;

sb.Append('{');

if (!roa)
{
sb.Append("\"__type\":");
.......
.......
.......


that fixed my problem. please consider this in the next releases of AjaxPro.
Thanks for you perfect Ajax library.

ChrisBrooksbank wrote  Aug 21 2007 at 5:30 PM 
Just wanted to say thanks for a great library which I have been using for many months now. Its small and lightweight and easy to use and does what I want i.e. make ajax calls from my javascript to server code on the same page.

dvuyka wrote  Sep 6 2007 at 6:49 PM 
I've been using your library since the earliest published versions till now.
Thanks a lot for your work.

VijayKarla wrote  Mar 24 2008 at 12:14 PM 
I have just started using Ajax.NET Professional. To be honest as a new user to AjaxPro, i felt lack of proper documentaion. I hope soon this problem will be solved.
Regards... Vijay Karla

thchuong wrote  Jul 8 2008 at 10:42 AM 
Hi guys,

I'm using OS Vista and try to use AJAX first time. My sample is very simple that just get a number from server. However, I got an javascript error after executing the ajax method in a few seconds. The error pointed at this.onTimeout is null. Do you guys get the same problem?

Thanks for your reading.

tpever wrote  Jul 18 2008 at 9:45 AM 
Dose it support the Mozilla browser? I have created a simple page and tested with Mozila firerox 2.0.0.16 and AjaxPro 7.7.31.1, seems not working while it is working with IE 6 and 7. Can be some security issues if site is working with integrated security for every request prompts a login box in FireFox.

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | CodePlex Blog | Version 2008.12.9.14291