-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #109 from dotnetcore/dev
Upgrading dependencies
- Loading branch information
Showing
31 changed files
with
142 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,49 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<EasyCachingCorePackageNotes> | ||
1. Add GetExpiration/GetExpirationAsync for caching provider. | ||
2. IEasyCachingProviderFactory support multi redis provider instances. | ||
3. IRedisCachingProvider add some string and keys methods. | ||
4. Interceptor attribute add cache provider | ||
1. Upgrading dependencies. | ||
</EasyCachingCorePackageNotes> | ||
<EasyCachingMemcachedPackageNotes> | ||
1. Add GetExpiration/GetExpirationAsync for caching provider. | ||
1. Upgrading dependencies. | ||
</EasyCachingMemcachedPackageNotes> | ||
<EasyCachingRedisPackageNotes> | ||
1. Add GetExpiration/GetExpirationAsync for caching provider. | ||
2. Add some string and keys methods. | ||
1. Upgrading dependencies. | ||
</EasyCachingRedisPackageNotes> | ||
<EasyCachingSQLitePackageNotes> | ||
1. Add GetExpiration/GetExpirationAsync for caching provider. | ||
1. Upgrading dependencies. | ||
</EasyCachingSQLitePackageNotes> | ||
<EasyCachingInMemoryPackageNotes> | ||
1. Add GetExpiration/GetExpirationAsync for caching provider. | ||
1. Upgrading dependencies. | ||
</EasyCachingInMemoryPackageNotes> | ||
<EasyCachingHybridPackageNotes> | ||
1. Add DefaultExpirationForTtlFailed for HybridCachingOptions. | ||
2. Get distributed cached item's expiration when local cache is null. | ||
1. Upgrading dependencies. | ||
</EasyCachingHybridPackageNotes> | ||
<EasyCachingAspectCorePackageNotes> | ||
1. Update EasyCaching.Core. | ||
2. Swich caching provider via attribute. | ||
3. Handle exception when method return null. | ||
1. Upgrading dependencies. | ||
</EasyCachingAspectCorePackageNotes> | ||
<EasyCachingCastlePackageNotes> | ||
1. Update EasyCaching.Core. | ||
2. Swich caching provider via attribute. | ||
3. Handle exception when method return null. | ||
1. Upgrading dependencies. | ||
</EasyCachingCastlePackageNotes> | ||
<EasyCachingResponseCachingPackageNotes> | ||
1. Update EasyCaching.Core. | ||
1. Upgrading dependencies. | ||
</EasyCachingResponseCachingPackageNotes> | ||
<EasyCachingJsonPackageNotes> | ||
1. Update EasyCaching.Core. | ||
1. Upgrading dependencies. | ||
</EasyCachingJsonPackageNotes> | ||
<EasyCachingMessagePackPackageNotes> | ||
1. Update EasyCaching.Core. | ||
1. Upgrading dependencies. | ||
</EasyCachingMessagePackPackageNotes> | ||
<EasyCachingProtobufPackageNotes> | ||
1. Update EasyCaching.Core. | ||
1. Upgrading dependencies. | ||
</EasyCachingProtobufPackageNotes> | ||
<EasyCachingCSRedisPackageNotes> | ||
1. Add GetExpiration/GetExpirationAsync for caching provider. | ||
2. Add some string and keys methods. | ||
1. Upgrading dependencies. | ||
</EasyCachingCSRedisPackageNotes> | ||
<EasyCachingRedisBusPackageNotes> | ||
1. Update EasyCaching.Core. | ||
1. Upgrading dependencies. | ||
</EasyCachingRedisBusPackageNotes> | ||
<EasyCachingRabbitBusPackageNotes> | ||
1. Update EasyCaching.Core. | ||
1. Upgrading dependencies. | ||
</EasyCachingRabbitBusPackageNotes> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<EasyCachingCorePackageVersion>0.5.4.2</EasyCachingCorePackageVersion> | ||
<EasyCachingMemcachedPackageVersion>0.5.4.2</EasyCachingMemcachedPackageVersion> | ||
<EasyCachingRedisPackageVersion>0.5.4.2</EasyCachingRedisPackageVersion> | ||
<EasyCachingSQLitePackageVersion>0.5.4.2</EasyCachingSQLitePackageVersion> | ||
<EasyCachingInMemoryPackageVersion>0.5.4.2</EasyCachingInMemoryPackageVersion> | ||
<EasyCachingHybridPackageVersion>0.5.4.2</EasyCachingHybridPackageVersion> | ||
<EasyCachingAspectCorePackageVersion>0.5.4.2</EasyCachingAspectCorePackageVersion> | ||
<EasyCachingCastlePackageVersion>0.5.4.2</EasyCachingCastlePackageVersion> | ||
<EasyCachingResponseCachingPackageVersion>0.5.4.2</EasyCachingResponseCachingPackageVersion> | ||
<EasyCachingJsonPackageVersion>0.5.4.2</EasyCachingJsonPackageVersion> | ||
<EasyCachingMessagePackPackageVersion>0.5.4.2</EasyCachingMessagePackPackageVersion> | ||
<EasyCachingProtobufPackageVersion>0.5.4.2</EasyCachingProtobufPackageVersion> | ||
<EasyCachingCSRedisPackageVersion>0.5.4.2</EasyCachingCSRedisPackageVersion> | ||
<EasyCachingRedisBusPackageVersion>0.5.4.2</EasyCachingRedisBusPackageVersion> | ||
<EasyCachingCSRedisBusPackageVersion>0.5.4.2</EasyCachingCSRedisBusPackageVersion> | ||
<EasyCachingRabbitBusPackageVersion>0.5.4.2</EasyCachingRabbitBusPackageVersion> | ||
<EasyCachingCorePackageVersion>0.5.5</EasyCachingCorePackageVersion> | ||
<EasyCachingMemcachedPackageVersion>0.5.5</EasyCachingMemcachedPackageVersion> | ||
<EasyCachingRedisPackageVersion>0.5.5</EasyCachingRedisPackageVersion> | ||
<EasyCachingSQLitePackageVersion>0.5.5</EasyCachingSQLitePackageVersion> | ||
<EasyCachingInMemoryPackageVersion>0.5.5</EasyCachingInMemoryPackageVersion> | ||
<EasyCachingHybridPackageVersion>0.5.5</EasyCachingHybridPackageVersion> | ||
<EasyCachingAspectCorePackageVersion>0.5.5</EasyCachingAspectCorePackageVersion> | ||
<EasyCachingCastlePackageVersion>0.5.5</EasyCachingCastlePackageVersion> | ||
<EasyCachingResponseCachingPackageVersion>0.5.5</EasyCachingResponseCachingPackageVersion> | ||
<EasyCachingJsonPackageVersion>0.5.5</EasyCachingJsonPackageVersion> | ||
<EasyCachingMessagePackPackageVersion>0.5.5</EasyCachingMessagePackPackageVersion> | ||
<EasyCachingProtobufPackageVersion>0.5.5</EasyCachingProtobufPackageVersion> | ||
<EasyCachingCSRedisPackageVersion>0.5.5</EasyCachingCSRedisPackageVersion> | ||
<EasyCachingRedisBusPackageVersion>0.5.5</EasyCachingRedisBusPackageVersion> | ||
<EasyCachingCSRedisBusPackageVersion>0.5.5</EasyCachingCSRedisBusPackageVersion> | ||
<EasyCachingRabbitBusPackageVersion>0.5.5</EasyCachingRabbitBusPackageVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sample/EasyCaching.Demo.Interceptors/EasyCaching.Demo.Interceptors.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
sample/EasyCaching.Demo.Providers/Controllers/MultiRedisController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
namespace EasyCaching.Demo.Providers.Controllers | ||
{ | ||
using EasyCaching.Core; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
[Route("api/mredis")] | ||
public class MultiRedisController : Controller | ||
{ | ||
private readonly IRedisCachingProvider _redis1; | ||
private readonly IRedisCachingProvider _redis2; | ||
|
||
public MultiRedisController(IEasyCachingProviderFactory factory) | ||
{ | ||
this._redis1 = factory.GetRedisProvider("redis1"); | ||
this._redis2 = factory.GetRedisProvider("redis2"); | ||
} | ||
|
||
// GET api/mredis | ||
[HttpGet] | ||
public string Get() | ||
{ | ||
_redis1.StringSet("keyredis1", "val"); | ||
|
||
var res1 = _redis1.StringGet("keyredis1"); | ||
var res2 = _redis2.StringGet("keyredis1"); | ||
|
||
return $"redis1 cached value: {res1}, redis2 cached value : {res2}"; | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
sample/EasyCaching.Demo.Providers/EasyCaching.Demo.Providers.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sample/EasyCaching.Demo.ResponseCaching/EasyCaching.Demo.ResponseCaching.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.