Search code examples
asp.net-mvcnancy

How to replicate ASP.NET MVC's RenderAction in Nancy?


I'm considering porting an existing ASP.NET MVC3 application onto Nancy.

The application currently makes heavy use of the html helper extension RenderAction.

I can't work out how to replicate this behaviour in Nancy. Any ideas?


Solution

  • It's not supported out of the box - while it's possible, it's also going to be a reasonable amount of work and will require you knowing quite a bit about Nancy's guts to implement. We support rendering partials, but not rerunning the whole request stack (which is essentially what RenderAction does).