11
Currently using asp.net mvc 3 VS 2010. Just installed VS 2013 and now our custom filter is not working. When the page is rendered it just displays a blank page. The filter has data and writes it out but something in the chaining process is not working.
var response = filterContext.HttpContext.Response;
response.Filter = new MappingResponse(response.Filter);
In visual studio 2010 the filter is System.Web.HttpResponseStreamFilterSink.
In visual studio 2013 the filter is Microsoft.VisualStudio.Web.PageInspector.Runtime.Tracing.ArteryFilter
Cannot even find that class in the docs. It seems like it is not chaining the Write method when I call the stream class.
This is the actual code where I write out the stream
var responseBuffer = UTF8Encoding.UTF8.GetBytes( htmlPage );
responseStream.Write( responseBuffer, 0, responseBuffer.Length );