Please see the difference between Content Pages and View Pages in this question: http://stackoverflow.com/a/13206221/85785
i.e. Any Razor View in /Views
is treated as a View Page and is only rendered as the Response of a Service with the Response DTO used as the ViewModel in the Razor View page. Like @jklemmack says the Razor Views can be anywhere inside the /Views
folder where it typically uses the same name as either the Request or Response DTO in order for them to get implicitly matched. Since Request DTO’s are unique there’s little chance for name collisions.
Any Razor View outside /Views
is treated as a Content Page and can be accessed directly, i.e. doesn’t call a Service first.