i have a project built in MVC 2 [ASPX] and i upgrade them to 3. i make the project’s view in Razor cshtml.
because project have a theme system they already have some theme built in ASPX and mine theme in Razor.
suppose action call time.ascx then if file not found how i can render time.cshtml instead of that file they actuall call.
This will happen automatically.
When you return a view or partial view name, MVC will search all registered
ViewEngines for a matching view.