top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is <compilation optimizeCompilations="true">?

+3 votes

What is <compilation optimizeCompilations="true">?
One of my friends asked me to write it in web.config for increased performance. How does it work?

posted Mar 25, 2014 by Merry

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
Best answer

Source :
ASP.NET uses a per application hash code which includes the state of a number of things, including the bin and App_Code folder, and global.asax. Whenever an ASP.NET app domain starts, it checks if this hash code has changed from what it previously computed. If it has, then the entire codegen folder is wiped out.When this optimization is turned on via <compilation optimizeCompilations="true" />, the hash no longer takes into account bin, App_Code and global.asax. As a result, if those change we don’t wipe out the codegen folder.

answer Mar 28, 2014 by Vikram Luthra
Similar Questions
+4 votes
+2 votes

Pros n cons of using querystring over other methods!

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.