Differences between IISReset and Recycling Application Pools

I have just read an excellent post on the differences between IISReset and Recycling Application Pools.

Read the post here: http://fullsocrates.wordpress.com/2012/07/25/iisreset-vs-recycling-application-pools/

Check IIS Application Pool Identity using C#

To check the IIS Application Pool Identity using C#, use the System.Security.Principal class:

using System.Security.Principal;

then add the following code to the Page_Load method:

WindowsIdentity id = WindowsIdentity.GetCurrent();
Response.Write("IIS Application Pool Identity
"); Response.Write("Name: " + id.Name + " ");