?
Solved

Compress JS and CSS files on Publish in Asp.net

Posted on 2014-10-04
2
Medium Priority
?
178 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
[X]
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
2 Comments
 
LVL 58

Assisted Solution

by:Julian Hansen
Julian Hansen earned 1000 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 1000 total points
ID: 40365306
0

Featured Post

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

765 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