We will be undergoing scheduled maintenance on May 20th, 2013 at 02:00 GMT.
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
In this video, I want to talk about ASP.NET AJAX give you the basics and kind of the ground rules on this and let's start off with exactly what AJAX means. AJAX stands for Asynchronous JavaScript and XML. Now this one word out here, Asynchronous kind of gives away the point of AJAX, but let's go ahead and talk about it anyway. Alright. First of all, exactly what does AJAX give me? Why would I want to use AJAX? What is it going to do for you? Well it is going to change and improve that old HTTP Get and Post Model that has made the Internet what it is. Now with the old Hypertext Transfer Protocol or HTTP Model we send a complete page to the web server, the web server processes it and then returns that page back. Now while that page is gone to the server and being processed we're in a Wait State. Our web page is unavailable to us, it's just like when our application freezes up on our machine, so until we get a response back from the web server, we can't do anything but sit there and watch the screen. Now this is very similar to early terminal mainframe operation. If you've been in computer technology say 15, 20 years like some people I know, you'll remember when we had these dumb terminals, Digital Corporation made a bunch of them, the VT terminals and you just sit there, a lot of them had orange screens. You would type some request in and you would send it and your screen, oftentimes, would go totally blank or it would flash two or three times and then you would have the results back on your screen. Now your terminal is totally useless to you until that request was returned. That is what the web has been like. Now AJAX changes that. It provides Asynchronous functionality in such a manner that making a request back to the server doesn't make the entire page unavailable. Only the effected portion of the page goes back to the server, the rest of the page is still there and you can continue working. This is really, really cool when you see it happen. Now AJAX is not really a technology that some really smart propeller head went into a room and designed. AJAX is actually the consolidation or the gathering and formalizing of a number of functionalities that's already been here for awhile. We're just putting them together, formalizing the organization and calling it AJAX and it does extend standard HTTP functionality. It replaces that old round trip, all or nothing operation and in ASP.NET it is implemented while it is a Client Side technology, we implement it or we set it up and get it going on both the Client and the Server side. So here's the way it works and notice these two things that just popped up. It works as a Script Library in the browser and is a set of ASP.NET Extensions on the Server. So what's going to happen here? When we're talking about ASP.NET AJAX and then Standard AJAX, there are some differences. Whichever way you go and for the purposes of this exam in designing and developing ASP.NET web applications, you're going to deal with ASP.NET AJAX but then there's AJAX out in the real world apart from ASP.NET. Now keep in mind one minor little thing here, Microsoft when they refer to ASP.NET AJAX, they show it in all caps. When you see AJAX out there apart from Microsoft, you probably won't see it in all caps, it will be capital A then lower case JAX. Don't let that confuse you, you're going to see it both ways, in all kind of situations, they'll even see it that way in this course, don't worry about it. But the bottom line, AJAX whether you're talking about ASP.NET AJAX or Standard AJAX requires extensive JavaScript programming skills and understanding of what's going on with JavaScript. So, while you can kind of drag and drop ASP.NET AJAX, to really get all the mileage out of it and do the really cool things, you need to really start to dig into JavaScript and hone your programming skills there alright? ASP.NET AJAX provides some Server Side Controls and this is how we implement AJAX in ASP.NET. We're going to drag some Server Side Controls onto our page while we're in Design Mode and these controls when we request the page for the first time from our web server, will Render the Client Side JavaScript that is required to provide AJAX functionality. So the controls to Render the JavaScript will just kind of show up out there on the Client Side. Now this provides some pretty cool functionality for you with minimal effort but it does come at a cost. You don't get all the possibilities that are available with standard, run of the mill, non ASP.NET AJAX. Alright. We're going to concentrate in this course on ASP.NET AJAX because that is what is going to be on your exam, but let me just give you some real world advice, don't stop here. Go on out there, wade into the real world, stand alone regular AJAX and start to tinker with that as well. The more you can understand about that, the more you can understand about what's going on with ASP.NET AJAX and the more you can get out of it. That's the basics on ASP.NET AJAX and in some separate videos here. We'll do a demo or two and talk about some of the objects that we need to use and how to use them to make ASP.NET AJAX a reality.
| Course: | Designing and Developing ASP.NET 4 Web Apps (Exam 70-519) |
| Author: | Mark Long |
| SKU: | 34292 |
| ISBN: | 978-1-61866-029-9 |
| Release Date: | 2011-12-31 |
| Duration: | 8.5 hrs / 108 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |