Ajax: the Microsoft way

26. November 2007 12:37 by rtur.net in Ajax  //  Tags:   //   Comments (2)

Second part of my Ajax adventure was rather boring; I simply wrote standard ASP.NET application and added couple update panels to ajaxify it. This app is similar to the first one, except it writes/reads to XML instead of flat file and works specifically with links. I didn’t even need second page or service to send request to, code-behind served this purpose just fine. And this is where Microsoft Ajax strength is – it lets you write your C#/VB code and don’t worry too much about JavaScript. Well, it is to say if you doing it the easy way. You can go whole nine yards with web services and end up with totally different architecture (SOA is another buzz word) if you want to do it the right way, but it is kind of out of scope in my little research. Anyways, here is my conclusions (ok, I admit, it is crazy to make conclusions after next to nothing experience, but I’ll do it anyway; I’ve seen countries going to war with less research on their hands; my conclusions will harm no one). More...

Doing Ajax using client callbacks

21. November 2007 14:09 by rtur.net in BlogEngine, asp.net, Ajax  //  Tags: , , ,   //   Comments (2)

Yes, I've heard about Ajax before - one would have to be hiding in the hole for the last year or two to avoid the buzz. I've read articles, seen videos and presentations, even used applications that utilize Ajax on a daily basis. So I’m not exactly a newbie. But somehow I managed to stay away from it - no projects I've been involved into for the last few years used Ajax. I decided it is a shame and I want to change it. Here is a plan: for starters I'll write two small applications ("gadgets", or user controls, for BlogEngine). The first one will be using "classic" JavaScript callback approach and the other one will be doing similar stuff the Microsoft way. Then I will compare experience. Sounds fair? More...

BlogEngine and ASP.NET AJAX

16. November 2007 22:39 by rtur.net in BlogEngine, Ajax  //  Tags: , ,   //   Comments (2)

As you can read on official site, BlogEngine does support Ajax. The approach it uses - it relays on few simple helper JavaScript routines (can be found in BlogEngine.Core/Web/Scripts/blog.js) and hand-crafter JavaScript functions in the UI code to perform basic callbacks. BlogEngine does not support Ajax.Net (aka Atlas or ASP.NET 2.0 AJAX Extensions in its latest incarnation) out of the box, and for a good reason. Ajax.Net is a dependent technology. You can't just throw Ajax DLLs in the /Bin folder and hope it will work - most likely it won't. The reason is that Microsoft's Ajax libraries require full trust to run, and if this is fine on your local machine, where you can grant yourself all rights in the world, your host might (and should) be far less generous. More...

Recent Tweets

Twitter May 21, 20:23
Had to unplug Kinect to watch Xbox one video on 360. Poor thing freaked out by people screaming commands and stopped playing every few secs.

Twitter May 21, 18:38
Wonder how long it takes for http://t.co/O1XAGcMV5l web gallery to test app. Stuck in "testing" state for a few days now. Is this manual?

Twitter May 15, 19:37
Trying to figure out if Linux Mint need an upgrade. And I thought Windows versions complicated. Is that LMDE thing what I need for my Nadia?

@rtur