Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Ajax with Asp.net 2.0?

Ajax with Asp.net 2.0?

Scheduled Pinned Locked Moved The Lounge
questioncsharpasp-netvisual-studiocom
15 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Christopher Duncan

    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

    M Offline
    M Offline
    martin_hughes
    wrote on last edited by
    #2

    As I remember it was incredibly easy and pain free, especially the control library.

    C 1 Reply Last reply
    0
    • C Christopher Duncan

      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

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #3

      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

      C 1 Reply Last reply
      0
      • C Christopher Duncan

        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

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #4

        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.

        My blog | My articles

        C 1 Reply Last reply
        0
        • M martin_hughes

          As I remember it was incredibly easy and pain free, especially the control library.

          C Offline
          C Offline
          Christopher Duncan
          wrote on last edited by
          #5

          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

          1 Reply Last reply
          0
          • L leppie

            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

            C Offline
            C Offline
            Christopher Duncan
            wrote on last edited by
            #6

            Given 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

            1 Reply Last reply
            0
            • P Pete OHanlon

              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.

              My blog | My articles

              C Offline
              C Offline
              Christopher Duncan
              wrote on last edited by
              #7

              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

              P 1 Reply Last reply
              0
              • C Christopher Duncan

                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

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #8

                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.

                My blog | My articles

                C 1 Reply Last reply
                0
                • P Pete OHanlon

                  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.

                  My blog | My articles

                  C Offline
                  C Offline
                  Christopher Duncan
                  wrote on last edited by
                  #9

                  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

                  P 1 Reply Last reply
                  0
                  • C Christopher Duncan

                    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

                    S Offline
                    S Offline
                    Shog9 0
                    wrote on last edited by
                    #10

                    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.'

                    1 Reply Last reply
                    0
                    • C Christopher Duncan

                      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

                      P Offline
                      P Offline
                      patnsnaudy
                      wrote on last edited by
                      #11

                      Not sure if you are into videos, but there are a bunch of great intros here[^]. 1 & 2 are a must, but then you can pick and choose.

                      C 1 Reply Last reply
                      0
                      • C Christopher Duncan

                        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

                        F Offline
                        F Offline
                        Frank Kerrigan
                        wrote on last edited by
                        #12

                        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/[^]

                        C 1 Reply Last reply
                        0
                        • F Frank Kerrigan

                          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/[^]

                          C Offline
                          C Offline
                          Christopher Duncan
                          wrote on last edited by
                          #13

                          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

                          1 Reply Last reply
                          0
                          • P patnsnaudy

                            Not sure if you are into videos, but there are a bunch of great intros here[^]. 1 & 2 are a must, but then you can pick and choose.

                            C Offline
                            C Offline
                            Christopher Duncan
                            wrote on last edited by
                            #14

                            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

                            1 Reply Last reply
                            0
                            • C Christopher Duncan

                              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

                              P Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #15

                              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.

                              My blog | My articles

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups