3

I was at a microsoft meeting 6 months ago and I remember a speaker demonstrating in Visualstudio 2012 a way to minify your JavaScript code easily at run time.

eg: you can see the full javascript file in the project and you publish the full file but when you run the page that uses it and view the javascript with fire bug you see the minified version.

He did something to the way he added it in the head. Do you know what I am talking about and can you point me in the right direction?

Is it possible with a web forms project page?

Thanks

asked May 24, 2013 at 12:54
3

1 Answer 1

1

You are refering to what Microsoft calls bundling and minification. You can find a detailed description here: http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification

answered May 24, 2013 at 12:56
2
  • 1
    Thanks, can you do it with a webforms project or only mvc Commented May 24, 2013 at 12:57
  • 1
    @Hello-World It is an ASP.NET 4 feature so you can also use it in WebForms. See: blogs.msdn.com/b/rickandy/archive/2012/08/14/… Commented May 24, 2013 at 13:03

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.