Category – ASP.NET
3 posts tagged with "ASP.NET" (See all categories)

WWEB API and Serializable

10/19/20161 Min Read — In ASP.NET, WEB API

Recently I was working on a solution that needed to make use of Redis to cache expensive calculated results to increase performance. We added the dependency to Redis and marked the desired classes with the Serializable attribute to satisfy our cache layer requirement. However, an unintended…

CCustom Status Code for JSON using MVC on Azure

08/25/20161 Min Read — In ASP.NET, MVC

Recently I was tinkering with a MVC side project hosted on Azure and I ran into a curious scenario where my custom JSON errors were not returning properly. When appending a custom status code for JSON using MVC on Azure I was receiving responses in plain text/html when this exact solution worked…

AASP.NET Session State Blocking AJAX Requests

05/20/20161 Min Read — In ASP.NET, MVC

A copy of my demo application can be found on GitHub Last week one of my colleagues noticed some strange behavior in our MVC layer that was causing otherwise asynchronous AJAX calls to run synchronously. At first observation we assumed it must be a bug in how our MVC layer is communicating with our…