Feature Scope (feature attribute) say where the feature will appear, and how activation/deactivation is inherited throughout the sites
- WebApplication(web application)
- Site(site collection)
Note: Farm features do not allow modules
DeploymentTarget (manifest.xml assembly attribute) lets us say we either want to give the dll full trust (stuck it in the GAC) or just copy it to the current web application's bin folder.
Save Control tagging to web.config lets assemblies execute code on our pages. This definition can, as the previous two ones, be compiled within the wsp package, in the manifest.xml.
<Assembly Location="mydll.dll" DeploymentTarget="GlobalAssemblyCache" >
<SafeControl Assembly="mydll, Version=188.8.131.52, Culture=neutral, PublicKeyToken=a3b8628163ff75bc" Namespace="mydll" TypeName="*" Safe="True" />