Hi guys, I used to use Søren's BlockListMvc package in Umbraco 8, but that package doesn't work in 9. Do you have any suggestions? I am thinking about rewriting that package but I m not sure is it possible or not.
I'm not that familiar with the package, but could you use View Components in 9 to render blocks? They have all the features of a controller but are simpler to utilise.
the purpose of that package was to transfer business logic from views to controllers.
I may be able to use @(await Component.InvokeAsync("xxx")) and have the logic there. I try it thanks.
BlockListMvc
Hi guys, I used to use Søren's BlockListMvc package in Umbraco 8, but that package doesn't work in 9. Do you have any suggestions? I am thinking about rewriting that package but I m not sure is it possible or not.
I'm not that familiar with the package, but could you use View Components in 9 to render blocks? They have all the features of a controller but are simpler to utilise.
https://our.umbraco.com/documentation/Reference/Templating/Mvc/ViewComponents
the purpose of that package was to transfer business logic from views to controllers. I may be able to use @(await Component.InvokeAsync("xxx")) and have the logic there. I try it thanks.
is working on a reply...