Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Getting started on managing Redis Cache in C#

License

NotificationsYou must be signed in to change notification settings

Azure-Samples/redis-cache-dotnet-manage-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
page_typelanguagesproductsextensions
sample
csharp
azure
servicesplatforms
Redis-Cache
dotnet

Azure Redis sample for managing Redis Cache:

  • Create a Redis Cache and print out hostname.
  • Get access keys.
  • Regenerate access keys.
  • Create another 2 Redis Caches with Premium Sku.
  • List all Redis Caches in a resource group – for each cache with Premium Sku:
    • set Redis patch schedule to Monday at 5 am.
    • update shard count.
    • enable non-SSL port.
    • modify max memory policy and reserved settings.
    • restart it.
  • Clean up all resources.

Running this Sample

To run this sample:

Set the environment variableAZURE_AUTH_LOCATION with the full path for an auth file. Seehow to create an auth file.

git clone https://github.com/Azure-Samples/redis-cache-dotnet-manage-cache.gitcd redis-cache-dotnet-manage-cachedotnet buildbin\Debug\net452\ManageRedis.exe

More information

Azure Management Libraries for C#Azure .Net Developer CenterIf you don't have a Microsoft Azure subscription you can get a FREE trial accounthere


This project has adopted theMicrosoft Open Source Code of Conduct. For more information see theCode of Conduct FAQ or contactopencode@microsoft.com with any additional questions or comments.

About

Getting started on managing Redis Cache in C#

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors10

Languages


[8]ページ先頭

©2009-2025 Movatter.jp