MVC Related API Calls

The API for MVC sites built with Agility is very thin, relying on the strong backbone provided by the MVC framework for much of its functionality.

Methods
AgilityViewActionResult Agility.Web.Mvc.AgilityView(this Controller controller, string agilityPagePath)
A Controller helper method. Returns an ActionResult that renders the contents of the page at the given page path.
AgilityViewActionResult Agility.Web.Mvc.AgilityView(this Controller controller, string agilityPagePath, string languageCode)
A Controller helper method. Returns an ActionResult that renders the contents of the page at the given page path for the given language.
void Agility.Web.Mvc.RenderContentZone(this HtmlHelper helper, string zoneName)
An HtmlHelper helper method. When called from the body of a View, this will render all configured modules for the named Module Content Zone on the current page.
void Agility.Web.Mvc.RenderAgilityScripts(this HtmlHelper helper)
An HtmlHelper helper method. Outputs scripts configured for the current page, as well as the scripts required by Agility in Development or Preview mode.

LOGIN

Log in with your Agility username and password or
register for the site




Log In

REGISTER












Register

FORGOT PASSWORD