I am working at one of my personal project based in ASP.NET CORE and Angular. I can specify that for this project I have two separates projects.
First project is just Server side in Microsoft Visual Studio ( back end code, Controllers and link with database ) and second project is Client side in Visual Studio Code ( Angular, typescript code ).
So two projects under one big project which need to be an online shop where I have products and some images for every product.
Which is my issue ?
I can not get the Images already saved in "wwwroot" folder ( in back end - in first project - in Visual Studio ) and display them in Client side ( in Angular - in front end ). I can specify that I have stored images in "wwwroot" folder ( Image Name and the image itself ) and the Image Name and Image Path are saved in the database. Can you tell me which is the best approach to do get the images from back end and display them in front end ? Can you give me some hint about how to to this ? Give me your approach and how to implement this ?
What is implemented ?
In this online shop is implemented inserting of new product ( with Name, Description and also with Image itself ) which is send from front end to back end and stored inside "wwwroot" folder ( Image itself ) and save the Image Name and Image Path inside database.
If is needed I can add some code for better understanding but I need just an approach or an ideea of how to do this. Thank you in advance.