Compilation speed and server reloading

I have worked in big java project where compilation of whole code took about 20 minutes. If some method required change i could recompile only this class and only this single class was reloaded on the flight to server. In asp.net i must restart server each single time. and it takes about couple seconds for small project, but how it behaves for really big ones?