Have you ever used ngen.exe?
问题 Has anybody here ever used ngen? Where? why? Was there any performance improvement? when and where does it make sense to use it? 回答1: Yes, I've seen performance improvements. My measurements indicated that it did improve startup performance if I also put my assemblies into the GAC since my assemblies are all strong named. If your assemblies are strong named, NGen won't make any difference without using the GAC. The reason for this is that if you have strong named assemblies that are not in