Solved

Compress JS and CSS files on Publish in Asp.net

Posted on 2014-10-04
2
163 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 56

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Code works but breaks when I add one section 4 27
.NET Enums [Flags] & Bitwise Design Question 6 39
Record locking on classic ASP 3 35
Web page design problem 3 11
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

685 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