I am new to sharepoint and was asked a question and I didn't know the answer of that, can someone please help. Please provide the reason for the solution.
Can we deploy Visual webpart with feature which has webscope, how and why/why not
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Web parts are deployed to the web part gallery that lives in the root web of a site collection. You might be able to get away with a web scope feature if that feature is only ever activated on the root web. But that will make it available to all subsites anyway.
Best practice is to make web parts available in a Site-scoped feature, and you deviate from that at your own peril.