What I would really like to be able to do is redefine the conventions to do the following:
For Controllers and their respective Actions:
If a URL request is made, and there is not a controller with the supplied action, then perform some "default" function, which I would supply myself in the application. I would think this could be achieved by using a Func<>, but I'm not sure where to plug this in.
For Views:
If a controller's action is requesting for a View, and there is no View that matches the one that the controller's action is requesting for, return this "default" view.
Is this something that is possible, and if so where should I be digging in order to learn more about how to do this? Or is it a really simple thing to do?
EDIT
Here's an example of what I'm trying to achieve.
I have a very simplistic view, something akin to this:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master"
Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
<%: Html.LabelForModel() %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%: Html.EditorForModel() %>
</asp:Content>
So let's say I have a Customer class, and the controller action does something with a Customer object, and then does
return View(someCustomer);
The issue here, is that I have not defined any View to handle Customer. In this case, I want my view engine (or whatever is responsible), to say, "ok there's no view that directly handles Customers, I'll use the default view instead".