Feature.EventReceiver Get Web Context

In order to get the current SPWeb context that the feature was activated on I have used the following extension method. Regardless if the feature is web or site scoped the following GetWeb extension will return the current web context.…

Read this article

SharePoint– Ghostable and GhostableInLibrary

This attribute specifies where and how the server will cache and construct the file. The decision between Ghostable and GhostableInLibrary really is based on the type of file that you are deploying and whether you want users to view and access the document view a list or a library.  If you desire users to view the file within a library then you would select the InLibrary option.…

Read this article