andrewdavey / andrewdavey/cassette

Hogan pre-compilation documentation is outdated

未关闭
#307 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Documentation
主要语言
C#
星标
531
派生
139
PR 合并指标
30 天内没有已合并 PR

描述

First, thank you for an amazing piece of software which is making my life as a developer better :)

After downloading the v2 release I thought I would play around with Hogan precompilation server side, however the example on the website seems to be outdated. The HoganPipeline I have needs two parameters for its constructor and when I do:

```
HoganPipeline hPipeline = new HoganPipeline(Cassette.TinyIoC.TinyIoCContainer.Current,
new HoganSettings(new List>()));

//Add templates

bundles.Add("Areas/HealthProfessional/Views/HealthProfessionalHome/Templates",
bundle => bundle.Pipeline = hPipeline);
```

I get an exception from the IOCContainer:
"Unable to resolve type: Cassette.HtmlTemplates.RemoteHtmlTemplateBundleRenderer".

I would be very greatful if the documentation could be updated to show how to do it.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。