Taswar Bhatti
The synonyms of software simplicity
Tag: .net
Taswar Bhatti Xamarin Dev Days

Last week I did a presentation on Xamarin Dev Days here in Ottawa, the presentation was on Introduction to Xamarin, unfortunately my demo did not work, the demo gods were not with me that day 🙁 The demo code uses Microsoft Cognitive Service Bing Search to search for images to display on a mobile phone. […]

Redis

Redis provides a way to use Pipeline Batching to send messages to Redis but first we must understand that Redis uses tcp request response protocol, some may know it as client server model. If you are coming from a web http world, you will have no issue understanding client server, where the browser acts like […]

Redis

Redis Pub Sub, somehow may sound weird that it provides such a functionality since when you think of Redis the first thing that comes to mind is of a cache key value store. But indeed Redis does allow us to use the messaging paradigm by using channels to publish messages and for subscribers to listen […]

Docker for .NET Developers

Docker for .NET Developers Last week I was presenting at the Ottawa IT User Group for .NET Developers on Docker for .NET Developers. We covered what docker is, how it fits into microservices, overview of using docker as a .NET Developer etc Topics that we covered were What is Docker Images and Containers Docker vs […]

Redis

Redis HyperLogLog is used for calculating the cardinality of a set or non mathematically speaking it is a probabilistic data structure used to count unique values. Basically it is an algorithm that use randomization such that it can provide an approximation of the number of unique elements in a set by just using a constant […]

jwt-token

Json Web Token JWT have performance overhead? I wanted to find out if using jwt token during authentication of a web application creates any performance issue. But what are Jwt Tokens you may ask? JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information […]

Redis

Redis List Datatype are similar in C# world as LinkeList e.g LinkedList. Just like in LinkedList in C#, Redis can store items at Head or Tail of a List. The nice thing about them is that the insertion speed is just O(1), but do note that if you have a large list, the reading speed […]

Redis

I wanted to cover some security aspect of Redis, using Redis Password feature. Redis uses config file to provide a password for it. The config file is usually located at /etc/redis/redis.conf if you are using linux. Look for the SECURITY section.

If you are using docker you can set the option when you start […]

Redis

Continuing on with our Redis for .NET Developer, the Redis String Datatype is also used to store integers, float and other utility commands to manipulate strings. Redis String Datatype using Integers In Redis float and integers are represented by string. Redis parses the string value as an integer and the neat thing about them is […]

Redis

In the second blog post series “Redis for .NET Developer” I will show how we will use C# to connect to Redis. We will be using StackExchange.Redis library to connect to Redis. One can download StackExchange. Redis through NuGet. StackExchange.Redis is a high performance general purpose redis client for .NET languages (C# etc). 1. Let’s […]

UA-4524639-2