ASP.NET AJAX Lessons Learned

by calbert 9/25/2007 5:40:00 PM

I used the Microsoft ASP.NET AJAX Extensions pretty heavily for the user interface of my persistent browser based game Perenthia and after about two weeks of live server testing I have discovered some performance issues that may cause me to abadon the use of the UpdatePanel for straight AJAX calls using JSON objects.

The reason being is that I have UpdatePanels that update various sections of the game and instead of just setting a value as supplied from the server they send back the entire HTML blog of changed text. For orderinary web sites this wouldn't be a problem and in fact when allow them to perform faster. Since Perenthia is a little more interactive in so much as players can move around, which are post backs, and do battle, which are post backs, sending all this HTML back is causing too much bloat.  I am thinking of creating some very simple Javascript objects that I can send down from the server that will contain only values that need to be changed rather than HTML. This way I am not sending down tables, spans and the like.

Anyway, we'll see it how it goes, hopefully it will improve performance of the game because that is lacking right now. 

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

ASP.NET Development | Game Development | General | Perenthia PBBG

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

12/4/2008 3:09:34 PM

Powered by BlogEngine.NET 1.3.1.0
Theme by Mads Kristensen

About the author

I am Senior Software Engineer specializing in the Microsoft .NET Framework and PBBG development.

E-mail me Send mail

Calendar

<<  December 2008  >>
MoTuWeThFrSaSu
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Recent posts

Recent comments