ASP.NET MVC 1.0: OutputCache, RenderPartial and WriteSubstitution

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2010-03-20T10:00:57Z Indexed on 2010/03/20 10:11 UTC
Read the original article Hit count: 592

Hi folks,

after digging into this topic and having the requirement, that a single page should be totally cached, except for a

Html.RenderPartial("LogOnUserControl");

i couldn't find any working solution on this... the only "it getting warmer" thing i foudn was this solution , which unfortunately is not working with a "partial view", which requires the

Request.IsAuthenticated

attribute ( the fakeContext is losing this info )

Have you heard of any other solution to do this?!

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about outputcache