Permission to access and create virtual directory!

Discussion in 'Hosting Services / Control Panel' started by Naif, Nov 8, 2014.

  1. Hi,
    We are planning to create our customers' web application by code.
    We've found DirectoryServices class which helps us to do that.

    The question is do you provide your customers with the relative permission to access and create virtual directory?

    Thanks.
     
  2. martino

    martino DiscountASP.NET Staff

  3. Thank you for your replay.

    We know how to do that manually. However, we need to do it by coding to immediately serve our customers.
    By the way, what is the maximum number of web applications that we can create?
     
  4. martino

    martino DiscountASP.NET Staff

    I don't know if you can do it by code. But I know when you use Visual Studio and web deploy the web application into a subdirectory. That subdirectory should automatically be set as a application starting point if you use the option in Visual Studio to mark the application.

    In regards to the maximum number you can have we don't really have a limit. But it all depends on your site account's resources.

    We host each website in its own unique application pool/process. To conserve memory, we recycle the application if any of the following conditions are met:

    1) More than 20 minutes of idle time (no http request in 20 minutes)
    2) The application uses more than 100 MB of memory on IIS 6, 200 MB of memory on IIS 7, and 300 MB of memory on IIS 8.
    3) The application uses more than 70% of CPU time. On our IIS 8 servers the CPU is throttled so you may experience same latency.
     
    Naif likes this.
  5. Nice, thank you.
     

Share This Page