app pool restart thing out of the way and force dedicated app pool thing that I approved
This commit is contained in:
parent
580a898523
commit
cfd0b39673
14 changed files with 767 additions and 396 deletions
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
|
||||
namespace WebsitePanel.Providers
|
||||
{
|
||||
[Serializable]
|
||||
public enum AppPoolState
|
||||
{
|
||||
Unknown = 0,
|
||||
Start = 1,
|
||||
Stop = 2,
|
||||
Recycle = 3
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue