Home
Westwind.RazorHosting Template Engine
What's new
Hosting the Razor Engine for Templating Article
Westwind.RazorHosting on GitHub
Westwind.RazorHosting on NuGet
Support Forums
Using basic RazorEngine to render Templates
Installation
Basic rendering with RazorEngine
Using HostContainers for Cached Templates
Rendering Templates in a seperate AppDomain
Using Custom Template Types
Using Latest C# Language Features (Roslyn)
Using HostContainers to cache Templates
Using the RazorStringHostContainer Class
Using the RazorFolderHostContainer Class
Partial Rendering and Layout Pages for RazorFolderHostContainer
Keeping HostContainers Alive and Running
Class Documentation
Namespace Westwind.RazorHosting
Class CompiledAssemblyItem
Constructor
AssemblyId
CompileTimeUtc
FileName
LayoutPage
Namespace
SafeClassName
Class HelperResult
Constructor
ToHtmlString
ToString
WriteTo
WriteTo
Class HtmlHelper
Constructor
Encode
Encode
HtmlString
Raw
Class RawString
Constructor
Constructor
Constructor
ToHtmlString
ToString
Empty
Class RazorBaseHostContainer<TBaseTemplateType>
Constructor
Engine
AddAssemblyFromType
AddAssemblyFromType
Dispose
InitializeLifetimeService
RenderTemplate
Start
Stop
ToString
BaseBinaryFolder
CodeProvider
Configuration
ErrorMessage
GeneratedNamespace
ReferencedAssemblies
ReferencedNamespaces
ThrowExceptions
UseAppDomain
Class RazorEngine
Constructor
Constructor
Class RazorEngine<TBaseTemplateType>
Constructor
AddAssembly
AddAssemblyFromType
AddAssemblyFromType
AddNamespace
AddNamespace
CompileTemplate
CompileTemplate
GetAssemblyFromId
InitializeLifetimeService
RenderTemplate
RenderTemplate
RenderTemplateFromAssembly
SetError
SetError
Configuration
ErrorMessage
HostContainer
LastException
LastGeneratedCode
LastResultData
TemplatePerRequestConfigurationData
Class RazorEngineConfiguration
Constructor
CompileToMemory
OutputEncoding
StreamBufferSize
TempAssemblyPath
Class RazorEngineFactory<TBaseTemplateType>
Constructor
Current
CreateRazorHost
CreateRazorHostInAppDomain
GetRazorHost
GetRazorHostInAppDomain
UnloadHost
UnloadRazorHostInAppDomain
ErrorMessage
Class RazorFolderHostContainer
Constructor
Class RazorFolderHostContainer<TBaseTemplate>
Constructor
RenderTemplate
RenderingOutputFile
TemplatePath
Class RazorFolderHostTemplateConfiguration
Constructor
IsLayoutPage
LayoutPage
PhysicalPath
TemplatePath
TemplateRelativePath
Class RazorHostContainerException
Constructor
Constructor
Constructor
GeneratedSourceCode
RequestConfigurationData
Class RazorRequest
Constructor
TemplatePath
TemplateRelativePath
Class RazorResponse
Constructor
Writer
Clear
Dispose
SetTextWriter
ToString
Write
WriteFormat
WriteLine
Class RazorStringHostContainer
Constructor
Class RazorStringHostContainer<TBaseTemplate>
Constructor
RenderTemplate
RenderTemplateToFile
Class RazorTemplateBase
Constructor
Dispose
Execute
HtmlEncode
HtmlEncode
InitializeLifetimeService
InitializeTemplate
Raw
Raw
RenderTemplate
Write
WriteAttribute
WriteAttributeTo
WriteLiteral
WriteLiteralTo
WriteTo
Engine
HostContainer
Html
Model
Request
Response
ResultData
TemplateConfigData
Class RazorTemplateBase<TModel>
Constructor
InitializeTemplate
Model
Class RazorTemplateConfiguration
Constructor
ModelData
Class RazorTemplateFolderHost
Constructor
InitializeTemplate
RenderBody
RenderPartial
Layout
TemplateConfigData
Class RazorTemplateFolderHost<TModel>
Constructor
InitializeTemplate
Model
Class Utilities
Constructor
GetRelativePath
HtmlEncode
HtmlEncode
Enumeration CodeProvider
CSharp
VisualBasic
Interface IHtmlString
ToHtmlString