Removing Microsoft.WindowsAzure.Caching from Orchard.Azure, because it's not used anymore

This commit is contained in:
Benedek Farkas
2025-10-14 22:36:04 +02:00
parent 83de6289b8
commit de006d3015
6 changed files with 0 additions and 102 deletions

View File

@@ -1,6 +0,0 @@
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
</configuration>

View File

@@ -1,36 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<PerformanceCounters>
<Category CategoryName="Windows Azure Caching:Client" CategoryHelp="Performance counters for caching clients">
<Counter Name="Requests" Type="NumberOfItems64" HelpString="TotalRequestsHelp"/>
<Counter Name="Requests / sec" Type="RateOfCountsPerSecond32" HelpString="TotalRequestPerSecHelp"/>
<Counter Name="Server Responses Dropped / sec" Type="RateOfCountsPerSecond32" HelpString="TotalServerResponsesDroppedHelp"/>
<Counter Name="Failure Exceptions" Type="NumberOfItems64" HelpString="TotalFailureExceptionsHelp"/>
<Counter Name="Failure Exceptions / sec" Type="RateOfCountsPerSecond32" HelpString="FailureExceptionRateHelp"/>
<Counter Name="Total Local Cache Hits" Type="NumberOfItems64" HelpString="TotalLocalCacheHitsHelp"/>
<Counter Name="Total Local Cache Objects" Type="NumberOfItems64" HelpString="TotalItemsInLocalCacheHelp"/>
<Counter Name="Average Get Latency (Network) / operation Microsecond" Type="AverageCount64" HelpString="AverageCacheGetNetworkLatencyHelp"/>
<Counter Name="Average Get Latency (Network) / operation Microsecond Base" Type="AverageBase" HelpString="AverageCacheGetNetworkLatencyBaseHelp"/>
<Counter Name="Read Requests" Type="NumberOfItems64" HelpString="ReadRequestsHelp"/>
<Counter Name="Write Requests" Type="NumberOfItems64" HelpString="WriteRequestsHelp"/>
<Counter Name="Bytes Received / sec" Type="RateOfCountsPerSecond32" HelpString="CacheIncomingDataRateHelp"/>
<Counter Name="Bytes Sent / sec" Type="RateOfCountsPerSecond32" HelpString="CacheOutgoingDateRateHelp"/>
<Counter Name="Average Get Latency / operation Microsecond" Type="AverageCount64" HelpString="AverageCacheGetLatencyHelp"/>
<Counter Name="Average Get Latency / operation Microsecond Base" Type="AverageBase" HelpString="AverageCacheGetLatencyBaseHelp"/>
<Counter Name="Average Put Latency / operation Microsecond" Type="AverageCount64" HelpString="AverageCachePutLatencyHelp"/>
<Counter Name="Average Put Latency / operation Microsecond Base" Type="AverageBase" HelpString="AverageCachePutLatencyBaseHelp"/>
<Counter Name="Local Cache Filled Percentage" Type="RawFraction" HelpString="PercentageLocalCacheFullHelp"/>
<Counter Name="Local Cache Filled Percentage Base" Type="RawBase" HelpString="PercentageLocalCacheFullBaseHelp"/>
<Counter Name="Local Cache Hits Percentage" Type="RawFraction" HelpString="PercentageLocalCacheHitsHelp"/>
<Counter Name="Local Cache Hits Percentage Base" Type="RawBase" HelpString="PercentageLocalCacheHitsBaseHelp"/>
<Counter Name="Total Notifications Received" Type="NumberOfItems64" HelpString="TotalNotificationsReceivedHelp"/>
<Counter Name="Retry Exceptions" Type="NumberOfItems64" HelpString="TotalRetryExceptionsHelp"/>
<Counter Name="Retry Exceptions / sec" Type="RateOfCountsPerSecond32" HelpString="RetryExceptionRateHelp"/>
<Counter Name="Timeout Exceptions" Type="NumberOfItems64" HelpString="TotalTimeoutExceptionsHelp"/>
<Counter Name="Timeout Exceptions / sec" Type="RateOfCountsPerSecond32" HelpString="TimeoutExceptionRateHelp"/>
<Counter Name="Current Server Connections" Type="NumberOfItems64" HelpString="TotalActiveServerConnectionsHelp"/>
<Counter Name="Total Connection Requests Failed" Type="NumberOfItems64" HelpString="TotalConnectionRequestsFailedHelp"/>
<Counter Name="Network Exceptions" Type="NumberOfItems64" HelpString="TotalNetworkExceptionsHelp"/>
<Counter Name="Network Exceptions / sec" Type="RateOfCountsPerSecond32" HelpString="NetworkExceptionRateHelp"/>
<Counter Name="Current Waiting Requests" Type="NumberOfItems64" HelpString="TotalOutstandingRequestsHelp" />
</Category>
</PerformanceCounters>

View File

@@ -58,18 +58,6 @@
<Reference Include="log4net, Version=3.2.0.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\log4net.3.2.0\lib\net462\log4net.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ApplicationServer.Caching.AzureClientHelper, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.ApplicationServer.Caching.AzureClientHelper.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ApplicationServer.Caching.AzureCommon, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.ApplicationServer.Caching.AzureCommon.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ApplicationServer.Caching.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.ApplicationServer.Caching.Client.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.ApplicationServer.Caching.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.KeyVault.Core, Version=3.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.KeyVault.Core.3.0.5\lib\net461\Microsoft.Azure.KeyVault.Core.dll</HintPath>
</Reference>
@@ -89,9 +77,6 @@
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.19\lib\net461\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Web.DistributedCache, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.Web.DistributedCache.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
@@ -104,12 +89,6 @@
<Reference Include="Microsoft.WindowsAzure.Storage, Version=9.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\WindowsAzure.Storage.9.3.3\lib\net45\Microsoft.WindowsAzure.Storage.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsFabric.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.WindowsFabric.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsFabric.Data.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Caching.2.9.5\lib\net40-full\Microsoft.WindowsFabric.Data.Common.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
@@ -164,15 +143,6 @@
<ItemGroup>
<Compile Include="Services\Environment\Configuration\DefaultPlatformConfigurationAccessor.cs" />
<Compile Include="Services\Environment\Configuration\IPlatformConfigurationAccessor.cs" />
<None Include="Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Microsoft.WindowsAzure.Caching\PerformanceCounters.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Microsoft.WindowsAzure.Caching\ClientPerfCountersInstaller.exe.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<Content Include="Web.config">
<SubType>Designer</SubType>
</Content>

View File

@@ -5,8 +5,6 @@
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
<section name="dataCacheClients" type="Microsoft.ApplicationServer.Caching.DataCacheClientsSection, Microsoft.ApplicationServer.Caching.Core" allowLocation="true" allowDefinition="Everywhere" />
<section name="cacheDiagnostics" type="Microsoft.ApplicationServer.Caching.AzureCommon.DiagnosticsConfigurationSection, Microsoft.ApplicationServer.Caching.AzureCommon" allowLocation="true" allowDefinition="Everywhere" />
</configSections>
<system.web.webPages.razor>
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
@@ -34,21 +32,6 @@
<add assembly="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</assemblies>
</compilation>
<!-- Windows Azure Cache session state provider -->
<!--<sessionState mode="Custom" customProvider="AFCacheSessionStateProvider">
<providers>
<add name="AFCacheSessionStateProvider" type="Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache" cacheName="default" dataCacheClientName="default" applicationName="AFCacheSessionState"/>
</providers>
</sessionState>-->
<!-- Windows Azure Cache output cache provider -->
<!--Uncomment this section to use Windows Azure Cache for output cache-->
<!--<caching>
<outputCache defaultProvider="AFCacheOutputCacheProvider">
<providers>
<add name="AFCacheOutputCacheProvider" type="Microsoft.Web.DistributedCache.DistributedCacheOutputCacheProvider, Microsoft.Web.DistributedCache" cacheName="default" dataCacheClientName="default" applicationName="AFCacheOutputCache" />
</providers>
</outputCache>
</caching>-->
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
@@ -118,16 +101,4 @@
</dependentAssembly>
</assemblyBinding>
</runtime>
<dataCacheClients>
<dataCacheClient name="default">
<!--To use the in-role flavor of Windows Azure Cache, set identifier to be the cache cluster role name -->
<!--To use the Windows Azure Cache Service, set identifier to be the endpoint of the cache cluster -->
<autoDiscover isEnabled="true" identifier="[Cache role name or Service Endpoint]" />
<!--<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" />-->
<!--Use this section to specify security settings for connecting to your cache. This section is not required if your cache is hosted on a role that is a part of your cloud service. -->
<!--<securityProperties mode="Message" sslEnabled="true">
<messageSecurity authorizationInfo="[Authentication Key]" />
</securityProperties>-->
</dataCacheClient>
</dataCacheClients>
</configuration>

View File

@@ -13,7 +13,6 @@
<package id="Microsoft.Rest.ClientRuntime" version="2.3.24" targetFramework="net48" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.19" targetFramework="net48" />
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net48" />
<package id="Microsoft.WindowsAzure.Caching" version="2.9.5" targetFramework="net48" />
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="3.2.3" targetFramework="net48" />
<package id="Newtonsoft.Json" version="13.0.3" targetFramework="net48" />
<package id="NHibernate" version="5.6.0" targetFramework="net48" />