I've recently discovered that .NET 2.0 applications load incredibly slowly the first time they are run immediately after an application or a configuration change (and also after a server boot).
When I say slow I mean several minutes not several seconds.
The reason for this is that asp.net 2.0's compilation approach does not compile the application in visual studio. An application can be "precompiled" in visual studio, but this will only convert source code into MSIL code. When the application is first run and not yet in memory, the application is "JIT compiled", which converts the MSIL code into native code and also checks code access security. Both the JIT compilation and the security check means there is a lot of processing that needs to be done everytime an application loads, and this translates into incredibly slow initial load times. Once an application is JIT compiled, a page loads within a second or less -- considerably faster than any other platform.
All this was quite different in asp.net 1.0/1.1.
The response from Microsoft has been that hardware is important. The processor needs to be as powerful as possible. And there needs to be as much RAM as possible.
Could jodohost create special servers for asp.net 2.0 applications with super powerful processors and a lot of memory, but with the same prices ?
When I say slow I mean several minutes not several seconds.
The reason for this is that asp.net 2.0's compilation approach does not compile the application in visual studio. An application can be "precompiled" in visual studio, but this will only convert source code into MSIL code. When the application is first run and not yet in memory, the application is "JIT compiled", which converts the MSIL code into native code and also checks code access security. Both the JIT compilation and the security check means there is a lot of processing that needs to be done everytime an application loads, and this translates into incredibly slow initial load times. Once an application is JIT compiled, a page loads within a second or less -- considerably faster than any other platform.
All this was quite different in asp.net 1.0/1.1.
The response from Microsoft has been that hardware is important. The processor needs to be as powerful as possible. And there needs to be as much RAM as possible.
Could jodohost create special servers for asp.net 2.0 applications with super powerful processors and a lot of memory, but with the same prices ?