| HandlebarsViewEngine Properties |
The HandlebarsViewEngine type exposes the following members.
| Name | Description | |
|---|---|---|
| CacheKeyPrefix |
The prefix to use when creating the cache keys.
| |
| HandlebarsConfiguration |
A copy of this will be used when compiling the views.
This is the place to provide site-wide helpers, block-helpers and templates.
| |
| Logger |
The logger used. The default is a NullLogger instance.
| |
| PathsProvider |
The paths provider used. The default is DefaultPathsProvider that mostly mimics the view files placements in the built-in MVC framework.
| |
| ViewExtension | The file extension the view files and partials must have in order for this ViewEngine to handle it. Default: ".hbs" | |
| ViewsSlidingCacheTime | The length of time that compiled views are cached after last access. Set this to to disable caching. Default is 5 minutes. | |
| VirtualPathProvider |
The VirtualPathProvider to use. This is only to facilitate unit testing! The default is the registered VirtualPathProvider.
|