May 2005 - Posts

Microsoft Patents XML Serialization
Tuesday, May 31, 2005 3:19 PM

Interesting little tidbit passed through my email today (well actually a day or two ago so I apologise if its already been mentioned). Microsoft has recently been granted a patent for the conversion of objects into XML files. See this tech article regarding the story. The patent itself is here. (Note: The patent listed in the article points to the wrong patent, use the one I have quoted here).

Obviously, this has raised the hackles of many developers due to the open nature of XML, and the fact that MS has patented a procedure that many vendors use, MS being just one of those. I dont know if this will have any effect at all, and I dont have the "patent reading ability" to determine how much scope this patent really has but it will be interesting.

More musings on Asynchronous client script callbacks.
Monday, May 30, 2005 12:55 AM

I have been working more and more with the Asynchronous client script callbacks within ASP.NET 2.0, and will soon be releasing an article on the subject. I know the technology has been around a little while now, but only recently is it gaining mainsteam support and avid use. Google is experimenting with it via Google suggest and Google maps, people are writing about it, its got a funky acronym which is AJAX  as well as a library to make it easier to use, and specifically a .Net version of the AJAX library is also available.

So its certainly among the mindset of developers today, and I really like it. The support for ths technology in ASP.NET V2.0 is good, however it could also be much better. Microsoft has hinted that this feature will be heavily expanded upon in future versions of ASP.NET, but what about you? Do you think this simple concept and technology is just another simple useability facet or something that can really be used in a number of as yet untapped ways?

I think we will see a lot more of this in web applications as time goes on, particularly when ASP.NET 2.0 hits the shelves, but more than just updating a grid in the backgound or similar nice useability improvements (which are good in themselves). I'd be interested to hear if many others plan on investing much effort in this space beyond what is available today.

by Glav | with no comments
Asynchronous Client Script support Control for ASP.NET V2.0
Wednesday, May 11, 2005 12:05 AM

I have created and made available a control aimed at ASP.NET V2.0 (developed with Beta2) that simplifies the use of Asycnronous client script callbacks in ASP.NET V2.0. Currently, setting up async client scripting in ASP.NET V2.0 requires some fiddly server side code to get a callback event reference, wrap it in a function script, and register it.

This control takes care of all that for you. Simply drop it on your webform page, specify the client callback method and the client side error method (which you must supply in your webform) as well as supply a javascript method name which the control will register that initiates the callback action.

The Server side functionality is exposed via a standard event handler, so you can simply double click on the 'ServerSideCallback' event on the control and type the code that will be responsible for getting called asynchronously by the client script.

It also support an interval timer, so that you can specify an interval in milliseconds, and the control will setup a repeating timer to initiate the asynchronous client script call every the interval elapses.

You can grab the control from my website or from my repository on the Project Distributor site. Full source code and an example project (although trivial) is supplied.

If you find it useful, I'd love to hear some feedback.

WebPartPageModeSelector Control Update
Monday, May 2, 2005 11:49 AM

For anyone who has downloaded an ASP.NET 2.0 control I developed called the 'WebPartPageModeSelector' (see my previous post), I have posted an important update that improves its stability and performance.

It basically mimicks the WebPartPageMenu control that shipped with ASP.NET 2.0 Beta1, but has been discontinued from beta2 onwards. You can download it from either the Project Distributor site (make sure you get the latest version) or my personal site. Free and complete with source code.

by Glav | with no comments
More Posts

This Blog