As I?m sure you know, we developers are very particular people and we like to have things exactly our way. How else can you explain long winded impassioned debates over curly brace placement ? So it comes as no surprise that developers really care about what goes in ( and behind ) their .aspx files, whether they be pages in Web Forms or views in ASP.NET MVC. For example, some developers are adamant that a page should not include server side script blocks, while others don?t want their views to contain Web Form controls. Wouldn?t it be great if you could have your views reject such code constructs? Fortunately, ASP.NET is full of lesser known extensibility gems which can help in such situations such as the PageParseFilter . MSDN describes this...(read more) ...
Go to the complete details ...