I am learning mvc3 and I wanted to know which will be the better way to upload a file and store to the server hard disk, I know how save in the database and saw this example for store in App_Data, which will be the approach to upload a file and store to the server hard disk?
Share
Just call
file.SaveAs()with any path on the server’s disk that you have write access to.