Skip to content

Commit

Permalink
environment variable name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalalx committed Dec 11, 2020
1 parent 5a60f26 commit cdc2fdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -128,7 +128,7 @@ namespace WebApi1

#### Disabling Cache Globally

If you want to disable the ZeusCaching in application level call `builder.DisableGlobally()` in the `startup.cs` file or set environment variable `Zeus_CACHING_DISABLED` to `true` and restart the application.
If you want to disable the ZeusCaching in application level call `builder.DisableGlobally()` in the `startup.cs` file or set environment variable `ZEUS_CACHING_DISABLED` to `true` and restart the application.


#### Samples
Expand Down
2 changes: 1 addition & 1 deletion src/ZeusCaching/Services/ZeusCachingService.cs
Expand Up @@ -7,7 +7,7 @@ namespace ZeusCaching.Services
{
public class ZeusCachingService : IZeusCachingService
{
const string GlobalDisableVariableName = "Zeus_CACHING_DISABLED";
const string GlobalDisableVariableName = "ZEUS_CACHING_DISABLED";
const string ZeusCachingHeaderName = "X-ZeusCaching";
private static Lazy<bool> IsDisabledGlobally = new Lazy<bool>(InternalIsDisabledGlobally);

Expand Down
7 changes: 4 additions & 3 deletions src/ZeusCaching/ZeusCaching.csproj
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>0.0.1</Version>
<Version>0.0.2</Version>
</PropertyGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand All @@ -11,7 +11,8 @@
<IsPackable>true</IsPackable>
<Authors>jalalx</Authors>
<Company />
<Description>An ASP.NET Core Action Filter that acts as an action level cache.</Description>
<Description>Zeus Caching helps using existing dotnet caching extensions easily in your ASP.NET Core Web API applications by simply putting a `[ZeusCache]` attribute on controller action methods.
This package is built from the source file in https://github.com/Jalalx/ZeusCaching/commit/$(GITHUB_SHA)</Description>
<PackageProjectUrl>https://github.com/Jalalx/ZeusCaching</PackageProjectUrl>
<RepositoryUrl>https://github.com/Jalalx/ZeusCaching</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit cdc2fdb

Please sign in to comment.