Raveshmand.Cache.Ignite 1.0.0

Using Apache Ignite as distributed cache infrastructure in .net Core

Install-Package Raveshmand.Cache.Ignite -Version 1.0.0
dotnet add package Raveshmand.Cache.Ignite --version 1.0.0
<PackageReference Include="Raveshmand.Cache.Ignite" Version="1.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Raveshmand.Cache.Ignite --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Raveshmand.Cache.Ignite, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Raveshmand.Cache.Ignite as a Cake Addin
#addin nuget:?package=Raveshmand.Cache.Ignite&version=1.0.0

// Install Raveshmand.Cache.Ignite as a Cake Tool
#tool nuget:?package=Raveshmand.Cache.Ignite&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IgniteCachingDistributed

Using Apache Ignite as distributed cache infrastructure in .net Core

https://github.com/alirezakhosravi/IgniteCachingDistributed

Simple configuration

services.AddDistributedIgniteCache(option =>
{
    option.Endpoints = new string[]
        {
            "localhost:11211",
            "localhost:47100",
            "localhost:47500",
            "localhost:49112"
        };
    option.PersistenceEnabled = true;
});

Advanced Configuration

for advance configuration, see https://apacheignite-net.readme.io/docs/

IgniteConfiguration customConfiguration = new IgniteConfiguration
  {
      DiscoverySpi = new TcpDiscoverySpi
      {
          IpFinder = new TcpDiscoveryStaticIpFinder
          {
              Endpoints = new string[]
              {
                  "localhost:11211",
                  "localhost:47100",
                  "localhost:47500",
                  "localhost:49112"
              }
          },
          SocketTimeout = TimeSpan.FromSeconds(0.3)
      },
      IncludedEventTypes = EventType.CacheAll,
      DataStorageConfiguration = new DataStorageConfiguration
      {
          DefaultDataRegionConfiguration = new DataRegionConfiguration
          {
              Name = "defaultRegion",
              PersistenceEnabled = true
          },
          DataRegionConfigurations = new[]
          {
                  new DataRegionConfiguration
                  {
                      // Persistence is off by default.
                      Name = "inMemoryRegion"
                  }
              }
      },
      CacheConfiguration = new[]
      {
          new CacheConfiguration
          {
              // Default data region has persistence enabled.
              Name = "persistentCache"
          },
          new CacheConfiguration
          {
              Name = "inMemoryOnlyCache",
              DataRegionName = "inMemoryRegion"
          }
      }
  };
  services.AddDistributedIgniteCache(option => 
  { 
      option.Configuration = customConfiguration;
      option.SetActive = true;
  });

IgniteCachingDistributed

Using Apache Ignite as distributed cache infrastructure in .net Core

https://github.com/alirezakhosravi/IgniteCachingDistributed

Simple configuration

services.AddDistributedIgniteCache(option =>
{
    option.Endpoints = new string[]
        {
            "localhost:11211",
            "localhost:47100",
            "localhost:47500",
            "localhost:49112"
        };
    option.PersistenceEnabled = true;
});

Advanced Configuration

for advance configuration, see https://apacheignite-net.readme.io/docs/

IgniteConfiguration customConfiguration = new IgniteConfiguration
  {
      DiscoverySpi = new TcpDiscoverySpi
      {
          IpFinder = new TcpDiscoveryStaticIpFinder
          {
              Endpoints = new string[]
              {
                  "localhost:11211",
                  "localhost:47100",
                  "localhost:47500",
                  "localhost:49112"
              }
          },
          SocketTimeout = TimeSpan.FromSeconds(0.3)
      },
      IncludedEventTypes = EventType.CacheAll,
      DataStorageConfiguration = new DataStorageConfiguration
      {
          DefaultDataRegionConfiguration = new DataRegionConfiguration
          {
              Name = "defaultRegion",
              PersistenceEnabled = true
          },
          DataRegionConfigurations = new[]
          {
                  new DataRegionConfiguration
                  {
                      // Persistence is off by default.
                      Name = "inMemoryRegion"
                  }
              }
      },
      CacheConfiguration = new[]
      {
          new CacheConfiguration
          {
              // Default data region has persistence enabled.
              Name = "persistentCache"
          },
          new CacheConfiguration
          {
              Name = "inMemoryOnlyCache",
              DataRegionName = "inMemoryRegion"
          }
      }
  };
  services.AddDistributedIgniteCache(option => 
  { 
      option.Configuration = customConfiguration;
      option.SetActive = true;
  });

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 388 12/16/2018