I wanted to share my Umbraco Renderings package which creates view models using an injected IPublishedContent instance in addition to any other dependencies the view model may need via DI.
I've created an example project using the starter kit as a reference. The example also contains other functionality such as a simple rendering engine, demonstrating how content models can be re-used with a different razor template using a tag string.
Renderings NuGet package
Hello all,
I wanted to share my Umbraco Renderings package which creates view models using an injected IPublishedContent instance in addition to any other dependencies the view model may need via DI.
I've created an example project using the starter kit as a reference. The example also contains other functionality such as a simple rendering engine, demonstrating how content models can be re-used with a different razor template using a tag string.
I welcome any feedback!
Thanks, Brad
is working on a reply...