Skip to content

Commit

Permalink
Merge pull request #915 from NuGet/tilovell-865-Remove_IPackageCacheS…
Browse files Browse the repository at this point in the history
…ervice

Delete IPackageCacheService and its implementations.
  • Loading branch information
TimLovellSmith committed Mar 18, 2013
2 parents 3322e4f + 68e24bd commit 9dc9a7e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 207 deletions.
9 changes: 0 additions & 9 deletions Website/App_Start/ContainerBindings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ public override void Load()

if (IsDeployedToCloud)
{
// when running on Windows Azure, use the Azure Cache local storage
Bind<IPackageCacheService>()
.To<CloudPackageCacheService>()
.InSingletonScope();

// when running on Windows Azure, use the Azure Cache service if available
if (!String.IsNullOrEmpty(configuration.AzureCacheEndpoint))
{
Expand All @@ -81,10 +76,6 @@ public override void Load()
}
else
{
Bind<IPackageCacheService>()
.To<NullPackageCacheService>()
.InSingletonScope();

// when running locally on dev box, use the built-in ASP.NET Http Cache
Bind<ICacheService>()
.To<HttpContextCacheService>()
Expand Down
65 changes: 0 additions & 65 deletions Website/Helpers/PackageHelper.cs

This file was deleted.

100 changes: 0 additions & 100 deletions Website/Services/CloudPackageCacheService.cs

This file was deleted.

10 changes: 0 additions & 10 deletions Website/Services/IPackageCacheService.cs

This file was deleted.

19 changes: 0 additions & 19 deletions Website/Services/NullPackageCacheService.cs

This file was deleted.

4 changes: 0 additions & 4 deletions Website/Website.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,6 @@
<Compile Include="PackageCurators\TagBasedPackageCurator.cs" />
<Compile Include="PackageCurators\WebMatrixPackageCurator.cs" />
<Compile Include="PackageCurators\Windows8PackageCurator.cs" />
<Compile Include="Helpers\PackageHelper.cs" />
<Compile Include="PackagesController.generated.cs">
<DependentUpon>T4MVC.tt</DependentUpon>
</Compile>
Expand All @@ -514,14 +513,11 @@
<Compile Include="Services\HttpContextCacheService.cs" />
<Compile Include="Services\ICacheService.cs" />
<Compile Include="Services\IStatisticsService.cs" />
<Compile Include="Services\NullPackageCacheService.cs" />
<Compile Include="Services\CloudBlobClientWrapper.cs" />
<Compile Include="Services\CloudBlobContainerWrapper.cs" />
<Compile Include="Services\CloudBlobFileStorageService.cs" />
<Compile Include="Services\CloudBlobWrapper.cs" />
<Compile Include="Services\CloudPackageCacheService.cs" />
<Compile Include="Services\FileSystemFileStorageService.cs" />
<Compile Include="Services\IPackageCacheService.cs" />
<Compile Include="Services\ISimpleCloudBlob.cs" />
<Compile Include="Services\ICloudBlobClient.cs" />
<Compile Include="Services\ICloudBlobContainer.cs" />
Expand Down

0 comments on commit 9dc9a7e

Please sign in to comment.