Why is my substitution control suddenly not working in ASP.NET 4.0?

Posted by Steve Wortham on Stack Overflow See other posts from Stack Overflow or by Steve Wortham
Published on 2010-04-18T02:50:00Z Indexed on 2010/04/18 2:53 UTC
Read the original article Hit count: 241

I just upgraded my site from ASP.NET 3.5 to 4.0. I've been working through some breaking changes (there were more than I expected).

One I can't figure out, however, is why my <asp:Substitution /> control suddenly stopped working like it should. It's supposed to ignore the output cache settings of the parent page and update upon every request. For some reason that isn't happening. It's caching for the full 10 minutes (the OutputCache setting for my home page). Any ideas?

© Stack Overflow or respective owner

Related posts about asp.net-4.0

Related posts about asp.net-mvc-2