Web Log

Server-side, client-side, code snippets, scripts, automation, best practices, proven approaches, tips & tricks...

JQuery CDN with fallback strategy

Smart usage of CDN for JQuery and JQuery plugins
0
Content Delivery Network or CDN is really usefull for loading JQuery and especially JQuery UI since it is pretty big script file. They are very ofter reliable, fast and since they can be used on other sites, they might be alrady cached in clients browser if he visited some website which uses the same CDN for JQuery or JQuery UI. There are a lot of CDN providers outhere, but two most common are for sure: ... read more

Dynamic JQuery plugin files load

Improve page load when using multiple JQuery plugins
0
You all probably had to deal with certain js files for JQuery plug-in. Usually developers add reference to a js file in Master page (if using WebForms) on layout view (is using MVC). This practice is not so bad, because you have references maintained in one file, but bad thing is that all js file are being load even if none of then are used on the particular pages. ... read more

Handling ajax request in WebForms

Elegant way to do AJAX in WebForms
 
0
In case you want to add JQuery Ajax calls to your page, you would basically need to add one more page which will be invoked with Ajax call. In order to reduce number of physical pages you can reuse the same page, but make it act differently for normal GET/POST HTTP request and totally different for Ajax GET/POST HTTP request. ... read more

JavaScript

read more

Umbraco CMS

read more

.NET

read more

SQL/T-SQL

read more