Why are the Features have Scope Site?

Feb 6, 2009 at 8:41 AM
Edited Feb 6, 2009 at 9:07 AM

Their are many features in the package that do some WebModifications.
But why does this feaures have the scope Site or Web.
If I have a feature that does some changes in the Web.Config I made the scope of this feature to "WebApplications". Because if you made changes they will applied to all Sites in the WebApplication.
Is there some reason why they selected this scope for a features?


Feb 26, 2010 at 6:10 PM

I'm looking at the GlobalConfigFeature code and it appears that it is
applying the changes to all WebApplications in the Farm without regard
for the context in which the Feature is activated.
Is this the correct behavior?

-- Bill White