Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization. Serialization is commonly used for communication (sharing objects between multiple hosts) and persistence (store the object state in a file or a database). It is an integral part of popular protocols like Remote Method Invocation (RMI), Java Management Extension (JMX), Java Messaging System (JMS), Action Message Format (AMF), Java Server Faces (JSF) ViewState, etc.
Posted by Michael Schwarz on Saturday, December 4, 2021
Did you know that there is a NuGet package available for Ajax.NET Professional latest release?
Posted by Michael Schwarz on Friday, December 3, 2021
I just have published a new release of the Ajax.NET Professional library including several new security features. Please check out ajaxpro.info [1] for further details.
Posted by Michael Schwarz on Wednesday, November 3, 2021
What's new in 2021? Yes, I have finally worked on some important settings for client-side security options. Please check out ajaxpro.info [1] for further details and latest source code.
Posted by Michael Schwarz on Tuesday, November 2, 2021
Simone [1] has created another survey [2] concerning AJAX usage with ASP.NET. The results are available, now, and it is really interesting to see that there are only small changes in the use of AJAX libraries for ASP.NET developers.
Posted by Michael Schwarz on Tuesday, June 23, 2009
Sean Lin [1] has written about how Ajax.NET Professional (AjaxPro) can be used with ASP.NET MVC [2] and what you have to change to get it working.
Posted by Michael Schwarz on Wednesday, March 25, 2009
Some months ago I started to implement an Ajax.NET Professional version for .NET Compact and Micro Framework. Some weeks later I decided to build a library with several network related features and I’m now moving the Ajax.NET M! to this new project at CodePlex.
Posted by Michael Schwarz on Friday, February 13, 2009
Some of you maybe remember that I had added some security related features in Ajax.NET Professional [1]. It is possible to put an AJAX token or to simple encrypt the data that gets over the lines. With Silverlight [2] we get the System.Security.Cryptography namespace on the client – before it was not very easy to encrypt a string without any plug-in (well, there are some implementations of Blowfish available in JavaScript [3]).
Posted by Michael Schwarz on Thursday, November 13, 2008
Tess Ferrandez [1] who is an escalation engineer in product support services (PSS) at Microsoft was helping a colleague out with an OOM (OutOfMemory) situation he was dealing with. The problem [2] was that their applications memory usage would grow over time until they finally ended up with an out of memory exception. They used an older version of my Ajax.NET Professional library [3]. The bug has been noticed [4] on April 14th in 2006 and fixed some days later.
Posted by Michael Schwarz on Friday, September 12, 2008
As there are some questions on how to run Ajax.NET [1] on IIS 7 (i.e. Windows Vista) in integrated mode instead of classic mode here are two things you have to check:
Posted by Michael Schwarz on Monday, April 14, 2008
Well, I love the easy development of embedded devices with the .NET Micro Framework. As the device I'm currently using is really small I tried to build a small Web site on it to start my private servers at home using Wake-on-LAN [1]. You'll find a lot of helper methods samples on the Internet but I couldn't find on source code that was working on the .NET Micro Framework. The problem is that there are too many missing methods or enum values.
Posted by Michael Schwarz on Sunday, March 9, 2008
While developing my small Ajax.NET M! library [1] for creating Web applications that run on the .NET Micro Framework [2] I have started to write my own Web server. Some years ago I wrote a simple SMTP/POP server [3] and using some code from there was a great help. The first version will only return static HTML pages e.g. for documentation or help files. As there is no file system on those devices I use the embedded resource strings to return the content.
Posted by Michael Schwarz on Thursday, March 6, 2008
The embeddedworld2008 [1] is over and I had some time to play around with Microsoft .NET Micro Framework [2] devices. I can remember that I had a look on it during the first available betas on Microsoft Connect, but then stopped watching it because of the missing TCP/IP stack. The now available version 2.5 of the .NET Micro Framework [3] adds this directly in the framework. Other device manufactures have implemented their own TCP/IP stack, and such a device I have bought at the embeddedworld2008.
Posted by Michael Schwarz on Wednesday, March 5, 2008
James has published a first beta of LINQ to JSON [1] support in his Json.NET library [2]. It looks very similar to my LINQ support in an internal build of Ajax.NET Professional [3] which never has been released.
Posted by Michael Schwarz on Tuesday, February 12, 2008
Using Ajax.NET Professional [1] (AjaxPro) you are able to put you AJAX methods wherever you want, if inside the Page class itself, any .NET class in the same project or as a reference class library. To generate the AJAX client-side JavaScript proxies the AjaxPro library checks for all public methods inside a specified type that are marked with the [AjaxMethod] attribute. The only thing you have to add to the Page class (in the Page_Load event) is the call to AjaxPro.Utility.RegisterTypeForAjax(typeof(ClassName)).
Posted by Michael Schwarz on Wednesday, January 9, 2008
In one of my last posts I blogged about the future [1] of Ajax.NET Professional [2] (AjaxPro) and that I'm not able to do further development on that project. A lot of my readers feeling sad about this but I had to concentrate more on new technologies that will revolutionize web application development.
Posted by Michael Schwarz on Tuesday, January 8, 2008
I'm happy to see that Ajax.NET Professional is used about 13.3% when using .NET related web applications [1]. Starting with my first post Using a HttpHandler and Attributes to call C# methods in JavaScript [2] in February 2005 the AJAX hype started around the world. Two months later I renamed the project to Ajax.NET [3] and added nearly all features that are the most used until today. In May 2005 Windows Mobile support [4] has been added and Ajax.NET was the only .NET framework that was able to run AJAX requests on mobile devices. In the end of 2005 I was invited to the PDC 05 in Los Angeles where I could meet Brian Goldfarb [5] and Jonathan Hawkins [6] to see how Microsoft is working on AJAX in ASP.NET (Atlas) [7]. I meet some other .NET developers and had great ideas on how AJAX will change web applications. In October I published a new product called Ajax.NET Professional [8] which was doing the same but contains several other security features. Because of a change in the JavaScript source I changed the name from Ajax.NET.
Posted by Michael Schwarz on Friday, January 4, 2008
Simone [1] has finished the survey and published the results of the survey about the usage of AJAX among .NET web developers [2]. The results are very interesting. The most used AJAX toolkit is ASP.NET AJAX [3] with about 73.7% followed by the AJAX Control Toolkit [4] which is used by almost half of the .NET developers that are using AJAX.
Posted by Michael Schwarz on Friday, December 21, 2007
Simone Chiaretta [1] had a look at the results of Ajaxian's survey [2] about the state of the usage in the Web development community. He decided to make a new survey [3], but this time only focused on .NET developers.
Posted by Michael Schwarz on Wednesday, December 19, 2007
swirlhost [1] has released their new chat module [2] that is designed specifically for DotNetNuke [3]:
Posted by Michael Schwarz on Monday, July 30, 2007
David Barkol [1] writes on his blog about ASP.NET AJAX Role Application Service with Visual Studio 2008 (Orcas). [2] Well, it is a new service that is working similar to the profile [3] and authentication [4] service. As it is very easy to call it from the client-side JavaScript code you should be a little bit more careful using these new methods.
Posted by Michael Schwarz on Monday, July 30, 2007
Nachdem wir den ersten Workshop kurzfristig absagen mussten haben wir einen neuen Termin in Erlangen bei der the campus [1] am 9. August, ab 18 Uhr. Wir haben einen Raum, PCs, Kaffee und Kuchen! Anmeldungen über die neu angelegte Google Group NET-Workshops [2].
Posted by Michael Schwarz on Monday, July 30, 2007
In my current project I'm using a own User object that I store in the HttpContext.Session to have personalized data available without connecting on each AJAX method / page refresh to the database. If the session will end because of timeouts, Web server resets/crash or application pool recycle this data will not be available any more, I have to read all again and store it in the session.
Posted by Michael Schwarz on Monday, July 30, 2007
Last Friday I had a discussion with Kris about some problems [1] he had with Ajax.NET Professional. The thing was that he was using Response.Write somewhere in his code to write exception details to the output, but that failed because the result was not a JSON response.
Posted by Michael Schwarz on Monday, July 30, 2007
(English: I will start new workshops about Ajax, ASP.NET and Silverlight in the next months, first will start on Thursday about Silverlight.)
Posted by Michael Schwarz on Monday, July 23, 2007
Since yesterday you can download Safari 3 Plublic Beta for Windows [1]. "The world's best browser.", "the fastest, easiest-to-use Web browser in the world" - does this really be true?
Posted by Michael Schwarz on Tuesday, June 12, 2007
I will be available for Microsoft Silverlight discussions at the [webinale 07 [1] conference in Ludwigsburg/Stuttgart to talk and discuss about the latest version of Silverlight presented at the Mix07 in Las Vegas. Of course, you can talk with me about Ajax.NET Professional, too.]
Posted by Michael Schwarz on Saturday, April 28, 2007
Bertrand [1] has a great post about JavaScript IntelliSense [2] with the next Visual Studio .NET code-name Orcas. I downloaded the bits to give it a try. Oh yes, it is working great when creating ASP.NET AJAX Web applications.
Posted by Michael Schwarz on Saturday, April 28, 2007
I put the next beta version online to test the new JSON converters. I have added a new web.config paramter which will bring JSON converters to render a different output.
Posted by Michael Schwarz on Monday, April 23, 2007
DotNetSlackers [1] creator Sonu Kapoor writes [2] about Ajax.NET Professional [3]:
Posted by Michael Schwarz on Thursday, April 19, 2007
For all of you didn't noticed the name change of code name WPF/E, it is now Microsft Silverlight. Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of media experiences and rich interactive applications (RIAs) for the Web. Silverlight integrates with existing Web applications and, of course, almost all Web technologies you are already using like Ajax.NET Professional [1] or ASP.NET in common.
Posted by Michael Schwarz on Monday, April 16, 2007
I forgot to put the beta version online that will support jQuery and json.js from http://www.json.org [1]. You can download the latest beta of the AjaxPro library at http://www.ajaxpro.info/download/jQueryAjaxPro.zip [2]. The download currently includes only the .NET 2.0 library including a Visual Studio .NET 2005 Web Site project.
Posted by Michael Schwarz on Sunday, April 15, 2007
Because jQuery is a often used JavaScript framework I will have a provider available in the next release of Ajax.NET Professional [1] that will render only the wrapper JavaScript files in the jQuery [2] JavaScript code.
Posted by Michael Schwarz on Friday, April 13, 2007
Some developers mentioned that it would be nice if Ajax.NET Professional [1] could be more JSON compliant to use with some JavaScript frameworks that are not using the eval statement. And, if you have a look at json.org [2] JSON message always have to be an object or array, not a string or boolean directly. Well, I absolutly see the need of these changes and I have done this already in a beta version which I will provide this evening.
Posted by Michael Schwarz on Friday, April 13, 2007
If you want to hide name and assembly details of classes you return in your AjaxMethod simple add the AjaxPro.AjaxNoTypeUsage attribute as meta information:
Posted by Michael Schwarz on Thursday, April 12, 2007
jQuery [1] is a fast, concise JavaScript library that simplifies how you traverse HTML documents, handle events, perform animations, and add Ajax interactions to your web pages. jQuery is designed to change the way that you write JavaScript, but it can be only used on the client-side JavaScript code. That means you need a framework on the server-side code if you want to add Ajax interactions to your web pages.
Posted by Michael Schwarz on Tuesday, April 10, 2007
I talked today with a Intel developer and he showed me where the are using Ajax.NET Professional JSON Library [1]. The Intel Software Developer Network [2] has it's own video library where you can see great videos on several technologies Intel is offering with it's processors. We talked about why they are using AjaxPro and the answer (that I get more and more) is: "we are using Microsoft .NET Framework 1.1". I'm happy to see that the decission to support .NET 1.1 in all my releases was one of the biggest benefits you get when using AjaxPro. Well, Intel talked about using AjaxPro as AJAX library, too. So, maybe we will see more web applications from Intel next time.
Posted by Michael Schwarz on Saturday, April 7, 2007
There are a couple of web sites reporting about security issues that hackers can use to invoke AJAX methods or use the JSON output to get data from other web applications. Specificallly, these attacks use HTTP GET requests invoked via an HTML <script src=""> include element to circumvent the "same origin policy" enforced by browsers (which limits JavaScript objects like XmlHttpRequest to only calling URLs on the same domain that the page was loaded from), and then look for ways to exploit the JSON payload content. The use of HTTP POST is only working if you are in the same domain, which does not mean this is not a dangerous security issue if used in web sites where different users can access data (i.e. spaces.live.com, blogger.com,...); there it is very easy to run HTTP POST with XmlHttpRequest object in the same domain (see Google XSS bug [1]).
Posted by Michael Schwarz on Saturday, April 7, 2007
Die Ingolstädter .NET Developers Group [1] ist eine unabhängige Gemeinschaft für Interessierte der Microsoft .NET Technologie aus dem Großraum Ingolstadt. Sie besteht aus professionellen Entwicklern, Hobbyentwicklern, Akademikern und Studenten, die Ihre Erfahrung mit anderen teilen möchten.
Posted by Michael Schwarz on Monday, January 29, 2007
On next Tuesday I will talk at the .NET User Group in Munich / Germany [1] about following topics:
Posted by Michael Schwarz on Wednesday, January 10, 2007
All the things around Christmas and New Year's Eve are left, now, and starting this morning reading my mails I got a very surprising mail from Microsoft:
Posted by Michael Schwarz on Monday, January 1, 2007
Mike Harsh [1] has updated his WPF/E Pad. The new version has the following changes:
Posted by Michael Schwarz on Friday, December 29, 2006
I will say Thank You! for all your help and discussions I had this year! 2006 was a great year where AJAX became very important to web applications, AJAX, JavaScrippt, CSS and Web 2.0 are the most used terms we used for web development, and I'm happy to see more and more web sites using AJAX to improve usability.
Posted by Michael Schwarz on Friday, December 22, 2006
Ich bin morgen Abend (20. November 2006) bei der .NET Developers Group München [1] und spreche über Web 2.0. In meinem Vortrag möchte ich verschiedene Frameworks (Yahoo! UI, Dojo, AjaxPro [2], Microsoft ASP.NET AJAX) kurz vorstellen, und auch Funktionen zeigen, die viele bis jetzt wohl noch nicht kennen (wie z.B. das lokale Cachen von Daten oder eine Offline AJAX Anwendung). Außerdem habt ihr die Chance Bücher zum Thema AJAX zu gewinnen, es lohnt sich also auf jeden Fall vorbeizuschauen.
Posted by Michael Schwarz on Monday, November 20, 2006
For all of us who are not familiar with Linux here is a short description how to get your ASP.NET web application using AjaxPro [1] running on Mono [2]. The Mono project offers a great VMware virtual machine (Suse) which you can download here [3]. There is a free VMware player [4] which you need if you don't have the VMware workstation.
Posted by Michael Schwarz on Friday, November 17, 2006
That's a good questions: what's next with AjaxPro [1]? I'm still working on the Java port of AjaxPro, working already very good. During the port I found several new ideas on how to improve AjaxPro.
Posted by Michael Schwarz on Wednesday, November 15, 2006
Today I meet Miguel de Icaza [1] (blog [2]) at the Prio conference [3] in Baden-Baden. Miguel is the founder of the Mono project [4] which implements a common language runtime on linux that will be 100% compatible to the Microsoft .NET Framework (means: you can develop using Microsoft Visual Studio .NET and run it on cheap linux servers). We had a great discussion about Microsoft .NET (all the available versions), WCF/WPF and, of course, ASP.NET AJAX [5] (Atlas) and Ajax.NET Professional [6] (AjaxPro).
Posted by Michael Schwarz on Wednesday, November 15, 2006
My new started service for creating screenshots of any web page is used more and more. http://www.sharepointkicks.com/, http://www.dotnetkicks.com/ (those two sides only used it while WebSnapr was not working) and http://www.worldwidirectory.com/ [1] are using the thumbnail service to visualize outgoing links on their web site.
Posted by Michael Schwarz on Friday, October 27, 2006
From the idea of Juan Xavier of websnapr [1] I started yesterday to write my own screenshot capture engine, and it is working already very nice. I registered a new domain called thumboo [2] (thumbnails and a cool "oo" as it is in Google or whatever).
Posted by Michael Schwarz on Tuesday, October 24, 2006
Google offers a new search engine service that can be personalized. I have created a first test that will only return results for AjaxPro (hopefully):
Posted by Michael Schwarz on Tuesday, October 24, 2006
Scott Hanselman [1] is writing on his blog [2]:
Posted by Michael Schwarz on Tuesday, October 24, 2006
I added a new page where urls are listed that are linking to http://www.ajaxpro.info [1]. The web page is updated frequently and will show small captured screenshots. This service will be available for your web site and blog end of this week.
Posted by Michael Schwarz on Monday, October 23, 2006
There are a lot of great JavaScript libraries available that are used be developers to add Ajax and Web 2.0 to their web sites. While AjaxPro [1] is optimized to run on all web browsers including Windows Mobile devices I got some requests on supporting the Yahoo! JavaScript libraries [2]. I have done some internal changes that will allow you do use the Yahoo! JavaScript files instead of the generated files from AjaxPro. Because there is no JSON parser in the Yahoo! lib I'm using the json.js written by Douglas Crockford [3]. But first have a look at the ASP.NET page (C#):
Posted by Michael Schwarz on Friday, October 6, 2006
Google offers a great way to search for source code: http://www.google.com/codesearch [1]. If you search for RegisterTypeForAjax [2] (which is the method to create the JavaScript proxies for AjaxPro [3]) you will find a lot of examples:
Posted by Michael Schwarz on Thursday, October 5, 2006
I read the post [1] from Graig Gemmill and was thinking the same. When search.live.com has removed the beta logo I started several tests. Every test failed because I didn't get the results on the first page. Try to search for Ajax.NET (which is my Ajax library [2]) and you will get only results for the domain ajax.net. I think this is a very bad result when searching for my library. I'm happy that the domain owner added a link to my web site at the bottom of the page.
Posted by Michael Schwarz on Thursday, September 28, 2006
I have started to create a AjaxPro Java Edition which will be 100% code compatible on the client-side. That means there is no change of JavaScript and HTML when moving around, no code change when developing JavaScript controls. Look at the following code:
Posted by Michael Schwarz on Wednesday, September 27, 2006
The weekend I had time to do some serialization performance changes. The new beta version that is available here [1] is about three times faster than the current release version [2]. I have done some changes to the IJavaScriptConverter interface (method Serialize) to support the StringBuilder like it was in earlier days with Ajax.NET (not AjaxPro). There are some more changes done to improve the serialization from .NET types to JSON.
Posted by Michael Schwarz on Monday, September 25, 2006
Because there are a lot of developers using the stand-alone JSON parser (which is included in the release package of AjaxPro [1]) I decided today to serialize the .NET data type System.DateTime with the UniversalSortableDateTimePattern (yyyy'-'MM'-'dd HH':'mm':'ss'Z') as a simple string. You can use this string as input value, too, it will be parsed to an .NET System.DateTime.
Posted by Michael Schwarz on Friday, September 22, 2006
As I mentioned already that new AjaxPro [1] releases will include a simple Visual Studio .NET 2005 template for C# and VB.NET. You can download the latest version 6.9.22.2 [2] including this file at the CodePlex project site [2].
Posted by Michael Schwarz on Friday, September 22, 2006
Today the Ajax.NET Professional Google group [1] has reach the 4.000 member border. I did a search for AJAX [2] for all the Google groups available and was very happy to see my group at the second top position. Only Google with the Google Web Toolkit hits this group with additional 500 more members.
Posted by Michael Schwarz on Thursday, September 21, 2006
I read a nice post here [1] from Long Zheng who got two copies of the new book Ajax with ASP.NET [2] you can win, read his blog.
Posted by Michael Schwarz on Wednesday, September 20, 2006
I will add the VS.NET 2005 project templates for C# and VB.NET to the next releases, too. A current version is available at Google Groups - AjaxPro [1].
Posted by Michael Schwarz on Monday, September 18, 2006
The was a discussion at the Google group about the System.NotSupportedException after changing files in App_Code folder. As there is no static assmebly name for the App_Code folder it will generated on each "rebuild" a new name that will look like very strange. The name of the assembly is used for any AjaxPro call and this will be a problem when the name changes after sending the JavaScript wrapper to the client.
Posted by Michael Schwarz on Monday, September 18, 2006
Today I put the source code online at http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro [1]. New releases will be still uploaded to http://www.ajaxpro.info/ [2]. If you find any error, bug or problem please ask the community first at http://groups.google.com/group/ajaxpro/ [3]. There is a search box for all post that may help. Bugs that are not fixed in the Google group should be added to the issue tracker page at http://www.codeplex.com/WorkItem/List.aspx?ProjectName=AjaxPro [4].
Posted by Michael Schwarz on Wednesday, September 13, 2006
Today I will start with moving the source code to http://www.codeplex.com [1]. Hopefully it is done in some hours, during this time period I have stopped the download option on my web site.
Posted by Michael Schwarz on Monday, September 11, 2006
While I was on a busines trip I started to write a small application that is using the Windows Mobile 5 GPS API to get the current location. After this I build a small web server that was running on the Windows Mobile device to offer a small web application that will show the current position on the Google Map, very funny application. I hope I can fix some bugs when there is no signal. The next step was to get a list of available wireless networks at the current location, added some pushpins to the Google map and... the result is a own map of wireless access points.
Posted by Michael Schwarz on Wednesday, August 23, 2006
Alber Weinert [1] is talking [2] about Ajax.NET Professional [3] (and details on JSON [4]) in Cologne, Germany:
Posted by Michael Schwarz on Wednesday, July 19, 2006
I removed addNamespace because of the missing support on older web browsers or mobile devices. The problem is that addNamespace will add a new property to the window object. This is working great on all common web browsers. See the next lines to see how you can change addNamespace usage to get your JavaScript working on all web browsers.
Posted by Michael Schwarz on Tuesday, July 18, 2006
Yesterday night I build an example on how to use Yahoo! Web Services [1] with the AjaxPro JSON parser [2]. The example will call a Yahoo! Web Service with output type set to JSON (see http://developer.yahoo.com/common/json.html [3]). The response will be deserialized to an .NET structure using the AjaxPro JSON parser (from the stand-alone version or the build-in parser in Ajax.NET Professional).
Posted by Michael Schwarz on Tuesday, July 11, 2006
There is a new stand-alone version for JSON [1] serialization/deserialization library available for Microsoft .NET 1.1/2.0. The JSON parser is extracted from my Ajax.NET Professional [2] library and will be available in the download package in the future. Download the new version at http://www.ajaxpro.info/ [2] (see the new link for the stand-alone version).
Posted by Michael Schwarz on Monday, July 10, 2006
As there was a little discussion [1] about serialization of .NET types and deserialization of these genereted JSON strings I have updated Ajax.NET Professional [2] (version 6.7.9.1) to allow parsing of new Date statements, too. You can use the JSON generated string to do a deserialization right after, now.
Posted by Michael Schwarz on Monday, July 10, 2006
Because I'm currently playing with a lot of AJAX frameworks I'm searching for the correct use of dates and times in web applications. Ajax.NET Professional [1] is using time zone indentifier to know from which time zone the request is comming from. See following server-side C# code:
Posted by Michael Schwarz on Friday, July 7, 2006
Ajax.NET Professional [1] is using attributes, there is no need to inherit from special pages or include dummy web controls to do all the job, there is no need to write special source code. Any .NET assembly can include classes with AjaxMethods that can be used in your ASP.NET web application.
Posted by Michael Schwarz on Friday, July 7, 2006
I read the post from Scott Hanselman [1] today comparing the internal use of JSON de-/serializer from the Atlas framework [2] and Ajax.NET Professional [3].
Posted by Michael Schwarz on Wednesday, July 5, 2006
In Internet Explorer (and all other common web browsers) you have an menu item File -> Work off-line. What does this do with you web application? Of course, it is working offline, no communication possible to the web server. When connected with a dial-up connection it can happen that this is done automatically if you disconnect from your internet service provider.
Posted by Michael Schwarz on Monday, July 3, 2006
This weekend I had a deep look on the native XMLHttpRequest support with the new Internet Explorer version 7 which is still in beta. If you do a Google search for "native xmlhttp support ie [1]" you will read that everyone is happy with this native support. Yes, it is the first step to have XMLHttpRequest on every PC. Ajax developers have changed their JavaScript source code to support this new object, this is great!
Posted by Michael Schwarz on Monday, July 3, 2006
Dieter Föttinger schreibt auf seinem Blog [1] folgendes zu dem Usergroup Treffen [2] (INETA Usergroup Franken) gestern Abend:
Posted by Michael Schwarz on Thursday, June 29, 2006
I will start to publish new releases with an RSS feed in the next days. The URL for the RSS feed is http://www.ajaxpro.info/changes.xml [1] where you can see a first version of the latest changes already. The links for each release (post) is currently the same for each release. I will add links for each release to the Ajax.NET Professional Google group [2] threads that are talking about the changes for each version.
Posted by Michael Schwarz on Thursday, June 29, 2006
I tried to get more information about the speed of AjaxPro calls on my web site. First of all I did a research on how the latency of internet connection will change the duration. For this I run a test for my web server at http://just-ping.com/ [1]. You will see that Nürnberg, Germany will be always the fastest because it is located near to my web servers location.
Posted by Michael Schwarz on Thursday, June 29, 2006
Posted by Michael Schwarz on Wednesday, June 21, 2006
With the next release of Ajax.NET Professional you will be able to transform any XmlDocument or XmlNode into a JSON object. This is really cool because we have already a lot of xml documents in our web applications. Currently you have to write a custom class or struct where you have to fill the properties or public fields. Now, you simply call the JavaScriptUtil.GetIJavaScriptObjectFromXmlNode method to return a JavaScript object. At http://munich.schwarz-interactive.de/datatype.aspx [1] I have added a new test (Test 32) which will read the RSS from the Google group and display the title and last 10 posts.
Posted by Michael Schwarz on Monday, June 19, 2006
See following web browser user agents accessed my web site at http://www.ajaxpro.info/ [1], all are working with Ajax.NET Professional:
Posted by Michael Schwarz on Wednesday, June 14, 2006
The new version 6.6.13.2 will support Pocket PC 2003 and Windows Mobile 5 devices including Smart Phones, too.
Posted by Michael Schwarz on Tuesday, June 13, 2006
Yesterday I put my new release online that will have support for Windows Mobile 5. The new release 6.6.12.1 is available at http://www.ajaxpro.info/ [1]. Because of the missing DHTML support I didn't changed all the examples that make heavy use of DHTML to work on Windows Mobile 5, too. So, the Ajax.NET Professional stuff is working..., that is great for me! One code, multiple web browser support!
Posted by Michael Schwarz on Tuesday, June 13, 2006
I have a promotion code that will give you 25% off for the two books Professional Ajax and Ajax For Dummies. Use the promotion code FCE on the online shop at http://www.wiley.com/go /computing [1].
Posted by Michael Schwarz on Friday, June 9, 2006
I put an example online that will show the current beta version of Ajax.NET Professional. Try the page http://munich.schwarz-interactive.de/default.aspx [1] with your Windows Mobile 5 device. You will see two alerts, one showing the current time of the web server, the second one will return two properties of an PersonX object in a List<PersonX>. Would be nice to see if we get it running on older Pocket PCs, too.
Posted by Michael Schwarz on Friday, June 9, 2006
I put the new version online, download the latest DLL at http://www.ajaxpro.info/ [1]. There are a lot of performance changes done, and the lib is now working perfect with the script.aculo.us effects. A not yet finished updated version of the Starter Kit is online, see http://munich.schwarz-interactive.de/ [2]. See the changes here:
Posted by Michael Schwarz on Friday, June 2, 2006
Today I added the BitmapConverter.cs which will support returning a Bitmap directly from Ajax.NET Professional [1]. Attached to the Google groups thread [2] you will see what is working today (the Bitmap example is the method Test27). Of course, I didn't add all data types... ;)
Posted by Michael Schwarz on Thursday, June 1, 2006
Dodned Live: Treffen der Stars in der fränkischen Metropole ... Michael Schwarz mit Ajax.NET Professional [2], Daniel Zeiss mit ComfortASP.NET [3] und Oliver Scheer, Microsoft, mit Atlas Framework [4]. Voraussichtlich am 26.06.2006 (yup, WM-Spielfrei...). Buchverlosung wie üblich. Stay tuned for more ...
Posted by Michael Schwarz on Wednesday, May 31, 2006
The new Starter Kit for Ajax.NET Professional [1] will move to a new location where everyone can help building great AJAX enabled web pages and controls. The new URL where you can post your bugs, feedback or whishes is http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxProStarterKit [2].
Posted by Michael Schwarz on Tuesday, May 23, 2006
I have found a great wiki project on SourceForge called ProntoWiki [1]. The next days I will see where Ajax.NET Professional would fit best in this wiki project. You will find an updated version here: http://munich.schwarz-interactive.de/wiki.aspx?wiki=default [2]
Posted by Michael Schwarz on Sunday, May 21, 2006
I've started a new url where I put the beta Starter Kit online. It includes the AutoComplete [1], Security [2], Feedback [3] and Wiki [4] example (editor/p@ssw0rd). The default.aspx [5] is testing several data types. The next Starter Kit update will be available end of this month. During this time period I will collect feedback and new ideas to be added to the kit. The download will be available at http://www.ajaxpro.info/ [6].
Posted by Michael Schwarz on Thursday, May 18, 2006
I have a new demo at http://munich.schwarz-interactive.de/autocomplete.aspx [1] which will use a textbox and Ajax.NET Professional [2] to search for customer names (1st textbox) and then for the orders of this selected customer (2nd textbox).
Posted by Michael Schwarz on Thursday, May 18, 2006
Today Google put the GWT (Google Web Toolkit [1]) online which includes several UI controls, but also the possibility to exchange data between server and client and back. While downloading the framework and watching the examples I found following page: Sharing objects between Java source and JavaScript [2]. Hm, if I compare the data types that are supported with Ajax.NET Professional [3] I feel happy. Since I added more .NET 2.0 support like generic Dictionary or Nullable types... I can use any code that I'm currently using, great. In the last weeks I removed a lot of old common ASP.NET postbacks to AJAX requests. Most features could easily replaced by adding only the AjaxMethod attribute, no other C# code had to be changed. On the client-side, of course, I had to write some JavaScript, but this you have to do everytime you are talking about Web 2.0 or AJAX.
Posted by Michael Schwarz on Wednesday, May 17, 2006
I have modified an example form the script.aculo.us [1] web site that is showing some effects for a shopping cart web application. The example is using a generic dictionary (Dictionary<string,int>) to store the article and count in a session variable. Note: you must use the latest version of Ajax.NET Professional [2] (6.5.17.1 or higher).
Posted by Michael Schwarz on Wednesday, May 17, 2006
I'm glad to see that my Ajax.NET Professional [1] library (version 6.5.15.2 or higher) is working with Internet Explorer 5.0 and 5.5. Both versions are supporting requests using the ActiveX XmlHttpRequest object or (if ActiveXs are disabled) the IFrame proxy. I've started logging Ajax.NET requests on my demo site http://www.ajaxpro.info/ [1], and here is the statistic I got after collecting data for some days only (sorted by web browser agent):
Posted by Michael Schwarz on Monday, May 15, 2006
The next days I will have a deeper look into web sites that are using AJAX frameworks that will replace the typical postback used in ASP.NET.
Posted by Michael Schwarz on Sunday, May 14, 2006
I have written a short example about how to use web forms security with Ajax.NET Professional. The example (C# and VB.NET) is included in the latest version available at http://www.ajaxpro.info/ [1]. Discuss the security.aspx example at Google groups [2]. (Update: there are about 2.500 members reading and writing posts!!!)
Posted by Michael Schwarz on Friday, May 12, 2006
Without any comment, have a look at these images from Google Trends LABS:
Posted by Michael Schwarz on Thursday, May 11, 2006
I got already a lot of feedback to build Starter Kits for Ajax.NET Professional [1]. Today I started to create an environment where I can simple build C# and Visual Basic .NET example web pages. The Starter Kit will be included in every release, now. The latest version 6.5.4.1 [1] includes this kit already. I will add more and more examples how to use Ajax.NET Professional in your web application, and everytime I will create C# AND Visual Basic.NET source code.
Posted by Michael Schwarz on Friday, May 5, 2006
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 Wednesday, May 3, 2006
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
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
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
Changes done for version 6.4.11.1:
Posted by Michael Schwarz on Tuesday, April 11, 2006
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
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
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
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
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
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
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
I often want to display something like a DataGrid on my web sites with next and prev buttons to scroll through the complete table. Using SQL Server 2005 it is very easy to build such controls that are using the new RowNumber feature to get only a page of rows that are displayed on the page. If you click on next you will get the next n rows.
Posted by Michael Schwarz on Wednesday, March 15, 2006
I got already some questions concerning the next steps of Ajax.NET Professional. Yes, I'm working on some new ideas, and maybe it will be an Ajax.NET Enterprise Edition. With the upcomming AJAX Community [1] I hope to get the most of all the frameworks currently are available, with your help, with your ideas, with your code!! For further news please have a look at my web blog in the next days. Yes, and it will be full open source!!!
Posted by Michael Schwarz on Thursday, February 23, 2006
The download of the Ajax.NET Professional [1] source code is available at http://www.ajaxpro.info/sourcecode.aspx [2]. Notice, that it is only the latest snapshot of my version to show my comments, and how I did it internal.
Posted by Michael Schwarz on Monday, February 20, 2006
Yesterday on the launch event of Visual Studio .NET 2005 and SQL Server 2005 in Karlsruhe/Germany we had the idea to create a usergroup/community here in Germany for all Web 2.0 and AJAX developers. If you are interessted in joining such a group please write me a short email or use the contact form at this web site.
Posted by Michael Schwarz on Friday, February 10, 2006
Daniel sent me his comparison of indirect AJAX programming frameworks for ASP.NET. As Ajax.NET [1] is a framework where you have to do JavaScript programming other frameworks allow you to use AJAX stuff simply by adding some configuration to you web.config or by inheriting from a special page class.
Posted by Michael Schwarz on Friday, February 3, 2006
I posted a new version to the Google group [1]. Attached you will find a beta version of the next version. I had to recode a lot of parts to get the queue working correct with 2 http connections. Now, if you add this assembly you have to be careful if you use inheritance from the AjaxPro.AjaxRequest. You have to inherit from AjaxPro.AjaxClass instead, now.
Posted by Michael Schwarz on Thursday, November 24, 2005
I have finished a more complex auto complete textbox you can use in you Ajax.NET Professional [1] web application. The control can be added on the server like other HtmlControls:
Posted by Michael Schwarz on Friday, November 11, 2005
I have some items I learned about AJAX (or Ajax.NET Professional [1]) developer newbies:
Posted by Michael Schwarz on Wednesday, November 9, 2005
I had done a lot of changes to the JavaScript methods. With the new version I had removed the context that you could provide to have something like a "this" context.
Posted by Michael Schwarz on Tuesday, November 8, 2005
I have added a simple feature that will enable queuing for Ajax.NET requests. You can enable the queue with following line:
Posted by Michael Schwarz on Tuesday, November 8, 2005
I get a lot of requests for new controls that are using Ajax.NET Professional [1]. Some don't want to use other controls, they are searching for the best (or right) way to develop such controls. I have added some examples already to my web site at http://www.schwarz-interactive.de/ [2]. Because AJAX controls and web sites have to be developed different to current web applications I will create some more examples.
Posted by Michael Schwarz on Saturday, November 5, 2005
Update: Have a look at Ajax.NET Professional at http://www.ajaxpro.info/ [1]. The Web site of BorgWorX is not available any more.
Posted by Michael Schwarz on Thursday, August 11, 2005