views:

54

answers:

4

Where do I place images within my solution?

+2  A: 

You could put them in the Content folder, along with your .css files. Or you could create a brand new folder and organize it any way you like.

marcind
A: 

In the content folder.

Dustin Laine
+2  A: 

I usually create Images folder inside Content folder. Most 3rd party components that use .css files search images subdirectory for their images by default.

Necros
A: 

We have a separate resources domain that serves up all static content (recommended). In the solution, I just have a 'resources' folder that mimics the structure of the production folder. Easier to deploy using a script. You can create a separate site or vdir on your local web server and map it to this static folder. The location could then be refernced in your project via an app setting (configuration.resourcedomain + "/resources/images/xyz.jpg")

Praveen