Best practice for HTML rendering extension methods ?

Posted on 2014-08-11
Last Modified: 2014-08-15

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.
Question by:HugoHiasl
    LVL 96

    Accepted Solution

    This may or may not be what you are looking for:

    Razor Generator - Quick Start Guide
    LVL 12

    Author Closing Comment

    Thanks :-)

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now