Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Compress JS and CSS files on Publish in Asp.net

Posted on 2014-10-04
2
161 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 55

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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

829 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