Hello!
Im using the docker image opensource-server-5.0.4 from your dockerhub and Im extending it by my own dockerfile to load my config into the container.
# Setting base image for NCache.
FROM alachisoft/ncache:opensource-server-5.0.4 as ncache
RUN dir
# Entry point for the container, once all the required configurations have been made.
ADD configs .
RUN xcopy /s client.ncconf "C:\\Program Files\\NCache\\config" /Y
RUN xcopy /s config.ncconf "C:\\Program Files\\NCache\\config" /Y
CMD start -Verbose
When starting the env the ncache server starts correctly and i can see output for Get-NCacheVersion
Get-NCacheVersion
Alachisoft (R) NCache Utility Get-NCacheVersion Cmdlet. Version NCache Open Source 5.0 SP4
Copyright (C) Alachisoft 2020. All rights reserved.
After warmup and loaded the following error appears:
ProviderException: Configuration Error: Could not load type 'ProtoBuf.Serializers.Pooling.BufferPoolBase1' from assembly 'protobuf-net, Version=2.4.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'.`
Hello! Im using the docker image opensource-server-5.0.4 from your dockerhub and Im extending it by my own dockerfile to load my config into the container.
Its assembled into an docker-compose env. bound to the host
ncachestore
my Web-Application (.net 6, using nuget package NCache.Microsoft.Extensions.Caching.OpenSource/5.0.4.1) is linked to it.My configs look like that:
config.ncconf
client.ncconf
Usage in my webaplication:
Startup.cs - NET 6 (.net core)
When starting the env the ncache server starts correctly and i can see output for Get-NCacheVersion
After warmup and loaded the following error appears:
ProviderException: Configuration Error: Could not load type 'ProtoBuf.Serializers.Pooling.BufferPoolBase
1' from assembly 'protobuf-net, Version=2.4.0.0, Culture=neutral, PublicKeyToken=257b51d87d2e4d67'.`I found an other issue regarding this error but it was closed since no activity of the info the creator needed to provide (https://github.com/Alachisoft/NCache/issues/52)