Compress Your JavaScript files using JSMin

יום ראשון, נובמבר 9, 2008

Hi All, One of the main rule in order to improve your aspx page load time, is to reduce its page size. One of the recommendation is to use *js files and compress them and save them to one js file on production. Well Douglas Crockford wrote JSMin in C# for the .NET users. JSMin - is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive programming style because it eliminates the download cost of clean, literate self-documentation. You can download JSMin C# version from here. In order to check that the js...

Compress and Consolidation of JavaScript and CSS files for .NET

יום ראשון, אוקטובר 12, 2008

Hi, There is cool open source project in codeplex called: Javascript and CSS Consolidation for ASP.NET that give infrastructure for compress and consolidation JS and CSS files for ASP.NET application. Project Description A library for ASP.NET that provides an easy way to consolidate external javascript and css files. The primary goals for this project are:* Make the development environment mirror production as much as possible (e.g. files should be consolidated in all environments including the local dev box)* Allow the developer to organize their scripts and styles in as many files as they please without compromising on performance* Make the process seemless for...

Tune your .NET Application that suffer from contention, poor performance, and deadlocks

יום שלישי, יולי 29, 2008

Hi, If you develop .NET application that uses: CLR thread pool You have available CPU cycles Your application performs I/O bound operations such as calling a Web method or accessing the file system The ASP.NET Applications/Requests In Application Queue performance counter indicates that you have queued requests If you are unsure whether your application is using the CLR threat pool you can check as follows. Your application may be using the CLR thread pool if any of these conditions is true: Your application makes Web service calls. Your application uses the WebRequest or HttpWebRequest classes to make outgoing Web requests. Your application explicitly queues...