'REAL' AJAX with Asp.Net (not Asp.Net AJAX) Series : Building a complete ajax CRUD system with Asp.Net

Am I the only one who feels guilty every time I throw an 'UpdatePanel' into my code?

We all know Asp.Net AJAX is technically ajax, but it generally passes one the main advantage of using ajax in the first place.

Sure ajax is slick for user interface, but where I feel it really helps is speed. For example, if you want to edit a row in a GridView, you can easily do this using the GridView, stick it in an UpdatePanel and poof... you have an 'ajax' interface. But, and this is a huge but, the *ENTIRE* GridView was actually pulled from the DataSource, not just the row you were using. Asp.Net AJAX is a great tool, but it sort of masks (nearly) complete postbacks as being asynchronous; which is extremely convenient for quick development, but does not really help in the realm of performance.

Basically, I look at Asp.Net AJAX as a lazy way to do 'ajax' - that's in quotes as it really isn't asynchronous. So, lately, I have been making it my mission to get familiar with jQuery and integrating *real* ajax into my projects; and the speed gains are extremely noticable and quite impressive! Now jQuery is not necessary, but I am waaay to lazy and unskilled to write raw JS to do what I want, plus people have already written amazing jQuery plugins to do tons of what I want; not to mention it is probably written better than I could do anyway.

So, I am going to be posting a series of Asp.Net with 'real' ajax tutorials and examples in the coming weeks. I am going to be recreating all the functionality that you can get out of a GridView normally with edit, delete, new, sort, page etc. - a full CRUD (Create, Read, Update, Delete) system; but it will all be true ajax and very fast. Here are the topics that will be covered:
So stay tuned, I think you will be really impressed with how easy, and how much faster 'real' ajax is.

Shout it kick it on DotNetKicks.com

Comments (4) -

  • Heya - Just looking through some blogengine.net blogs, seems to be a fairly nice platform, certainly better than blogger but still playing with the idea of wordpress.  Any major plus points you have found over WP at all?


  • Ther language it is written in (Asp.Net vs php) is my main draw.  I don't really know much about Wordpress, but I am sure it is a solid platform considering it's popularity.  BlogEngine.Net is an awesome platform that they are constantly improving and it is easy to customize/deploy and understand - I wouldn't hesitate for a second to recommend it to anyone!
  • Scott, Any chance of an update of where full CRUD data access is at with Silver light.  I have watched the Swiss MSDN team demo a Linq helper class they created and a few people have started building there own things but when is Microsoft going to publish a standard method.  Is it that we are waiting for Astoria ?  A brief update would be helpful, as I thought we had a hint that something was going to be released in April, did I miss it ?
  • Poster 2 above - problem with Wordpress is that the development team have got fixated on bells and whistles - pretty visuals, and forgotten how to check their code for secure processing.

Add comment