How can I package a surface controller with macros and partial views?
Hello
I have uilt a search macro with Anna Jens surface controller and some Views.
How can I package that into a new pa kage so that I can allow adding a macro to any umbraco website and it will work and be able to communicate with the surface controller (in the package) and the views (also on the package).
How can I package a surface controller with macros and partial views?
Hello
I have uilt a search macro with Anna Jens surface controller and some Views.
How can I package that into a new pa kage so that I can allow adding a macro to any umbraco website and it will work and be able to communicate with the surface controller (in the package) and the views (also on the package).
Thanks Bilal
Yes. When building your package, you can select your macros/partials/etc.
For SurfaceControllers, you should build them with the
[PluginController("SuperAwesomeAnalytics")]
attribute, which will change your routing.Then in your package you can add files, so add your release built binaries in the bin folder.
is working on a reply...