File Download in MVC
Posted: August 31st, 2021, 3:06 pm
Create a controller
Location is the Save To on the Static Files page.
In the Assistant tab set up what ever _ViewFields you will pass in to determine the file path.
Then drag in the Stream File service from the MVC Workshop.
This service takes in a FilePath and Location.
FilePath is the relative path that can be found on the Static Files page.Location is the Save To on the Static Files page.