SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A few questions regarding what happens to files deployed through a module element in a solution feature. Let's assume it's a partial trust (sandboxed solution). Let's also assume these are static files (images or css for example).

Are the files ultimately stored in the content database? Does the previous answer depend on if your filetype is empty/ghostable/ghostableinlibrary?

share|improve this question
up vote 1 down vote accepted
  1. Yes every thing you deploy as a sandbox solution (even the dll) is deployed as a part of the content database.

  2. In case of a farm based solution (non sandbox) also the files deployed through the module element are stored in the content database only. Whenever you create a module element, you always specify a url attribute which is the url of a SharePoint library. Also the Type attribute signifies whether the file will be cached as part of the library or just the memory of the front end servers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.