c# - Save the Generated Action Result of a Controller/Action -
we have document management system use internally , i'm trying find out if there way save resulting html generated when controller/action called.
i'm needing can save string value flat file. have script runs @ set intervals , imports file dms , deletes it. know of anywhere there example of or have code sample possibly me started?
also methods i'd need save returning actionresult
one option render resulting action string prior returning view. there may small overhead technically rendering view twice save output flat file had mentioned earlier.
for details on how render view string see: https://stackoverflow.com/a/10746000/501494
Comments
Post a Comment