NancyFx/Nancy — pull request #409 by craiggwilson (2011-11-16 20:08:33+00:00)
Title: added support for strongly typed razor views.

I looked in the MVC3 code to see how they did the strongly typed model thing and mostly copied it over. All razor views now inherit from NancyViewPageBase, with the default being NancyViewPageBase when no model type is supplied. It should be completely backwards compatible.

In the same vein, I changed HtmlHelpers to be generic so as to take advantage of element generation based on a model.