Link to home
Start Free TrialLog in
Avatar of cdakz
cdakzFlag for United States of America

asked on

How to programatically get size of IIS AppPool (at remote, shared host)?

Our client has legacy web hosting (that has been prepaid for 1 year) at a very large, well-known ISP, that I won't mention by name. However, this "well-known" ISP will not tell us the size of the IIS AppPool allocated to us, for "security reasons" (I've never heard of any other web host refuse to share that info before!).

So, we need to determine the size of the AppPool to see if is large enough to run the ASP.NET-based website we've built. Is there a way, programatically in ASP.NET, to obtain the size of the IIS Application Pool assigned to us?
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

There are different ways to manage IIS (Microsoft.Web.Administration, System.DirectoryServices, ...), but I haven't found a way to find out the Private Memory Limit from C# code yet.
Avatar of cdakz

ASKER

Any way to allocate chunks of measured amounts of memory? That way a web app could record how much memory was allocated before an error occurred.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial