Solved

Compress JS and CSS files on Publish in Asp.net

Posted on 2014-10-04
2
160 Views
Last Modified: 2014-10-27
I have a need to compress the js which are included in my aspx pages along with css files.
I need to do this when I publish my site to a folder on the same machine.

Is there any tool or product to buy or free available ? Surly I need to safe my self from doing it manually
0
Comment
Question by:yadavdep
2 Comments
 
LVL 54

Assisted Solution

by:Julian Hansen
Julian Hansen earned 250 total points
ID: 40361223
This is a good place to start. Google's recommendations on minifying code - there are additional links there

https://developers.google.com/speed/docs/insights/MinifyResources

Then there is google's closure tool
https://developers.google.com/closure/

Minify that does both
http://www.minifycss.com/

Another google resource
https://code.google.com/p/minify/
Otherwise a simple search engine request for Minify css and JS or Compress css and js should get you going in the write direction
0
 
LVL 8

Accepted Solution

by:
johny_bravo1 earned 250 total points
ID: 40365306
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question