This pull request includes changes to the samples directory that remove the use of Docker and Redis, and simplify the backend codebase. The most significant changes are the removal of Docker-related files, the replacement of Redis with an in-memory store, and the update of package dependencies.
Removal of Docker:
samples/.devcontainer/Dockerfile: Removed the Dockerfile which was used to set up a development environment in a Docker container.
This pull request includes changes to the
samples
directory that remove the use of Docker and Redis, and simplify the backend codebase. The most significant changes are the removal of Docker-related files, the replacement of Redis with an in-memory store, and the update of package dependencies.Removal of Docker:
samples/.devcontainer/Dockerfile
: Removed the Dockerfile which was used to set up a development environment in a Docker container.samples/.devcontainer/devcontainer.json
: Removed the devcontainer.json file which was used to configure the Docker container.samples/.devcontainer/docker-compose.yaml
: Removed the docker-compose.yaml file which was used to define and run multi-container Docker applications.Replacement of Redis with an in-memory store:
samples/backend/csharp/Program.cs
: Removed the use of Redis and added a singleton in-memory store. [1] [2]samples/backend/csharp/Services/SemanticKernelApp.cs
: Replaced instances ofIDistributedCache
withIStateStore<string>
to use the in-memory store instead of Redis. [1] [2] [3] [4] [5] [6]samples/backend/csharp/Services/InMemoryStore.cs
: Added a new file to implement the in-memory store.samples/backend/js/expressjs/.env
: Removed the Redis URL from the environment variables.samples/backend/js/expressjs/package-lock.json
: Removed Redis dependencies. [1] [2] [3] [4] [5] [6]Update of package dependencies:
samples/backend/csharp/ChatProtocolBackend.csproj
: Removed unused package references.samples/backend/js/expressjs/package-lock.json
: Updated several package dependencies. [1] [2] [3] [4] [5] [6]