Namespace Westwind.RazorHosting

This topic tree describes the Westwind.RazorHosting namespace.

TypeDescription
  CompiledAssemblyItem Item that stores information about a cached assembly that keeps track of templates that have been compiled and cached.
  HelperResult Helped class used by Razor to render generated code.
  HtmlHelper
  RawString that wraps a string and returns it as a raw non-encoded string.
  RazorBaseHostContainer Based Host implementation for hosting the RazorEngine. This base acts as a host wrapper for implementing high level host services around the RazorEngine class. Provides the ability to run in a separate AppDomain and to cache and store generated assemblies to avoid constant parsing and recompilation. For example implementations can provide assembly template caching so assemblies don't recompile for each access.
  RazorEngine Razor Hosting Engine that allows execution of Razor templates outside of ASP.NET. You can execute templates from string or a textreader and output to string or a text reader. This implementation only supports C#.
  RazorEngine Razor Hosting Engine that allows execution of Razor templates outside of ASP.NET. You can execute templates from string or a textreader and output to string or a text reader. This implementation only supports C#.
  RazorEngineConfiguration Configuration for the Host class. These settings determine some of the operational parameters of the RazorHost class that can be changed at runtime.
  RazorEngineFactory Factory that creates a RazorHost instance in a remote AppDomain that can be unloaded. This allows unloading of assemblies created through scripting. Both static and instance loader methods are available. For AppDomain created hosts. Note: Only works for a single AppDomain as this class holds on to the AppDomain as a Singleton.
  RazorFolderHostContainer This class is a caching directory based host wrapper around the RazorHost classes to provide directory based Razor template execution. Templates are compiled on the fly, and cached unless the templates on disk are changed. Runs Razor Templates in a seperate AppDomain Uses the RazorTemplateFolderHost base template by default. For any other template implementation use the generic parameter to specify the template type.
  RazorFolderHostContainer This class is a caching directory based host wrapper around the RazorHost classes to provide directory based Razor template execution. Templates are compiled on the fly, and cached unless the templates on disk are changed. Runs Razor Templates in a seperate AppDomain
  RazorFolderHostTemplateConfiguration Folder Host specific configuration object
  RazorHostContainerException Exception thrown when rendering or compiling of a folder host render or initialization occurs
  RazorRequest Not used at the moment - more of a placeholder for now
  RazorResponse that handles Response output generation inside of RazorTemplateBase implementation.
  RazorStringHostContainer Razor Host container to execute Razor Templates from string input. Can run templates in a separate AppDomain and caches templates to avoid re-compilation and allocation of new resources for each template.
  RazorStringHostContainer Razor Host container to execute Razor Templates from string input. Can run templates in a separate AppDomain and caches templates to avoid re-compilation and allocation of new resources for each template.
  RazorTemplateBase Base class used for Razor Page Templates - Razor generates a class from the parsed Razor markup and this class is the base class. must implement an Execute() method that is overridden by the parser and contains the code that generates the markup. Write() and WriteLiteral() must be implemented to handle output generation inside of the Execute() generated code. This class can be subclassed to provide custom functionality. One common
  RazorTemplateBase Base class used for Razor Page Templates - Razor generates a class from the parsed Razor markup and this class is the base class. must implement an Execute() method that is overridden by the parser and contains the code that generates the markup. Write() and WriteLiteral() must be implemented to handle output generation inside of the Execute() generated code. This class can be subclassed to provide custom functionality. One common
  RazorTemplateConfiguration Configuration objects that can be passed to templates to pass additional information down to the templates from a Host container
  RazorTemplateFolderHost Custom template implementation for the FolderHostContainer that supports relative path based partial rendering.
  RazorTemplateFolderHost Custom template implementation for the FolderHostContainer that supports relative path based partial rendering.
  Utilities Helper class that provides a few simple utilitity functions to the project
  CodeProvider
  IHtmlString


© West Wind Technologies, 2018 • Updated: 06/07/18
Comment or report problem with topic