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

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

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, can you do it with a webforms project or only mvc
@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/…

Your Answer

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.