Setting Up Development Environment for Application
In order to begin development of applications using NCache features, you need to have Microsoft Visual Studio and NCache installed.
To start with NCache, you can either manually add references to NCache assemblies, or install NuGet packages and specify namespaces in your application.
Manually Reference NCache Assemblies
To your Visual Studio solution, you need to add references to NCache APIs in order to utilize the caching features.
In Solution Explorer, right-click on the Application name and select Add.
Reference Manager screen appears.
Select Browse from the left panel and click the Browse button to select the reference.
Select the files to reference screen appears.
Select the following references from the list of NCache assemblies:
Alachisoft.NCache.OutputCacheProvider(Browse at %NCHOME%\intergrations\OutputCacheProvider)
Install NuGet Packages
NCache provides NuGet packages for all editions which contain client libraries. To get started, you need to install the NCache SDK NuGet package.
Open Visual Studio and go to Tools -> NuGet Package Manager -> Package Manager Console.
On the console, execute the required command to install the NCache SDK NuGet package according to the edition you are using.
Replace "x.x.x" with the version of NCache you are using.
Install-Package Alachisoft.NCache.SDK –Version x.x.x
Install-Package Alachisoft.NCache.Professional.SDK –Version x.x.x
Install-Package Alachisoft.NCache.OpenSource.SDK –Version x.x.x
You can now begin creating applications utilizing NCache's features, however, you need to specify the following namespace to get started: