I am developing an app in asp.net mvc in which I want to upload a file. On the view side I render my upload file field at run time when my view calls the controller, It gives all the data in FormCollection and on the controller side I am able to get only name of the uploading file in the form of string and Request.File[0].count is equals to zero. Now how I can solve this problem.
Code can be share on demand.
Regards