I need to send response of binary data(file) as JSON response in ASP.NET(IIS7) application and I use JsonObject object from System.Net.Json(comes with .NET 4.x) for that. Unfortunately sometimes I get out of memory exception.I need to send response of binary data(file) as