Last post Oct 13, 2011 06:44 AM by Mizokunimito
Oct 13, 2011 06:29 AM|Mizokunimito|LINK
I write a module to replace some stuff on different resources (.aspx,css,js and so on), something like that
Basically I rewrite some url in a different form, it works fine in the most situations, but since the re-write process is buffered some url are broken halfway between two buffers.
In the link the author has solved the problem appending buffer on StringBuilder and looking for ASPx eof that of course is rappresents by "</html>".
In my case working with different resource type I can't make the same approach.
So any suggestion is widely appreciated, or some hack too, for example how to increase the buffer size....
Oct 13, 2011 06:44 AM|Mizokunimito|LINK
I've found from myself.
You can handle overridable Close method to incercept when a resource writing is terminated.