public void Post(Migrate request)
 {
     using (var writer = new StreamWriter(Response.OutputStream) { AutoFlush = true })
     {
         Migrate(writer, request.PreviewOnly, false, request.Version);                
     }
     Response.Close();
 }
        public void Post(Migrate request)
        {
            using (var writer = Response.GetChunkedWriter())
            {
                Migrate(writer, request.PreviewOnly, false, request.Version, request.ConnectionString);
            }

            Response.Close();
        }