Azure cache configuration and application, azurecache

Source: Internet
Author: User

Azure cache configuration and application, azurecache

Recently, cloud Service was used in the company's projects, so we studied how to configure and use Azure cache.

Create a project

Step 2 configure cache worker role

(1) Click attribute settings of the cache worker role project.

 

(2) attribute Caching settings

 

Step 3: add the code to the web. config configuration file of the web project (the identifier should be the Cache role name or Service Endpoint). We use the Cache role name as identifier = "CacheWorkerRole ".

<DataCacheClients>
<DataCacheClient name = "default">
<AutoDiscover isEnabled = "true" identifier = "CacheWorkerRole"/>
</DataCacheClient>
</DataCacheClients>
<CacheDiagnostics>
<CrashDump dumpLevel = "Off" dumpStorageQuotaInMB = "100"/>
</CacheDiagnostics>

Step 4 download the Azure cache package

Step 5: start to write your own cache code

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.