views:

134

answers:

1

How do I overcome JIT compilation ramp-up time for infrequently used web service methods in my .NET enterprise solution? Some of my infrequently used business processes rely upon 5-6 web internal web service calls. Each "JIT" can add 2-3 seconds per call adding roughly 10-15 seconds to a process.

+4  A: 

You could NGen the assemblies beforehand - or (if they're harmless to call for no other reason) just have a task to make the calls periodically.

Jon Skeet