app pool restart thing out of the way and force dedicated app pool thing that I approved

This commit is contained in:
dev_amdtel 2013-05-03 17:59:19 +04:00
parent 580a898523
commit cfd0b39673
14 changed files with 767 additions and 396 deletions

View file

@ -0,0 +1,13 @@
using System;
namespace WebsitePanel.Providers
{
[Serializable]
public enum AppPoolState
{
Unknown = 0,
Start = 1,
Stop = 2,
Recycle = 3
}
}

View file

@ -54,6 +54,10 @@ namespace WebsitePanel.Providers.Web
void UpdateSiteBindings(string siteId, ServerBinding[] bindings, bool emptyBindingsAllowed);
void DeleteSite(string siteId);
// AppPool
void ChangeAppPoolState(string siteId, AppPoolState state);
AppPoolState GetAppPoolState(string siteId);
// virtual directories
bool VirtualDirectoryExists(string siteId, string directoryName);
WebVirtualDirectory[] GetVirtualDirectories(string siteId);

View file

@ -72,6 +72,7 @@
<Compile Include="..\VersionInfo.cs">
<Link>VersionInfo.cs</Link>
</Compile>
<Compile Include="Common\AppPoolState.cs" />
<Compile Include="Common\ByteOperations.cs" />
<Compile Include="Common\ErrorCodes.cs" />
<Compile Include="Common\PasswdHelper.cs" />