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.
The Content Delivery Network is a functionality that you will probably see on the exam in some form because it is a pretty significant design issue, especially in Microsoft's mind. Now what the Content Delivery Network is, is the Microsoft AJAX Content Delivery Network and you'll hear it referred to all over the place out there especially in Microsoft documentation and probably on the exam as the CDN. So when you see CDN just understand that what you're talking about here is nothing more than an online repository of popular third part JavaScript Libraries. Now really what we're talking about for the most part are things like jQuery and all that. Now how do you use this? Well the way you use it is you add a Script Tag to your page that instead of pointing to your JavaScript Libraries or your jQuery Libraries out there that you have brought into your project, you downloaded, you know and installed and made references to them. You simply add this tag to your page and you point it to this URL. Alright. Now in a video here that was entitled Getting and Using jQuery, I talked about downloading you know, the jQuery Libraries and installing them and so forth. Well this instead of doing that, we're simply going to point all the references to this particular URL. Now what's cool about this is versions all the way back to 1.3.2 are available. Now notice 1.6.2 is the current one, I mentioned in a separate video where it was 1.6.0 1.6.1 something like that. Well as it turns out, my memory served me just like usual and it was just a little bit off. So 1.6.2 is the latest as of the time that I'm preparing this video for you. So if you've used an older version or if you've got some functionality that's written to an older version that is broken in later releases, then you can point to an earlier, younger version out there. Now if you're using the Script to manage your control, you can use the Enable CDN Attribute of the ScriptManager and just set it equal to true and that's all you need there. Now why would we even want to get into this business of using the Content Delivery Network. Well a lot of good reasons. First of all, the libraries are maintained for you, they're placed on edge cache servers out there. Now if you've ever worked with cache servers and especially edge cache servers, you know what this is, but for now just understand there are thousands of servers that Microsoft has placed around the world, it will automatically determine which one is closest to you. You will contact that web server and you will actually retrieve the library from that web server when you need it. Now what's cool about this is these libraries are received more quickly from these edge servers than they are from your own web server. They are, they don't involve resources on your web server and if you're in a co location type environment where you're paying for bandwidth or your Internet charges are billed out to you based on the amount of bandwidth. Well just thing if you have say 100,000 users that hit your website and they all download these JavaScript Libraries, there's a fair amount of bandwidth you're going to have to pay for there. But if you're pulling this from these edge servers or from the CDN as oppose to from your own web server, you don't have to pay for that bandwidth. So that could be a factor and understand the CDN Service is free for any commercial and non commercial use out there. Now for more information on the CDN, just simply go to www.ASP.NET slash AJAX slash CDN. And you'll see a lot more information, you can see everything that you can get out there, but this is a functionality you will see on the exam in some form. It is a design issue, one of the bazillion things you need to consider on the design aspects of an ASP.NET web application. So now you're in the know on it, I would strongly encourage you to go out there and read up a little but about it both for real world and for any more little tidbits you can get for the exam but for now that's probably as much as you need to be aware of for the exam. Know what it is, know why you would use it, know what the advantages are.
| 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 |