Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
 0
down vote
favorite
	

I'm very new to AngularJs I could manage to develop CRUD SPA using Angular and ASP.NET MVC , I wanted to upload single image with every record I add in my database beside store the image path in every record something like product id ,name, quantity and the image path so I can upload product image with every new product I add, the thing is I did not use any forms in my application so I don't think I would change my whole code just to use forms and submit botton at least not for now, anyway I finished the whole application but I got really confused when I made search on how to upload single image, tutorial on this pretty much not exist, I read some developers talk about plugins and either it's very complicated example with multi-images/files upload or nothing , nothing on uploading single image in Angular and ASP.NET MVC, anyway can help or have link for very simple demo single image ? or anyone know plugins I can use for single image upload with good documentation or simple demos, again I repeat I just want to upload the image to a folder on the server beside I want to store the path of the image in the database that's all I would appreciate it any help guys



What I have tried:

I made search and found some posts on uploading multi-files using plugins but there is no any documentations on how to use or simple demos most demos r very complicated and some codes r even longer than my whole entire application :/
Posted
Updated 19-Jul-18 23:15pm

1 solution

HI,

Please refer to the following link, It will help you.
File Upload Using AngularJS and ASP.NET MVC5[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900