Interview Question in Microsoft CRM


 

Interview Question :: 100 users will submit the request to the web-server

Now what will happen if 100 users will submit the request to the web-server? The plug-in code will get loaded into the memory for 100 times?

by ksk
VoteNowAnswers to "100 users will submit the request to the web-server"

Answer is NO. Noticable point over here is that the Microsoft CRM is a mananged application and runs under .Net framework. So whenever the first request arrives at the web-server the plug-in code is loaded into the memory and will perform its operation and susequently the same plug-in code will serve the process for other user as well. So this way it saves the amount of time required to load the plug-in into the memory. If the plug-in code is not being used for long then the Garbage collector will identify it and will sweep the plug-in out from the memory.

by ksk