This repository has been archived by the owner. It is now read-only.
No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
.vscode First project. Dec 13, 2016
Properties First project. Dec 13, 2016
.gitignore First project. Dec 13, 2016
Dockerfile First project. Dec 13, 2016
LICENSE Initial commit Dec 13, 2016
Program.cs First project. Dec 13, 2016
README.md Update README.md May 1, 2017
Startup.cs Retrieve redis session service name from env var. Apr 29, 2017
project.json First project. Dec 13, 2016
web.config First project. Dec 13, 2016

README.md

Redis for HTTP session storage example

See my blog post for the detail.

How to set up on OpenShift

$ oc import-image my-rhscl/redis-32-rhel7 --from=registry.access.redhat.com/rhscl/redis-32-rhel7 -n openshift --confirm
$ export REDIS_NAME=redis-session
$ oc new-app redis-32-rhel7:latest --name=$REDIS_NAME
$ oc new-app dotnetcore-11-rhel7~https://github.com/tanaka-takayoshi/aspnetcore-redis-session-example.git --env=REDIS_SESSION_SERVICE_NAME=$REDIS_NAME --name=aspnetcore-sessionexample