Output to files, streams or results - TD¶
We have seen 2 ways to create the resultant document from a template.
For MVC projects the extension methods for the controller allow assignment to a stream as a FileResult
, and for console or GUI applications as an actual file on a file system SaveAsPDF
.