Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. Lets install redis server in docker. Beauty of docker is that without installation of actual software, you can install it in docker and can access those application. Lets create a simple example and divide it in two parts.
Read MoreCategory: Open source
Grpc example in c#
Lets follow below steps to create simple Grpc service in C#. This service will have a simple method called “Reverse” which will take one string parameter and return reverse of that string. This example contains proto file also. I would recommend you to please go through this post if you don’t know about protobuf. This example is divided in two parts. 1. Service and 2. Consumer.
Read Moreprotobuf in C#
Protobuf is used to serialized data structure efficiently. It is faster, smaller & simpler than XML. Protobuf is useful in developing programs to communicate with each other over a wire and it is created by Google. It help us in creating micro services. Protobuf is not an object oriented language so it does not support feature like inheritance. We need to define our data structure once and then we need to use auto generated code which will be used for read and write data to different sources. Protobuf is available in all programming languages like Go, python, C#, Java etc.
Read More