Giter Site home page Giter Site logo

ncache's People

Contributors

latif-saif avatar sarah-hameed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncache's Issues

Absolute Expiration is not respected exactly

I can't get NCache to respect a 10 second absolute expiration. It always expires after about 15 seconds.

I have created a sample repository to demonstrate this:

https://github.com/gregpakes/NCache-Expiration-Test

The code is simple. In the ValuesController (https://github.com/gregpakes/NCache-Expiration-Test/blob/master/NCache-Expires/Controllers/ValuesController.cs), I am caching the current DateTime for 10 seconds. If you continually refresh the page, you will see that the value gets refreshed every 15 seconds or so. I would expect this to be 10 seconds.

I have tried the same demo using MemoryCache.Default and it works as expected. The cache entry is refreshed every 10 seconds.

What is the issue here?

NHibernate.Cache.CacheException: 'Unable to acquire lock on the key provided.'

Hello,
I have successfully used NCache 4.9, I am now upgraded to version 5.0.2, but integration with NHibernate is not working as in the previous version. I am getting the following error:

NHibernate.Cache.CacheException: 'Unable to acquire lock on the key provided.'

This exception was originally thrown at this call stack:
Alachisoft.NCache.Integrations.NHibernate.Cache.NCache.Lock(object)
NHibernate.Cache.ObsoleteCacheWrapper.Lock(object)
NHibernate.Cache.ReadWriteCache.Put(NHibernate.Cache.CacheKey, obje
NHibernate.Engine.TwoPhaseLoad.InitializeEntity(object, bool, NHibe
NHibernate.Loader.Loader.InitializeEntitiesAndCollections(System.Co
NHibernate.Loader.Loader.DoQuery(NHibernate.Engine.ISessionImplemen
NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(NHi
NHibernate.Loader.Loader.LoadEntity(NHibernate.Engine.ISessionImple
NHibernate.Loader.Entity.AbstractEntityLoader.Load(NHibernate.Engin
NHibernate.Loader.Entity.AbstractEntityLoader.Load(object, object,

Could anyone help me?

Thanks.

NCache OSS 5.0 SP3- Unable to start cache after installation and configuration. Throw 'Specified cacheId is not registered' exception

As previously referenced in #51 new installs of 5.0 FP3 OSS do not appear to be able to start any newly created cache's outside of the out of the box examples provisioned on install.

When attempting to start the cache a Specified cacheId is not registered exception is generated.

50sp3oss

Then inclusion of a configID as was previous noted in 51 does not appear to resolve this issue.

'client.ncconf' not found or does not contain server information

When running my Integration tests through NUnit and resharper I get this error.
''client.ncconf' not found or does not contain server information

The client.ncconf file is available both in the test dll binary directory AND in the NCache installation folder.
So at least one of the two should be picked up by NCache

Named Tags Query Fails with 'Index not defined' error.

Queries on named tags do not seem to work.

We are creating our CashItems() with a Tag dictionary, like this:

`tagDict.Add("GameKey", aKey.GameKey);
tagDict.Add("StatType", aKey.StatType);

aKeys.Add(somekey);
aItems.Add(new CacheItem(a) {NamedTags = tagDict});`

Later, we try to search the cache based on tags which is just following the GroupsAndTags example:

`string query = "SELECT $Text$ WHERE this.GameKey = ? AND this.StatType = ?";

Dictionary<string,string> values = new Dictionary<string,string>();
values["GameKey"] = theGameKey;
values["StatType"] = theStatType;

CacheReader resultItems = _cache.ExecuteReader(query, values);
`

... but we get this error:

“ExecuteReader operation failed. Error: Index is not defined for attribute 'GameKey'”

According to the documentation: Queries require Named Tags, Indexes on the object or both”

In this case, we’re using Named Tags, but it still fails.

How do we defined an Index on a Named Tag? Or?....

This looks like a bug.

unable to load ncregistry.dll

I am new to ncache and I have downloaded and installed open source version from alachisoft web site. I get an error whenever I try to initilize the cache stating:
RegHelper::Stage 001Unable to load DLL 'ncregistry': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have found the ncregistry.dll from github source and I have tried to register itwith regsvr32 to no avail.
I am trying to run sample projects provided with installer.
Thanks

NCache Client "No server is available to process the request" after connectivity outage

Hi

During some connectivity tests the cache client becomes unusable, throwing exceptions on every intent to make request on the client instance. We tried to find out a way to overcome this problem, but without success: once a client is disconnected from network for a while, it never come back to work fine.

Using one of the samples provided (BasicOperation, with minor changes), next picture denotes where exceptions arise at some points in code.

ncachenetworkerror

Our aim is to use Pub/Sub mechanism, but testts were tailored down to basic samples in order to narrow complexity and speed-up connectivity tests. Anyway, Pub/Sub sample dosn't worked neither.

Please someone can give us a hint on how to use overcome to termporal connectiviy outages using cache client? Do we need to dispose current client instance when connection exceptions are throwed?
In the context of Pub/Sub, how can we do the same with subscriptor, regarding this object doesn't provied a way to know when connectivity errors, or other exceptions, arise,

Many thanks.

Error at at Alachisoft.NCache.Common.Pooling.PoolManager.CreatePool[T]...

Hello,

I'm trying to get NCache working with my ASP.NET Core app. I've added Alachisoft.NCache.SessionSErvices via Nuget, registered it with the DI container via:

services.AddNCacheDistributedCache(options => { options.CacheName = "DevTheBeeHiveCache"; options.ExceptionsEnabled = true; });

but when I try to run and injecct the IDistributedCache I get the following error:

StructureMap.Building.StructureMapBuildException: Error while building type Alachisoft.NCache.Web.SessionState.NCacheDistributedCache. See the inner exception for details 1.) new NCacheDistributedCache(*Default of IOptions<NCacheConfiguration>*) 2.) Alachisoft.NCache.Web.SessionState.NCacheDistributedCache 3.) Instance of Microsoft.Extensions.Caching.Distributed.IDistributedCache (Alachisoft.NCache.Web.SessionState.NCacheDistributedCache)
...
---> System.Configuration.Provider.ProviderException: Configuration Error: Could not load type 'ProtoBuf.Serializers.Pooling.BufferPoolBase1' from assembly 'protobuf-net, Version=2.4.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'. ---> Alachisoft.NCache.Runtime.Exceptions.ConfigurationException: Configuration Error: Could not load type 'ProtoBuf.Serializers.Pooling.BufferPoolBase1' from assembly 'protobuf-net, Version=2.4.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'. ---> System.TypeLoadException: Could not load type 'ProtoBuf.Serializers.Pooling.BufferPoolBase1' from assembly 'protobuf-net, Version=2.4.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'.
at Alachisoft.NCache.Common.Pooling.PoolManager.CreatePool[T](ArrayPoolType poolType, Boolean growable)
at Alachisoft.NCache.Caching.Cache.InitializeStoreObjectPools(PoolManager poolManager)
at Alachisoft.NCache.Caching.Cache.InitializeObjectPools(Boolean createFakePool)
at Alachisoft.NCache.Caching.Cache.Initialize(IDictionary properties, Boolean inProc, String userId, String password, Boolean isStartingAsMirror, Boolean twoPhaseInitialization)
--- End of inner exception stack trace ---
at Alachisoft.NCache.Caching.Cache.Initialize(IDictionary properties, Boolean inProc, String userId, String password, Boolean isStartingAsMirror, Boolean twoPhaseInitialization)
at Alachisoft.NCache.Caching.CacheFactory.CreateFromProperties(IDictionary properties, CacheServerConfig config, ItemAddedCallback itemAdded, ItemRemovedCallback itemRemoved, ItemUpdatedCallback itemUpdated, CacheClearedCallback cacheCleared, CustomRemoveCallback customRemove, CustomUpdateCallback customUpdate, String userId, String password, Boolean isStartingAsMirror, Boolean twoPhaseInitialization)
at Alachisoft.NCache.Client.CacheManager.GetCacheInternal(String cacheName, CacheConnectionOptions cacheConnectionOptions)
at Alachisoft.NCache.Client.CacheManager.GetCache(String cacheName, CacheConnectionOptions cacheConnectionOptions, Boolean isClientCache, Boolean isPessimistic)
at Alachisoft.NCache.Client.CacheManager.GetCache(String cacheName, CacheConnectionOptions cacheConnectionOptions, String clientCacheName, CacheConnectionOptions clientCacheConnectionOptions)
at Alachisoft.NCache.Web.SessionState.NCacheDistributedCache.CheckAndInitializeCache()
--- End of inner exception stack trace ---
at Alachisoft.NCache.Web.SessionState.NCacheDistributedCache.RaiseException(Exception exc)
at Alachisoft.NCache.Web.SessionState.NCacheDistributedCache.CheckAndInitializeCache()
at Alachisoft.NCache.Web.SessionState.NCacheDistributedCache..ctor(IOptions1 options) at lambda_method(Closure , IBuildSession , IContext ) --- End of inner exception stack trace --- at lambda_method(Closure , IBuildSession , IContext ) at StructureMap.Building.BuildPlan.Build(IBuildSession session, IContext context) at StructureMap.BuildSession.BuildUnique(Type pluginType, Instance instance) at StructureMap.SessionCache.GetDefault(Type pluginType, IPipelineGraph pipelineGraph) at StructureMap.Container.GetInstance(Type pluginType) at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.SpaServices.Webpack.ConditionalProxyMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.SpaServices.Webpack.ConditionalProxyMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Could you please help? Also, I use version protobuf-net version 2.4.4 within the app (if that matters). Looks like NCache uses version 2.4.0 internally?

Thanks.

Memory consumption on pub/sub cache

Hi,

I'm using Events & Pub / Sub Messaging, as time goes by, the cache memory consumption grows in but it is not released. I am setting the expiration when creating the message and I also configured the expiration in the cache configuration file on the server. I believe that something is missing, as it is something very basic and there is no information available. Related issue in #45. I appreciate any help.

Publisher:

             _topic = _cache.MessagingService.GetTopic(eventName);
            if (_topic == null)
            {
                _topic = _cache.MessagingService.CreateTopic(eventName);
                _topic.ExpirationTime = TimeSpan.FromMinutes(10);
            }
            Message message = new Message(@event, TimeSpan.FromMinutes(10));
            _topic.Publish(message, DeliveryOption.Any, true);

Server cache config:

      <expiration-policy enabled="True">
          <absolute-expiration longer-enabled="False" longer-value="0" default-enabled="True" default-value="30"/>
          <sliding-expiration longer-enabled="False" longer-value="0" default-enabled="False" default-value="30"/>		 
      </expiration-policy>	  
      <cleanup interval="15sec"/>
      <storage type="heap" cache-size="128mb"/>
      <eviction-policy default-priority="normal" eviction-ratio="25%"/>
      <cache-topology topology="replicated">

Version: 5.0 SP3

Thanks for any help.

Possible to specify client.ncconf location when called over COM+

I have a .Net and a Classic ASP application. I have written a COM wrapper for NCache, so I can access it from the Classic ASP. The issue is that when using COM, I can see that it only looks for the client.ncconf and config.ncconf files in c:\windows\system32\inetsrv\config folder rather than the application root folder.

Do you have any suggestion of getting around this? I am trying to share configuration files between my .Net and Classic ASP runtimes, so ideally I want just a single configuration file, but can't see how to specify file location.

[Question] Pub/Sub Message TimeSpan Expiration and General Pub/Sub Performance

What is the purpose of the default topic expiration, or message level expiration?

Can I safely use TimeSpan.MinValue or Zero for messages to have them not persist, and only be sent to all current subscribers at that very moment?

Furthermore, I have yet to encounter when the actual message expiration is used -- merely subscribing to a topic doesn't automatically get all messages from what I've seen -- does it perhaps only get used on a temporary disconnect/reconnect event?

Currently I am using the following logic to publish a message;

public void PublishPubSubMessage(String topicName, Object message)
{
    ITopic topic = _cache.MessagingService.GetTopic(topicName) ?? _cache.MessagingService.CreateTopic(topicName);
    Metrics.Count("Cache Operation", "PubSub Request");

    topic.Publish(new Message(message, TimeSpan.FromSeconds(10)), DeliveryOption.All);
}

The use case is a very dynamic PubSub system where clients subscribe to adhoc topics and messages are sent to all subscribers, but there is no need to store these messages for new connections, as the objects are also persisted in normal cache and accessible by another Get method.

Cannot open Service Control Manager on computer

I have a fresh install of the opensource edition of NCache on a Windows 2012 R2 box.
When running the following command to create a new cache:
createcache.exe someCache /s 10.142.135.241 /S 128 /t local

The command returns with the following error:
Alachisoft (R) NCache Utility CreateCache. Version 4.6 SP3
Copyright (C) Alachisoft 2017. All rights reserved.
Creating cache 'someCache' on server '10.142.135.241'

Failed to create cache on server '10.142.135.241' .
Error Detail: 'Cannot open Service Control Manager on computer '10.142.135.241'. The operation might require other privileges.'.

Any idea on what this means?
Thanks

Issue with NcacheQuery in .net core 2.2

Hi folks! NCacheQuery doesn't work correctly in .net core application with NuGet package "Alachisoft.NCache.OpenSource.Linq". If you install this package, Ncache doesn't allow you to use LINQ for queries data in cache because you will get this error:
The type 'Cache' is defined in an assembly that is not referenced. You must add a reference to assembly 'Alachisoft.NCache.Web, Version=4.9.0.0, Culture=neutral, PublicKeyToken=cff5926ed6a53769'
In a classic .net framework, everything works flawlessly.
The workaround is to add DLL from sample application that going with Ncache: "%NCHOME%\samples\dotnetcore\NCacheLINQ\NCacheLINQ\lib\Alachisoft.NCache.Linq.dll" to project dependency and with that library, everything starts working. Can u fix this, pls?

  • Test console .net core app:
using System;
using Alachisoft.NCache.Web.Caching;
using Alachisoft.NCache.Linq;
using System.Linq;

namespace ConsoleAppCoreNCache
{
    class Program
    {
        static void Main(string[] args)
        {
            var cache = NCache.InitializeCache("myCache");
            cache.Clear();

            Add(cache);

            var query = new NCacheQuery<TestObject>(cache);

            var results = query.Where(x => x.OddFlag == true);

            foreach(var result in results)
            {
                Console.WriteLine($"Odd number: {result.Number}");
            }

            Console.WriteLine("Press any key...");
            Console.ReadKey();
        }

        static void Add(Cache cache)
        {
            for (int i = 0; i < 20; i++)
            {
                var key = $"{i}";

                cache.Insert(key,
                    new TestObject
                    {
                        Id = key,
                        Number = i,
                        OddFlag = i % 2 == 0 ? false : true
                    });
            }
        }
    }

    [Serializable]
    public class TestObject
    {
        public string Id { get; set; }
        public int Number { get; set; }
        public bool OddFlag { get; set; }
    }
}
  • config.ncconf:
 <query-class id="ConsoleAppCoreNCache.TestObject" name="ConsoleAppCoreNCache.TestObject">
            <query-attributes id="Id" name="Id" data-type="System.String"/>
            <query-attributes id="Number" name="Number" data-type="System.Int32"/>
            <query-attributes id="OddFlag" name="OddFlag" data-type="System.Boolean"/
</query-class>

NCache cann´t be installed on AWS virtual Machine. Please use "NCache OpenSource" AWS Image.

Hi, when trying to install SP3 on a virtual machine on AWS and I got the following message:

NCache cann´t be installed on AWS virtual Machine. Please use "NCache OpenSource" AWS Image.

I then used the SP2 version successfully. I looked for this AWS Image and found nothing. Does anyone have any idea what's going on? Will I no longer be able to install on a VM on AWS? Thank you very much for any help.

Alachisoft.NCache.Runtime.Exceptions.OperationFailedException: 'Object reference not set to an instance of an object.'

I hope everyone is doing well. I have the following problem:

Exception:
Alachisoft.NCache.Runtime.Exceptions.OperationFailedException: 'Object reference not set to an instance of an object.'
at Alachisoft.NCache.Client.Broker.RetrySendCommand(CommandBase command)
at Alachisoft.NCache.Client.Broker.ExecuteRequest(Request request, Connection connection, Boolean checkConnected, Boolean waitForResponse)
at Alachisoft.NCache.Client.RemoteCache.RegisterNotifications(NotificationsType notifMask, Connection connection)
at Alachisoft.NCache.Client.Broker.ConnectRemoteServer(Connection connection, IPAddress addr, Int32 port, Boolean balanceNodes, Boolean importHashmap, Boolean registerNotifs, Exception& exception)
at Alachisoft.NCache.Client.Broker.ConnectRemoteServer(Connection connection, ServerInfo server, Boolean registerNotifs)
at Alachisoft.NCache.Client.Broker.StartServices(String cacheId, String server, Int32 port)
at Alachisoft.NCache.Client.RemoteCache..ctor(String cacheId, Cache parent, CacheConnectionOptions cacheConnectionOptions, StatisticsCounter perfStatsCol)
at Alachisoft.NCache.Client.CacheManager.GetCacheInternal(String cacheName, CacheConnectionOptions cacheConnectionOptions)
at Alachisoft.NCache.Client.CacheManager.GetCache(String cacheName, CacheConnectionOptions cacheConnectionOptions)

Client version: 5.0.5 (.NET 5) Open source
Server version: 5.0.4.0 Open source

Does the Fluent NHibernate provider work?

In the NHibernate integration source, I noticed there is a file called NCacheProvider.cs that implements ICacheProvider. However the class is internal, not public, and all of the NCache examples and documentation use XML configurations. If modified to be public, will the NCacheProvider class serve as a cache provider for Fluent configurations?

Is NCache Express the same as NCache Open Source?

We are running a somewhat old version of NCache, 4.3.0. The installer says it's NCache Express and it was thought that this version would only run on 2 servers. However, I cannot find any information on NCache Express and was wondering if anyone knew if it was basically the same as NCache Open Source?

We are trying to install a cluster on 3 servers and we are getting all sorts of errors with one of the servers.... either the cluster won't install/start on the third server or it will start but say there's only 1 member in the cluster while the other 2 servers show 2 members.

Unfortunately, the person who brought this product into our enterprise has long since left and no one here knows anything about it. I'm would like to just get NCache 4.4 or higher Open Source and use that, but it will require a full set of regression testing that we do not have resources for at that moment.

Thanks!

Where Is Linq?

The source code does not contain the LINQ samples, nor does it contain the LINQ assembly.

Has this been pulled from the open source version?

NCacheLINQ Sample Fails with Partitioned Cache

I have noticed that when referencing NCache.Linq, InitializeCache fails or hangs when attempting to use a "partitioned" cache. This is reproducible by changing the cache used in the NCacheLINQ sample project from "myCache" to "myPartitionedCache". Simply removing the reference solves the problem (but of course, eliminates the ability to use Linq queries).

I have not found any documentation indicating that NCache Linq can only be used with a "local" cache?

If anyone has a solution for this (using Linq with partitioned cache) or information as to why we cannot use Linq with a partioned cache, kindly let us know.

Thanks.

Unable to cast object of type 'System.Int32' to type 'System.Collections.ArrayList'."

Hi,

We have a replicated cache with 2 nodes, from time to time, we received this error and we aren't able to resolve: "Unable to cast object of type 'System.Int32' to type 'System.Collections.ArrayList'."

The stacktrace:

at Alachisoft.NCache.Web.Command.CommandResponse.ParseResponse()
at Alachisoft.NCache.Web.Caching.RemoteCache.Add(String key, Object value, CacheDependency dependency, CacheSyncDependency syncDependency, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, Int16 removeCallback, Int16 updateCallback, Int16 dsItemAddedCallback, Boolean isResyncExpiredItems, String group, String subGroup, Hashtable queryInfo, BitSet flagMap, String providerName, String resyncProviderName, EventDataFilter updateCallbackFilter, EventDataFilter removeCallabackFilter, Int64 size, String clientId)
   at Alachisoft.NCache.Web.Caching.Cache.AddOperation(String key, Object value, CacheDependency dependency, CacheSyncDependency syncDependency, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, DSWriteOption dsWriteOption, CacheItemRemovedCallback onRemoveCallback, CacheItemUpdatedCallback onUpdateCallback, DataSourceItemsAddedCallback onDataSourceItemAdded, Boolean isResyncExpiredItems, String group, String subGroup, Tag[] tags, String providerName, String resyncProviderName, NamedTagsDictionary namedTags, CacheDataNotificationCallback cacheItemUdpatedCallback, CacheDataNotificationCallback cacheItemRemovedCallaback, EventDataFilter itemUpdateDataFilter, EventDataFilter itemRemovedDataFilter, Int64&amp; size, Boolean allowQueryTags, String clientId, Int16 updateCallbackID, Int16 removeCallbackID, Int16 dsItemAddedCallbackID)
   at Alachisoft.NCache.Web.Caching.Cache.Add(String key, CacheItem item, DSWriteOption dsWriteOption, DataSourceItemsAddedCallback onDataSourceItemAdded)
   at Alachisoft.NCache.Web.Caching.Cache.Add(String key, CacheItem item)

In the log files we see:

...received response for request 118849, sender=<IP_Server_1>:7800, val=System.Byte[]
...received response for request 118849, sender=<IP_Server_2>:7800, val=Alachisoft.NCache.Common.DataStructures.Clustered.ClusteredArrayList

How can we resolve this problem?

Cannot install Alachisoft.NCache.Community.EFCore in an ASP.NET Core 2.2 application

I am trying to install Alachisoft.NCache.Community.EFCore in an ASP.NET Core 2.2 application and I have a dependency issue:

Install-Package Alachisoft.NCache.Community.EFCore –Version 4.9.0

Restoring packages for ...
Installing System.Management.Automation.dll 10.0.10586.0.
Installing Mono.Cecil 0.9.6.4.
Installing Alachisoft.NCache.Community.SDK 4.9.0.
Installing Alachisoft.NCache.Community.EFCore 4.9.0.
NU1608: Detected package version outside of dependency constraint: Alachisoft.NCache.Community.SDK 4.9.0 requires System.Data.SqlClient (= 4.4.0) but version System.Data.SqlClient 4.6.0 was resolved.
NU1701: Package 'Mono.Cecil 0.9.6.4' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.
NU1701: Package 'System.Management.Automation.dll 10.0.10586' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.

.csproj data that might be relevant:

<TargetFramework>netcoreapp2.2</TargetFramework>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.2.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.4" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.2.4">

How can I fix this issue?

Thank you.

Backing source not available. Verify backing source settings.

Hi,
I have configured the back source node in config.ncconfig as below:
<configuration>
<cache-config cache-name="TestCacheName">
...
<backing-source>
<read-thru enable-read-thru="True">
<provider provider-name="sqlreadthruprovider" assembly-name="BackingSource.Providers.Sql, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" class-name="Alachisoft.NCache.Samples.Providers.SqlReadThruProvider" full-name="BackingSource.Providers.Sql.dll" default-provider="False">
<parameters name="connstring" value="Data Source=localhost;Database=northwind;User Id=admin;password=xxxxxxxx;"/>
</provider>
</read-thru>
</backing-source>
</cache-config>
</configuration>

And deploy the read through provider under NCache/deploy/TestCacheName folder.
But the read through is not working: error is Backing source not available. Verify backing source settings.

Does anyone know how to make Read through work with open source edition?

[Question] Confused about running an InProc through a web application

Hi,

I am trying to run NCache through a web application using an InProc cache mode. In this configuration, I don't see a need for the NCache Server portion (happy to be enlightened here). However, I simply can't get this to work.

I have tried using the CacheInitParams, but no matter what I try, it only works when there is an NCache Server present.

This is in contrast to my unit tests, where I simply put a config.ncconf file in the project and it works exactly how I would expect with no server running.

  1. Is what I'm trying to achieve possible?
  2. If so, how?

thanks

Error on Get<T>: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0"

When calling to CacheManager.GetCache("mochPartitionedCache").Get<T>(key) I'm getting this exception:

System.IO.FileLoadException HResult=0x80131040 Message=Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source=Alachisoft.NCache.Client StackTrace: at Alachisoft.NCache.Client.RemoteCache.SafeDeserialize[T](Object serializedObject, String serializationContext, BitSet flag, CacheImplBase cacheImpl, UserObjectType userObjectType) at Alachisoft.NCache.Client.Cache.SafeDeserialize[T](Object serializedObject, String serializationContext, BitSet flag, UserObjectType userObjectType) at Alachisoft.NCache.Client.Cache.GetInternal[T](String key, String group, String subGroup, LockAccessType accessType, TimeSpan lockTimeout, LockHandle& lockHandle) at Alachisoft.NCache.Client.Cache.Get[T](String key) at Ness.Diyur.Cache.DistributedCacheManager.Get[T](String key) in D:\DevProjects\Ness.Diyur.ESB\Ness.Diyur.Cache\DistributedCacheManager.cs:line 20 at DiyurESB.ServerTest.InfrastructureTests.DistributedCacheTest() in D:\DevProjects\Ness.Diyur.ESB\DiyurESB.ServerTest\InfrastructureTests.cs:line 89
I've installed NCache 5.0.3.1 and the Open Source SDK NuGet package. The NCache service is running.
and the Add and Insert method's are working well.

I'm using Newton.Json 12.0.3 for another needed.

What the problem?
Thanks for help

Entity Framework 6 Query caching

Hi,

I am unable to find objects in ncache libraries to establish caching for Entity Framework queries (so called 2nd level caching). The documentation mention of query to be defined in configurations files for entity framework caching but I will need to do this in code rather than static config files. secondly, some of my queries are built dynamically for example - search screens to build queries based on parameters supplied by the user but I just can not find any code sample to apply caching on such scenarios also.
any help wil be greatly appreciated.

NCacheDistributedCache constructor is requesting NCacheSessionConfiguration but only NCacheConfiguration is setup.

In order to use NCache as distributed cache in ASP.NET Core, one would have the following code in
ConfigureService() of Startup.cs.

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddNCacheDistributedCache(Configuration.GetSection("NCache"));
    }
}

Looking at the source codes of AddNCacheDistributedCache(), it's setting up the configuration NCacheConfiguration.
image

However, the constructor of NCacheDistributedCache is requesting for NCacheSessionConfiguration, and not NCacheConfiguration.
image

Since the configuration NCacheSessionConfiguration was never setup, I always receive the exception A valid Cache ID has not been specified.
Is there something that I'm missing?

Write-Behind Provider

Hello,

I have been working with the open source NCache for about a week and so far I like it a lot! One of the features I want to use is the write-behind provider. I wrote a simple one to test with, but today I have run into a roadblock. The WriteOperation array that is passed to my WriteToDataSource method has a strange Value.

This code below prints System.Byte[] as the type of the cache value. Also, the bytes within the byte array look like they are my object as it would appear if serialized by the BinaryFormatter but deserializing fails with an error: Binary stream '0' does not contain a valid BinaryHeader.

All the examples I can find are showing that I can just cast the ProviderCacheItem.Value to the type of object I wrote into the cache. Here is one example: http://www.alachisoft.com/resources/docs/ncache/prog-guide/configure-write-through-provider.html

Thanks for any help that anyone can offer!

public OperationResult[] WriteToDataSource(WriteOperation[] operations)
{
    foreach (WriteOperation operation in operations)
    {
        object value = operation.ProviderCacheItem.Value;
        string valueTypeAsString = value.GetType().ToString();
        WriteToLogFile($"value object type: [{valueTypeAsString}]");
    }
}

Initialization Error: CacheServerModerator threw an exception

We recently needed to upgrade our NCache version from 4.3 Express to 4.4 Open Source. After doing this, we are receiving an error when our application tries to check the health of the cache...

var cacheHealth = CacheManager.GetCacheHealth(cacheName);

This method call gives the following error:
Message: An error has occurred.
ExceptionMessage: The type initializer for 'Alachisoft.NCache.Management.CacheConfigManager' threw an exception.
ExceptionType: System.TypeInitializationException
StackTrace: at Alachisoft.NCache.Management.ServiceControl.NCacheRPCService..ctor(String server)
at Alachisoft.NCache.Management.CacheServerModerator..cctor()
InnerException: {
Message: An error has occurred.
ExceptionMessage: Missing installation folder information: ROOTKEY= Software\Alachisoft\NCache
ExceptionType: Alachisoft.NCache.Runtime.Exceptions.ManagementException
StackTrace: at Alachisoft.NCache.Management.CacheConfigManager.ScanConfiguration()
at Alachisoft.NCache.Management.CacheConfigManager..cctor()
}
}

The \HKEY_LOCAL_MACHINE\Software\Alachisoft\NCache registry key looks correct:
(Default)/REG_SZ/(value not set)
DotNetInstallMode/REG_SZ/5
Http.Port/REG_DWORD/0x0000203b (8251)
InstallDir/REG_SZ/C:\Program Files\NCache
Platform/REG_SZ/x64
Tcp.Port/REG_DWORD/0x0000203a (8250)

Any idea what may cause this error?

Thank you!

AddNCacheSession does not work on .net 5.0

The Alachisoft.NCache.CoreSessionStoreProvider does not work on .net 5.0.

If you try the GuessGame.NetCore sample app on .net core 2.2 it works fine, but if we migrate it to .net 5.0 it stops working, HttpContext.Session is null and the previously saved values ​​cannot be obtained.

Help me please!

CacheItemVersion has internal Constructors

The CacheItemVersion has internal constructors making it impossible for developers to store the item version value without either making a dependency on NCache CacheItemVersion object or storing the value as an object and then casting it back to a CacheItemVersion when needed. Please make the constructors public or I would be happy to make a merge request for the change.

MachineName is invalid when using localhost

I'm using 127.0.0.1 as the ip for NCache server.
The NCache service starts but then when I try to run "listcaches.exe", I get this error:

Alachisoft (R) NCache Utility ListCaches. Version 4.6 SP3
Copyright (C) Alachisoft 2017. All rights reserved.

Error: MachineName value is invalid.

Alachisoft.NCache.Runtime.Exceptions.ManagementException: MachineName value is invalid. ---> System.ArgumentException: MachineName value is invalid.
at System.ServiceProcess.ServiceController..ctor(String name, String machineName)
at Alachisoft.NCache.ServiceControl.ServiceControl..ctor(String machine, String service)
at Alachisoft.NCache.ServiceControl.ServiceBase.Start(TimeSpan timeout, String service)
--- End of inner exception stack trace ---
at Alachisoft.NCache.ServiceControl.ServiceBase.Start(TimeSpan timeout, String service)
at Alachisoft.NCache.ServiceControl.CacheService.Start(TimeSpan timeout)
at Alachisoft.NCache.Management.ServiceControl.RPCService.TryIntializeServer(TimeSpan timeout)
at Alachisoft.NCache.Management.ServiceControl.RPCService.GetCacheServer(TimeSpan timeout)
at Alachisoft.NCache.Tools.ListCaches.ListCachesTool.Run(String[] args)

Configuration Error

Just installed Install-Package Alachisoft.NCache.SDK -Version 4.9.1

And followed all the steps mentioned here http://www.alachisoft.com/resources/docs/ncache/prog-guide/content-optimization-ncache.html

Could not load file or assembly 'Alachisoft.NCache.Adapters, Version=4.9.1.0, Culture=neutral, PublicKeyToken=1448e8d1123e9096' or one of its dependencies. The system cannot find the file specified.

Please help, currently I am using ViewStateOptimizer 1.0.2 but the disadvantage is it is storing on disk and I want to limit I/O and make use of Memory as the server I am using has 288GB RAM out of which I am just using 20GB.

help text for the clearcache tool in our install is incomplete

version:
Alachisoft (R) NCache Utility ClearCache. Version 4.4.0.0
Copyright (C) Alachisoft 2015. All rights reserved.

When I run clearcache.exe /? in a command window the only options I get back are for /G and /? as seen below:

Usage: clearcache cache-id [option[...]].

Argument:
 cache-id
    Specifies the id of the cache.

Option:

 /G /nologo
    Suppresses display of the logo banner.

 /?
    Displays a detailed help screen.

According to an answer to a stackoverflow question [http://stackoverflow.com/a/35175597/8151] about forcing the clear without confirmation, I should expect to see more.

NCache Open Source is consuming a tremendous amount of memory; way more than what has been set in "cache-size"

I have 4 caches, each with cache_size of 32mb and cluster size of 2. Therefore the total capacity is at 64mb for each cache. Please refer to the screenshot below.

image

However, after a certain period of time (even at idle - no activities (insert into cache) have been taken place since the caches were started), the memory consumption of the caches will climb to a point exceeding way much more than what I have capped. Averaging to 1gb per cache. Please refer to the screenshot below.

image

My server constantly reports "Insufficient Memory" for my other web server activities. Why is NCache taking up so much memory? The caches are on a staging server, therefore there aren't any activities taking place during the weekend and yet the consumption climbs to an alarming and worrying degree.

Error on InitializeCache, problems getting started

When calling NCache.InitializeCache("myCacheName") in my ASP.NET project I'm getting this exception:

An error occurred while reading client.ncconf. The type initializer for 'Alachisoft.NCache.Common.AppUtil' threw an exception.

Stack trace:

Alachisoft.NCache.Web.RemoteClient.Config.ClientConfiguration.LoadConfiguration() +4707
   Alachisoft.NCache.Web.Communication.Broker.TryNextServer() +1568
   Alachisoft.NCache.Web.Communication.Broker.StartServices(String cacheId, String server, Int32 port) +2212
   Alachisoft.NCache.Web.Caching.RemoteCache..ctor(String cacheId, Cache parent, CacheInitParams initParams, PerfStatsCollector2 perfStatsCol) +476
   Alachisoft.NCache.Web.Caching.NCache.InitializeCacheInternal(String cacheId, CacheInitParams initParams) +2484
   Alachisoft.NCache.Web.Caching.NCache.InitializeCache(String cacheId, CacheInitParams initParams) +63
   Alachisoft.NCache.Web.Caching.NCache.InitializeCache(String cacheId) +85

I've installed NCache 4.6.3 and the Open Source SDK NuGet package. The NCache service is running. listcaches shows I have a local cache running. I've tried editing permissions on client.ncconf to allow anyone to read/modify, both on the config file at the root of my web project and in the NCache installation folder. I've tried using the inproc cache "myCache" that is mentioned in the readme.txt that comes with the NuGet package too, but I keep getting the same error.

What am I missing?

Cannot start service at setup. Setup failed

I've downloaded latest version of ncache open source edition and is failing to complete installation process.
The issue is caused by service cannot be started during setup. Event Viewer display some errors related to NCacheSvc, such as:

No se puede iniciar el servicio. System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
en Alachisoft.NCache.SocketServer.ServiceHost.Start(String[] args)
en System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

Provide implementation of AddDataProtection for NCache

NCache doesn't respect sliding expiration when you get items by tags

It appears that NCache evicts CacheItem objects without proper regard for the SlidingExpiration property, perhaps when accessing said objects is only by OQL or the Tag based lookup methods, such as GetByAllTags().

The following code is responsible for inserting the CacheItem with a SlidingExpiration property.

        CacheItem cacheItem = new CacheItem(model)
        {
            Tags = new[]
            {
                new Tag(WalletTransactionKeyName),
                new Tag(TagOwnerId(model.OwnerId)),
            },
            SlidingExpiration = TimeSpan.FromDays(30),
            Priority = CacheItemPriority.Default
        };

        Cache.Insert(BuildCacheKey(WalletTransactionKeyName, model.TransactionId), cacheItem);

The following code is responsible for accessing the objects using a Tag lookup method, which is also the only other method that touches this CacheItem object.

        Hashtable results = Cache.GetByAllTags(
            new[]
            {
                new Tag(WalletTransactionKeyName),
                new Tag(TagOwnerId(ownerId))
            });

        if (results.Count == 0)
        {
            return new List<WalletTransactionModel>();
        }

        List<WalletTransactionModel> transactions = new List<WalletTransactionModel>(results.Count);
        foreach (DictionaryEntry entry in results)
        {
            WalletTransactionModel transaction = entry.Value as WalletTransactionModel;
            if (transaction == null)
            {
                continue;
            }

            transactions.Add(transaction);
        }

        transactions = transactions.OrderByDescending(t => t.TransactionDateTime).ToList();

        return transactions;

It is expected that the transaction CacheItem would live in the Cache for a duration of at least 30-days since the last time it was accessed, however, it appears to be evicted sometime within a 12-hour window.

Item Removed Immediately after Addition into Cache when I use SqlCacheDependency

We are trying to implement SqlCacheDependency and while adding the dependency through Stored Procedure it remove the object immediately after adding it to cache.It gives CacheItemRemovedReason as 4.

It shows the same behavior if we select all columns of a table (using * instead of using columns name) for query that selects the data on which the key is dependent, it start popping item out of cache immediately after inserting.

We have used the Database Synchronization sample provided in mentioned below link.

http://www.alachisoft.com/resources/samples/

SQL Server Version : Microsoft SQL Server 2008 R2 (SP2)

Alachisoft Edition : Enterprise Trial Version

Alachisoft SDK version : 4.9.1.1

Roadmap

Not updates in 2016, and 2017 ? which is the roadmap ?

You can use WMI to query the number of active sessions in a an application. ?

Please remove CheckAndInitializeCache() call in the NCacheDistributedCache ctor

Presently, one has to make a very bad choice when using NCache in .Net Core 3.1 as the backing object for IDistributedCache. Either set NCacheConfiguration.ExceptionsEnabled = false and have your web application lose all ability to detect, report, and handle when the cache has problems, XOR set that to true and risk the web application completely failing to start if there's any sort of problem with the cache during initialization.

Right now, any number of race conditions or temporary situations can cause the entire application to fail after a reboot or an AppDomain recycle. (NCache is still starting up, network cable unplugged, NCache on a different machine that is still rebooting, etc.)

NCacheDistributedCache calls CheckAndInitializeCache() at every Get/Set, so there's no loss.

[Question] Best practices for dynamic cluster scaling and load balancing

In a very high transaction volume environment, are there best practices for dynamic scaling (adding or removing cluster nodes) to the NCache cluster based on a combination of either requests per second or cache event latency?

We have had instances where having 10 large static nodes still cause performance issues, mostly because highly accessed items would all be on the same node. Not sure what a remedy would be for this issue if anything

Aside from that, it would be ideal if there was a way to dynamically scale out nodes, maintaining full uptime (without incurring state transfer errors or disconnects on cache operations) when scaling out. In past versions, there would always be application issues when adding nodes and it would cause clients to disconnect and cache operations to fail.

Net Core 2.1

Can the nuget package Alachisoft.NCache.SessionServices be used with a netcoreapp2.1 project?

Cache events are not reliable

Hello,

I'm having trouble migrating ncache to version 5.0.0 SP2. I specifically have issues with cache events, please confirm if the following remarks are correct:

  1. ItemAdded event is not working
  2. ItemUpdated event is only working for cache items which are already cached before calling MessagingService.RegisterCacheNotification
  3. If you remove an item (by removing or clearing cache), it's events are lost. If you add the item with the same key again, you have to call cache.MessagingService.RegisterCacheNotification again, otherwise the event doesn't fire.
  4. Even for the items which are in cache before calling MessagingService.RegisterCacheNotification, ItemUpdated event sometimes works, sometimes doesn't, cannot determine when exactly it stops working yet, looks like it's enough to just wait a few minutes and do nothing, and then it stops working.

My application has multiple cache clients, they all are using myreplicatedcache with default settings after installation.

Please confirm the statements number 1-3 are correct and it's the intended behavior, and please suggest what could be causing the events to stop working after a while.

Thank you,
Donatas

Can't connect with remote .Net client

I wrote a simple .Net console client that works fine when running on the ncache server, but when I copy the exe to a different computer and run it, then I get error. Here's the code. Am I doing something wrong? I'm trying to manually connect to the cache server without a config file using the CacheInitParams.

namespace NcacheTest {
    class Program {
        static void Main(string[] args) {
            CacheInitParams config = new CacheInitParams();
            config.BindIP = "x.x.x.x";
            var servers = new List<CacheServerInfo>();
            servers.Add(new CacheServerInfo("x.x.x.x", 9800));
            config.ServerList = servers.ToArray();

            Cache cache = NCache.InitializeCache("mycache", config);

            int counter = 0;
            if(cache.Contains("counter"))
                counter = (int)cache.Get("counter");

            counter++;
            cache.Insert("counter", counter);

            Console.WriteLine(counter);
        }
    }
}

Here's the error:

c:\temp\ncache> dir


    Directory: c:\temp\ncache


Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---         1/13/2015  12:25 PM     221184 Alachisoft.NCache.Web.dll
-a---         1/13/2015  12:25 PM      36864 Alachisoft.NCache.Runtime.dll
-a---         4/30/2015   3:47 PM         93 test.ps1
-a---         1/13/2015  12:25 PM     569344 Alachisoft.NCache.Cache.dll
-a---         1/13/2015  12:25 PM     368640 Alachisoft.NCache.Common.dll
-a---         1/13/2015  12:25 PM     110592 Alachisoft.NCache.Management.dll
-a---          2/3/2015   1:21 AM     134656 protobuf-net.dll
-a---         4/30/2015   4:28 PM        942 client.ncconf
-a---         1/13/2015  12:25 PM      32768 Alachisoft.NCache.Parser.dll
-a---         4/30/2015   5:07 PM       5632 NcacheTest.exe
-a---          1/7/2015   4:39 PM       9216 verifylicense.exe
-a---          1/7/2015   4:39 PM      16384 Alachisoft.NCache.Tools.Common.dll


c:\temp\ncache> .\NcacheTest.exe

Unhandled Exception: System.Exception: Invalid bind-ip-address specified in client configuration
   at Alachisoft.NCache.Web.Communication.Connection.PrepareToConnect(Socket client)
   at Alachisoft.NCache.Web.Communication.Connection.Connect(IPAddress ipAddress, Int32 port)
   at Alachisoft.NCache.Web.Communication.Broker.ConnectRemoteServer(Connection connection, IPAddress addr, Int32 port,
Boolean balanceNodes, Boolean importHashmap, Boolean registerNotifs, Exception& exception)
   at Alachisoft.NCache.Web.Communication.Broker.ConnectRemoteServer(Connection connection, RemoteServer server, Boolean
 registerNotifs)
   at Alachisoft.NCache.Web.Communication.Broker.StartServices(String cacheId, String server, Int32 port)
   at Alachisoft.NCache.Web.Caching.RemoteCache..ctor(String cacheId, Cache parent, CacheInitParams initParams, PerfStat
sCollector2 perfStatsCol)
   at Alachisoft.NCache.Web.Caching.NCache.InitializeCacheInternal(String cacheId, CacheInitParams initParams)
   at Alachisoft.NCache.Web.Caching.NCache.InitializeCache(String cacheId, CacheInitParams initParams)
   at NcacheTest.Program.Main(String[] args)

Auto-Start feature does not work in Open-Source Version

There is an Auto-Start features for caches that is also documented and inside the samples to start caches on Service restart. It is a tag that can be added to cache-config in the "config.ncconf"-file. The feature does not work! I can't also find it anywhere inside the source code. So it looks like it was removed, but this must be an accident. Maybe someone can tell about that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.