Base solution for your next web application
Open Closed

What is the purpose of the FileController()> #1364


User avatar
0
theedge created

I cannot see it being used anywhere? The ProfileController seems to do its own thing when it comes to files?


4 Answer(s)
  • User Avatar
    0
    gunpal5 created

    Hi,

    As per my understanding, It is use for handling file uploads and downloads.

    Regards, Gunpal Jain

  • User Avatar
    0
    theedge created

    <cite>gunpal5: </cite> Hi,

    As per my understanding, It is use for handling file uploads and downloads.

    Regards, Gunpal Jain

    Where is it being used in the sample template though?

  • User Avatar
    0
    gunpal5 created

    Well, you can easily search in all files to see where it is being used, or may be search for all references. Just press ctrl+shift+f and type the Action Method name, e.g. "DownloadTempFile" you will get the list of files where it is being used.

    Regards, Gunpal Jain

  • User Avatar
    0
    hikalkan created
    Support Team

    <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/search?utf8=%E2%9C%93&q=DownloadTempFile">https://github.com/aspnetzero/aspnet-ze ... adTempFile</a>

    When we search it, we used it for downloading excel files (for user list, audit logs and so on).