Sunday, February 28, 2010

Microsoft AJAX CDN

hi guys , on my last blog you have seen how microsoft ajax minifer get work and how its useful while developing a application. fine now one more great feature today i will discuss with you . that is ajax CDN (Content Delivery Network ), yes as the name suggested content get deliver on network, no need of updation of code and all auto m atically it get updated all over the world,

some time back google get introduce this in terms of Jquery and all , now microsoft is also take a part on same while using ajax cdn. at first is service is free, does not require king of registration or anything ,and one thing is you can use it in both commercial and non-commercial purposes.

What does a CDN ?
it get composed of "edge cache" servers which are highly strategically placed in all over the world at Internet network points. These "edge cache" servers can be used to cache and deliver all types of content – which get including images, CSS and JavaScript files ,videos and many more.

How to use
now for example if you want to use jQuery from the Microsoft AJAX CDN you can simply add a standard script tag to your page, that you can put in you <Head > section

now whenever the script get required the browser get send the request to the microsoft cdn for functiuon and from there automatically updation get happen
one better advantage is it get cache automatically so no need to send request and make http page heavier. so from the SEO (search engine optimization ) point of view also its too good .

now how you can use that on Visual Studio on your application,
now a days The ASP.NET 4.0 control includes a new property named EnableCdn. that means When you assign the value true to this property, your application will use the Microsoft CDN to request JavaScript files automatically:
that means script get generate automatically so no need of write a code for same , this again useful for SEO purpose for JS minfication . this problem get solve ones you check you application in terms of Google page speed issue.

you need to simply set EnableCDn="true" automatically it get work look at below how exactly it get work

now hope u got the idea clear how exatly it get work and how its useful
thanx , if u want more on same plz add a comment on this post

Sunday, February 14, 2010

microsoft ajax minifier

hi all , yes long time while posting a article on my blog, now i m back , hei i have seen
most of the people are uses Microsoft ajax control in there web application , its also working fine
and also good looking in projects ,

but at a time testing of web site performance then so many issues get arises , they may be all related with speed , performance , ratio and all , now i also face this problem on my applicatin
and while searching i found good article on how to minify the ajax control auto generated (runtime) script there are two ways
either u can compress them or u can use ajax CDN facility to handle them , yes ajax introduces the CDN faliclity for ther JQUERY, AJAX tools , yes its really good while use them in out application.

now u can see how its very important in terms of project implementation.
you can refer this Scott 's blog post ,you wil come to know how its useful . announcing-microsoft-ajax-library

hope u like this