• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • Client Installation
  • .NET
Show / Hide Table of Contents
  • Installation Guide
  • Planning
    • Edition Comparison
    • Capacity Specification
    • Requirements
    • Security Considerations
    • Firewalls & Ports
    • Multiple NCache Versions
  • .NET Edition
    • Prerequisites
    • Windows Installer
      • Windows Installer (Wizard)
      • Windows Installer (Command Line)
      • Network Installation with PowerShell
        • Remote Install NCache
        • Remote Uninstall NCache
    • Linux Installer
    • Docker
  • Java Edition
    • Prerequisites
    • Linux Installer
    • Docker
    • Windows Installer
      • Windows Installer (Wizard)
      • Windows Installer (Command Line)
  • Client Installation
    • .NET
    • Java
    • Python
    • Node.js
  • Evaluation Period Management
  • NCache Licenses
    • Licensing Model
    • License Management
      • Activate License
      • Reactivate License
      • Deactivate License
  • Upgrading NCache
    • Upgrade Servers and Clients
    • Upgrade Servers Only
    • Live Upgrade Servers
    • Apply Private NCache Patches
  • OS Upgrades and Patches
    • Windows Upgrades and Patches
    • Linux Upgrades and Patches
    • NCache Maintenance Mode
    • Disable Auto Restart

Install NuGet Packages for .NET and .NET Framework

NCache provides NuGet packages which contain client libraries. To get started, you need to install the necessary NCache SDK NuGet packages.

Steps to Install 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 your requirements.

Note

Replace x.x.x with the version of NCache you are using.

Install-Package Alachisoft.NCache.SDK –Version x.x.x

You can also install NuGet Packages for the following .NET/.NET Framework Integrations:

ASP.NET Core Sessions

Install-Package AspNetCore.Session.NCache –Version x.x.x

ASP.NET Core SignalR

Install-Package AspNetCore.SignalR.NCache –Version x.x.x

ASP.NET Core Response Caching

Install-Package NCache.Microsoft.Extensions.Caching –Version x.x.x

ASP.NET Core Data Protection Provider

Install-Package AspNetCore.DataProtection.NCache –Version x.x.x

ASP.NET Sessions

Install-Package AspNet.SessionState.NCache –Version x.x.x

ASP.NET SignalR

Install-Package AspNet.SignalR.NCache –Version x.x.x

ASP.NET View State Caching

Install-Package AspNet.ViewState.NCache –Version x.x.x

ASP.NET Output Cache Provider

Install-Package AspNet.OutputCache.NCache –Version x.x.x

Entity Framework Core

Install-Package EntityFrameworkCore.NCache –Version x.x.x

NuGet Package: Windows/Linux Installer

Unlike the Remote Client, the mentioned installers allow you to opt for installation options like Cache Server and Developer/QA, which have more complete feature sets. For details about the prerequisites and steps involved in installing NCache through these installers, refer to the following:

  • Windows Installer
  • Linux Installer

Supported .NET Versions

The supported .NET versions are as follows:

Product Versions
.NET 5.0, 6.0, 7.0, 8.0
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
Note

For server-side deployments, .NET 4.8 and .NET 8.0 are the supported versions.

Important

Ensure that you are using the JSON Serialization format for .NET 8.0, as BinaryFormatter Serialization methods are obsolete and prohibited in .NET 8.0. However, if you still want to use Binary Serialization, you can suppress the BinaryFormatter, as discussed here.

See Also

Create Cache
Connecting to Cache
Update Data in Cache

In This Article
  • Steps to Install NCache SDK NuGet Package
    • ASP.NET Core Sessions
    • ASP.NET Core SignalR
    • ASP.NET Core Response Caching
    • ASP.NET Core Data Protection Provider
    • ASP.NET Sessions
    • ASP.NET SignalR
    • ASP.NET View State Caching
    • ASP.NET Output Cache Provider
    • Entity Framework Core
  • NuGet Package: Windows/Linux Installer
  • Supported .NET Versions
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top