NancyFx/Nancy — Issue #483: Make sure the context(s) are available for helper extensions in Razor
Author: grumpydev
Created: 2012-01-21 11:16:29+00:00
State: open
Labels: Improvement

Currently if you write an extension method for HTML or URL for Razor there's no way to get into the guts of the RenderContext / Context which means you can't write utility methods for pulling things out of Context.Items (for username etc) - this could actually then serve as a viewbag without any additional viewbag code.