I am a newbie in web development and I am working on a website backend using ASP.NET, Bootstrap, and jQuery and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the files from the local system what I need right now is to know how can I send those read files to the server?! Do I have to implement some sort of ASP.NET Web API, as I am using ASP.NET already, that will be responsible for doing the storing functionality. If that is the case do I have to know the server IP address and port number to specifiy them when calling post method http://server-ip:port/myapi/mycontroller or I can simply use something like ./myapi/mycontroller ?!!!
Jump to Post
In asp.net there is the FileUpload control that is preaty easy to use and can do excaclty what you need.
You can find more info here:
All 4 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.