Recently my college got problem in AJAX file upload control which is “AJAXControlToolKit required Ajax4.0 script”
see the error detail in below snap.
So the reason behind this he is using AJAX script manager not AJAX toolkit script manager. Now you have question when to use script manager and when to use AJAX toolkit script manager so my suggestion is always use AJAX toolkit script manager because it is faster than script manager in many ways and if you try to find difference between AJAX script Manager & AJAX Toolkit script manager then you will find AJAX toolkit script manager is best option for enhancement of your web app performance also.
(If you have not downloaded AJAX toolkit Script Manager then you can download latest AJAX toolkit and install on your machine)
So Enjoy weekend.
Happy Makar sakranti (Indian New Year)
Thanks & Best Regards,
Today I am going to share one more interesting utility provided by Microsoft which is called “Microsoft Ajax Minifier”.
Microsoft Ajax Minifier is a utility which will help you in minimizing the size of your Java script and CSS.
You can download this utility from http://www.asp.net/ajaxLibrary/Download.ashx
You can use this by command prompt.
For example I want to minimize the default.css of my project then I will follow following steps
Step 1: Run ajaxmin command as shown in below fig
Step 2: if command is successful then you will get following screen
In this way after successful execution if you see the size of CSS file it significantly reduced as shown in below fig.
You have seen all the steps and utility now you are thinking why we have to use this and how it will work. So the answer is if your JS & CSS file size is less then it will take less time in load and your website will be faster. The working is as simple as you thought
AJAXMinifier remove all the unwanted white space, curly braces and use short hand in declaration and many more techniques for reducing the size.
I hope this will help you and me also in performance boost.
Keep enjoying Microsoft tools.
Thanks & best regards,