andrewdavey / andrewdavey/cassette

Hogan pre-compilation documentation is outdated

Đang mở
#307 8 bình luận 0 reaction 0 người được giao Xem trên GitHub
Documentation
Ngôn ngữ chính
C#
Star
531
Fork
139
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.