public override void Write(byte[] buffer, int offset, int count) { var html = Encoding.UTF8.GetString(buffer); html = this.ReplaceBundleUrls(html); buffer = Encoding.UTF8.GetBytes(html); this.response.Write(buffer, offset, buffer.Length); }