Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Best practice for HTML rendering extension methods ?

Hi,

I would like to create an extension method for the HtmlHelper or AjaxHelper in MVC as a DLL.

My extension method should render a larger quantity of complex html code. Is there a way to use .cshtml files to render the results by using the razor syntax within the DLL and the needed views are packages automatically with the DLL?

So the result would be one DLL file that will be referenced by the consuming MVC app.

Every hint would be appreciated.
0
HugoHiasl
Asked:
HugoHiasl
1 Solution
 
Bob LearnedCommented:
This may or may not be what you are looking for:

Razor Generator - Quick Start Guide
http://razorgenerator.codeplex.com/wikipage?title=Quick%20Start%20Guide&referringTitle=Documentation
0
 
HugoHiaslAuthor Commented:
Thanks :-)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now