I am working on a PoC using the Reference Implementation as the guideline. I am checking the way binaries get published and I can see they get the tcm id appended to their file name. In my case I want to be able to control the location they are published to (I will use structure groups for that) as well as the file name they get when published.
I know you can implement a custom
BinaryPublisher, but I want to understand whether I need to download the DD4T templates source code, add my own, modify the
Dynamic*.cs using the
BinaryPublisher and reference mine or I can use some other mechanism to override the default behavior.
protected BinaryPublisher BinaryPublisher
if (_binaryPublisher == null)
_binaryPublisher = new MyBinaryPublisher(Package, Engine);