NCache for Visual Studio Extension
NCache for Visual Studio Extension lets you run NCache management commands in a tool window of Visual Studio.
Installing NCache Explorer for Visual Studio
In order to fully exploit the features provided by NCache within Visual Studio, you need to install an extension of NCache Manager within Visual Studio.
You can install NCache Explorer for Visual Studio in the following ways:
NCache for Visual Studio extension comes along with the Developer type installation of Enterprise edition of NCache. The setup installer will automatically try to install the Visual Studio extension on all of the edition(s) installed of Visual Studio starting from edition 2012 on the system.
NCache for Visual Studio Extension can be downloaded (.VSIX file) from Visual Studio Gallery and can be installed in any version/edition of Visual Studio of the user’s choice.
NCache for Visual Studio will only work with Visual Studio version 2012 onwards, and the editions which support extensions.
Using NCache Explorer for Visual Studio
To utilize NCache Manager's features from within Visual Studio, you can simply access the NCache Explorer window in Visual Studio after the NCache Explorer for Visual Studio extension has been installed successfully.
To view NCache Explorer, select VIEW -> Other Windows -> NCache Explorer from the Visual Studio’s menu bar.
This will open the NCache Explorer tool window, which can be tabbed, docked or closed just like any common tool window of Visual Studio. Similarly, its state will be preserved even when Visual Studio is closed.
The window contains a toolbar which will have listed available operations and a tree-like hierarchical structure to show caches and all related information similar to NCache Manager. The toolbar’s operations are updated according to selected item in the tree. Moreover, operations can also be performed from the right-click menu of any item in the tree.
The root item NCache Explorer will have Clustered Caches and Local Caches as child items, each of them being a parent to the type of cache (Clustered/Local) added. Each item in the tree will have its icon updated according to its state.
A Clustered Cache item will further have Server Nodes and Client Nodes child items, whereas a child item of Local Cache will represent a server node hosting Local type of cache.
The figure below displays the tree hierarchy containing a Clustered Cache named “myReplicatedCache” and a Local Cache named “myCache”.