• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try NCache Live
Show / Hide Table of Contents

Use NCache for Data Caching in .NET/.NET Core

Note

Before getting started with your application, make sure you configure the following requirements:

  • For .NET Framework, minimum required version is 4.8
  • For .NET Core, minimum required version is 3.1

NCache Demonstration using Sample Application

Follow the steps mentioned here to see how NCache is used to perform various operations on your .NET/.NET Core application's data.

Step 1: Download Sample from GitHub

Go to NCache repository on GitHub and download the entire repository or the sample you are interested in.

Step 2: Launch the Project

Launch your .NET/.NET Core sample application in Microsoft Visual Studio 2019 or above.

Step 3: Configure Settings

After launching the project, locate and open the App.config for .NET Core and appsettings.json file for .NET application, where you have to change the name of your cache to the one created before.

Step 4: Build Project and Use Sample

After configuring the cache settings, build the sample application for further use.

Step 5: Monitor NCache

Go to NCache Web Manager and against the cache you have created previously, click on Monitor. You will see the counters dashboard projecting the change in cache.

See Also

Simulate Cache Usage
Monitor Caches
Create Cache
Use NCache for ASP.NET Application
Use NCache for ASP.NET Core Application

Back to top Copyright © 2017 Alachisoft