• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
Show / Hide Table of Contents

Configuring Read-through Provider

The Read-through data source provider can be configured by using NCache Management Center or Command Line tools in the NCache .NET Edition as mentioned below. You can also use these tools to remove Read-through when necessesary.

Note

This feature is only available in NCache Enterprise.

Note

Please note that Read Through is [Deprecated] for NCache Java.

Important

For .NET, before deploying your DLL files, ensure you have the appropriate .NET Version installed as discussed in the NCache Installation Guide.

Configure Read-through Provider Using the NCache Management Center

  • Launch the NCache Management Center by browsing to http://localhost:8251 or <server-ip>:8251 on Windows and Linux.

  • In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache to which the backing source will be configured. Against the cache name, click on View Details.

  • Make sure that the cache is stopped.

Configure Read-through Web

  • This opens up the detailed configuration page for the cache. Go to the Advanced Settings tab and click on Backing Source in the left bar.

  • Check the Enable Read-through box. Choose to add a provider.

Configure Read-through Web

  • A new page will open up. Enter the Provider Name in the text box and then click on the Browse button to browse for assembly implementing the IReadThruProvider interface. Select the class name from the drop-down list.

Configure Read-through Parameters

  • Select the required Read-through Provider. You can also provide the values to your Read-through Provider class if required. Just write the parameter name in the Parameter field and its value against it under the Value field.

  • Click OK.

  • The selected provider class will be listed in the Read-through Provider list in the Backing Source tab.

Read-through Providers List

  • Now deploy the Read-through Provider assembly along with its dependent assemblies, if any. Click on the Deploy Backing Source Provider button at the left bottom of the Backing Source tab.

Deploy Provider Assemblies

  • Browse for required assemblies.

  • Select all the required assemblies and click Open.

  • After applying all the changes, click on Save Changes.

Configure Read-through Provider Using Command Line Tools

Configure Read-through

The Add BackingSource cmdlet enables users to configure backing source (Read-through, write-through) providers for the specified cache.

The following command will configure Reader1 Read-through Provider on demoClusteredCache.

Add-BackingSource -CacheName demoClusteredCache -AssemblyName C:\Providers\Providers.dll -Class NCache.Sample.Providers.Readers.Reader1 -ProviderName reader1 -ReadThru

Remove Read-through

The Remove BackingSource cmdlet removes the pre-configured backing source providers (Read-through or Write-Through) from the cache or a specified server.

The following command removes the pre-configured Read-through Provider named MyReader from demoClusteredCache.

Remove-BackingSource -CacheName demoClusteredCache -ProviderName MyReader –ReadThru

See Also

Write-Through Provider
Write-Through Provider for Write-Behind Operations
Deploy Providers
Add Test Data

In This Article
  • Configure Read-through Provider Using the NCache Management Center
  • Configure Read-through Provider Using Command Line Tools
    • Configure Read-through
    • Remove Read-through
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top