Hi,
download the new version of Ajax.NET Professional, but notice all the
changes I made to the lib. I know that there are changes maybe for
you, but 95% of you will be able to use the new version without any
change.
Version 6.6.2.1
- Added BitmapConverter.
- Fixed 100 Continue problem on IIS 6 (Win2003), see RFC 2616.
- IJavaScript objects new ctor added.
Example:
AjaxPro.JavaScriptObject o = new AjaxPro.JavaScriptObject();
o.Add("firstName", new AjaxPro.JavaScriptString("Michael"));
o.Add("age", new AjaxPro.JavaScriptNumber(29));
o.Add("isMarried", new AjaxPro.JavaScriptBoolean(true));
o.Add("x", new AjaxPro.JavaScriptNumber(2.3456));
o.Add("y", new AjaxPro.JavaScriptArray(new
AjaxPro.IJavaScriptObject[] { new AjaxPro.JavaScriptBoolean(true), new
AjaxPro.JavaScriptNumber(2.33) }));
return o;
- Fixed missing IJavaScriptObject serializer, added generic support
for internal stuff.
- AjaxPro.timeoutPeriod is now set to 10 seconds by default.
- Removed MS.Position, MS.Keys, MS.setText, MS.setHtml,
MS.cancelEvent, MS.getEvent,
MS.getTarget,... to ms.ashx, enable with
ajaxNet/ajaxSettings/oldStyle/includeMsPrototype.
- Removed $(...), Class.create to ms.ashx.
- Completly removed Function.isFunction (return typeof f == "function").
- Completly removed MS.Debug (will be added in a special debug version).
- Completly removed AjaxPro.getInstance and AjaxPro.getType.
- Completly removed StringBuilder (use arrays instead or ms.ashx)
- Completly rewritten de-/serializable methods, now everything is a converter.
New added converters:
BitmapConverter
DecimalConverter
EnumConverter
ExceptionConverter
GuidConverter
PrimitiveConverter
StringConverter
The remove tag in ajaxNet/ajaxSettings/jsonConverters is working, now.
Also there a big changes in the common de-/serializable methods to
improve performance.
- Removed old Hashtables and replaced by Dictionary<,> if .NET 2.0.
- New AjaxNoTypeUsageAttribute wich you can add to custom classes.
This will prevent
the engine to add the __type JavaScript property, so it is a
one-way communication for
this type only.
- Changed IJavaScriptConverter interface, added protected variable
m_AllowInheritance to
allow searching for the same type in inherited classes. This is
false by default, used in
IListConverter with true.
Added two new methods TrySerializeValue and TryDeserializeValue to
do some more test
insetad of only comparing the Type.
New property ConverterName which will be written to converter.ashx
JavaScript file.
- Added ajaxNet/ajaxSettings/oldStyle/allowNumberBooleanAsString tag to allow
posting JavaScript number and boolean as string. If not configured JavaScript
numbers are converter to System.Int64 and boolean to System.Boolean.
- prototype.ashx and core.ashx can be combined to
"prototype-core.ashx", which will
save one http request.
- Added ajaxNet/ajaxSettings/oldStyle/sessionStateDefaultNone tag to set
default HttpSessionStateRequirement to None instead of new default ReadWrite.
This is necessary to don't forget to set it and to keep-alive the
session state on the
web server.
- Added support for Enum that are not using Integer.
- Added new prototype function like MS.Position.setPosition,
MS.Keys.getCode, MS.cancelEvent,
MS.getEvent, MS.getTarget, MS.setText, MS.setHtml. Will be replaced
by prototype.js!!
- Fixed bug when using AjaxNamespace: now it will search first all
AjaxNamespaces defined
for methods, if nothing found use the MethodInfo.Name.
- Some code changes to improve performance.
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---