Ajax with Asp.net 2.0?
-
Hey, guys. Given that I haven't made the jump to VS 2008 yet, I'm considering adding the AJAX support for 2.0 / VS 2005 to my development environment. Any gotchas / war stories / cautionary tales about installing both this and the control library that I might wanna know about before I hit the Do It button? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
As I remember it was incredibly easy and pain free, especially the control library.
-
Hey, guys. Given that I haven't made the jump to VS 2008 yet, I'm considering adding the AJAX support for 2.0 / VS 2005 to my development environment. Any gotchas / war stories / cautionary tales about installing both this and the control library that I might wanna know about before I hit the Do It button? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
Nope, it is pretty easy, the only thing that is bad is the ViewState traveling back and forth between requests, but that is easily solvable with storing ViewState in a session object for the trouble pages (got response length down from an odd 300-400kbyte to around 4-20kbyte, even better with dynamic compression that IIS 7 offers).
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out now -
Hey, guys. Given that I haven't made the jump to VS 2008 yet, I'm considering adding the AJAX support for 2.0 / VS 2005 to my development environment. Any gotchas / war stories / cautionary tales about installing both this and the control library that I might wanna know about before I hit the Do It button? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
Try and start off with the Ajax/ASP.NET right from the start. It's just easier that way. I have to say though, that I've found it to be remarkably easy to use.
Deja View - the feeling that you've seen this post before.
-
As I remember it was incredibly easy and pain free, especially the control library.
That's most encouraging, thanks!
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Nope, it is pretty easy, the only thing that is bad is the ViewState traveling back and forth between requests, but that is easily solvable with storing ViewState in a session object for the trouble pages (got response length down from an odd 300-400kbyte to around 4-20kbyte, even better with dynamic compression that IIS 7 offers).
xacc.ide - now with TabsToSpaces support
IronScheme - 1.0 alpha 3 out nowGiven that I'm a complete newbie for the Ajax stuff, I suspect this will be the sort of thing that I'll stub my toes on occasionally, appreciate the tip.
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Try and start off with the Ajax/ASP.NET right from the start. It's just easier that way. I have to say though, that I've found it to be remarkably easy to use.
Deja View - the feeling that you've seen this post before.
Well, I'm nose deep in a project and thought there might be an advantage or two here & there to plugging in some of the Ajax stuff. E.g. last night I just added a countdown timer that's all Javascript. It was fairly painless and appears to even work in Safari, but I couldn't help wondering if the Ajax route might make my life easier. Besides, it's (kinda) new and shiny. :rolleyes:
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Well, I'm nose deep in a project and thought there might be an advantage or two here & there to plugging in some of the Ajax stuff. E.g. last night I just added a countdown timer that's all Javascript. It was fairly painless and appears to even work in Safari, but I couldn't help wondering if the Ajax route might make my life easier. Besides, it's (kinda) new and shiny. :rolleyes:
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
Christopher Duncan wrote:
Well, I'm nose deep in a project and thought there might be an advantage or two here & there to plugging in some of the Ajax stuff. E.g. last night I just added a countdown timer that's all Javascript. It was fairly painless and appears to even work in Safari, but I couldn't help wondering if the Ajax route might make my life easier.
It's a little bit of work to retrofit it, but nothing onerous and it certainly makes things much easier. The easy retrofit is to create a new AJAX site and then just copy the bits over that you are missing (primarily from the web.config file).
Deja View - the feeling that you've seen this post before.
-
Christopher Duncan wrote:
Well, I'm nose deep in a project and thought there might be an advantage or two here & there to plugging in some of the Ajax stuff. E.g. last night I just added a countdown timer that's all Javascript. It was fairly painless and appears to even work in Safari, but I couldn't help wondering if the Ajax route might make my life easier.
It's a little bit of work to retrofit it, but nothing onerous and it certainly makes things much easier. The easy retrofit is to create a new AJAX site and then just copy the bits over that you are missing (primarily from the web.config file).
Deja View - the feeling that you've seen this post before.
Pete O'Hanlon wrote:
and then just copy the bits over that you are missing (primarily from the web.config file).
I got into this business as a C++ programmer and as everyone knows, .cpp stands for "copy and paste programming" :-D (Credit where credit due: Tom Archer, standing in the break room of AT&T years ago). I figured I might plug it into the current site, and then just take on Ajax in small bites as particular bits of functionality presented themselves. Would I be correct in assuming that you can have a largely normal Asp.net site, with just a few bits of Ajax dropped in here and there, or is it an all or nothing deal?
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Hey, guys. Given that I haven't made the jump to VS 2008 yet, I'm considering adding the AJAX support for 2.0 / VS 2005 to my development environment. Any gotchas / war stories / cautionary tales about installing both this and the control library that I might wanna know about before I hit the Do It button? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
I prefer just using raw XMLHttp, or the jQuery wrappers. But then, i'm not too big on the whole WebForms thing either, so the ASP.NET AJAX stuff is just overhead.
Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
-
Hey, guys. Given that I haven't made the jump to VS 2008 yet, I'm considering adding the AJAX support for 2.0 / VS 2005 to my development environment. Any gotchas / war stories / cautionary tales about installing both this and the control library that I might wanna know about before I hit the Do It button? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Hey, guys. Given that I haven't made the jump to VS 2008 yet, I'm considering adding the AJAX support for 2.0 / VS 2005 to my development environment. Any gotchas / war stories / cautionary tales about installing both this and the control library that I might wanna know about before I hit the Do It button? :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
You might want to skip the VS2005 and go straight to VS2008 3.5 stuff as all websites are Ajax enabled and save you installing this that and the other to get 2005 to work successfully.
DEVELOPER DAY SCOTLAND 10th MAY 2008 http://www.developerdayscotland.com/[^]
-
You might want to skip the VS2005 and go straight to VS2008 3.5 stuff as all websites are Ajax enabled and save you installing this that and the other to get 2005 to work successfully.
DEVELOPER DAY SCOTLAND 10th MAY 2008 http://www.developerdayscotland.com/[^]
I couldn't agree more. Now if I could just get someone to pay for it... :)
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Yeah, I had glanced (briefly) at those. I'm generally too impatient to learn stuff from videos, which is why I tend to go for books. Appreciate the links, though.
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
-
Pete O'Hanlon wrote:
and then just copy the bits over that you are missing (primarily from the web.config file).
I got into this business as a C++ programmer and as everyone knows, .cpp stands for "copy and paste programming" :-D (Credit where credit due: Tom Archer, standing in the break room of AT&T years ago). I figured I might plug it into the current site, and then just take on Ajax in small bites as particular bits of functionality presented themselves. Would I be correct in assuming that you can have a largely normal Asp.net site, with just a few bits of Ajax dropped in here and there, or is it an all or nothing deal?
Christopher Duncan Author of The Career Programmer and Unite the Tribes Coming soon: Got a career question? Ask the Attack Chihuahua! www.PracticalUSA.com
Christopher Duncan wrote:
Would I be correct in assuming that you can have a largely normal Asp.net site, with just a few bits of Ajax dropped in here and there, or is it an all or nothing deal?
It doesn't have to be all or nothing. We have a couple of sites where we sprinkle the Ajax in only a couple of places.
Deja View - the feeling that you've seen this post before.