.NET Server-side API Prerequisites
In order to practically utilize the powerful NCache APIs for .NET Server-side, make sure to implement the .NET Edition prerequisites discussed in this section.
Prerequisites
Before using the NCache .NET Server-side APIs, ensure that the following prerequisites are fulfilled:
- Install either of the following NuGet packages in your application:
- Enterprise: Alachisoft.NCache.SDK
- Community: Alachisoft.NCache.Community.SDK
- Include the following namespaces in your application based on the feature you intend to use:
- The cache must be running.
- Make sure that the data being added is serializable.
- To ensure the operation is fail-safe, it is recommended to handle any potential exceptions within your application, as explained in Handling Failures.
- To handle any unseen exceptions, refer to the Troubleshooting section.
See Also
How to Connect to Cache
Error Handling in Cache
Troubleshooting