|
- <!--#include file="HomeController.asp" -->
- <!--#include file="ErrorController.asp" -->
- <%
- ' Register each controller's own singleton accessor with the shared
- ' ControllerFactory, by reference (GetRef), so the MVC dispatcher (a WSC,
- ' which cannot see these factory functions directly) never has to Execute/
- ' Eval a route-supplied string to resolve a controller class.
- Call ControllerFactory().Register("HomeController", GetRef("HomeController"))
- Call ControllerFactory().Register("ErrorController", GetRef("ErrorController"))
- %>
|