Whole page replacement

One of our plugins requires the widget rending pipeline, but we remove the headers and footers of the page so just the content is displayed.  This was done previously using a IHttpFilter and in .net10 we would use some middleware. Can you think of a solution that would work in the new platform? 

Parents
  • Reflecting to modify the underlying stream is not going to be supported either.   What is the specific use case for this and can you provide examples?  Is there a reason you cannot define your custom url as a new route with a definition that omits headers, etc?  This is how oauth authorization works, it's a page route that's page definition only defines a content region.   This is the way the platform wants rendering to occur, modifying the rendering via code is not intended and can break core functionality

Reply
  • Reflecting to modify the underlying stream is not going to be supported either.   What is the specific use case for this and can you provide examples?  Is there a reason you cannot define your custom url as a new route with a definition that omits headers, etc?  This is how oauth authorization works, it's a page route that's page definition only defines a content region.   This is the way the platform wants rendering to occur, modifying the rendering via code is not intended and can break core functionality

Children