.EnableBuffering in a WebApplicationFactory/TestHost context (within our XUnit test) and it seems like it's not possible.AsyncStreamWrapper object, we have a middleware that is using EnablebBuffering for particular route where we need to read the content multiple time to perform action in a middleware (I can give more context on this if required).EnableBuffering..Seek against a AsyncStreamWrapper, we tried to just convert this into a MemoryStream which was OK for this but we ended up having our middleware/handler not called because we read the body content one time when copy from AsyncStreamWrapper to MemoryStream.