Upload/Download files with ASP.Net using Visual Studio Web Server
- by jlnorsworthy
I need to upload image files and store them on the webserver, then be able to display them in html. I'm currently using AppDomain.CurrentDomain.BaseDirectory to get a path to read and write files. Firefox won't display the image as I just get an img tag with "src='C:...'
Is it possible to read/write files like this with Visual Studio web server? I know it'll be possible with IIS, but I don't want to do that if I don't have to (pretty new to web development)
I'm implementing this with ASP.Net MVC 2, but I don't think that is relevant.