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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -