wp to buffer for appdotnet