Using ASP.NET Session State Provider with Azure Redis Cache

One of the possible configurations of the ASP.NET Session State Provider is using Azure Redis Cache. The steps to follow are editing the web.config file,  creating the session helper class and customization of the ASP.NET Identity SignInManager. The web.config configuration is very simple: Then, the next step is implement the session helper class that contains … Continue reading Using ASP.NET Session State Provider with Azure Redis Cache

Improve performance of a recursive method with Redis

Recursive method are very useful to process for example, parent/child relations and build organization trees. But for complex trees is very frequently to encounter performance problems, specially if the tree is build for every request. In my case, the hierarchical tree is composed on two sql table (node and relations); the problem was that with a large … Continue reading Improve performance of a recursive method with Redis