asp.net - Where can I clear non-razor view engines in a Web Pages site? -


it recommended when using razor view engine unload others (such web forms) in global.asax so:

viewengines.engines.clear(); viewengines.engines.add(new razorviewengine()); 

but razor 2 web sites not have global.asax file, can accomplish there?


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -