.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 for .NET Server-Side API
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
- Professional: Alachisoft.NCache.Professional.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