Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I developed a webpart that is supporting different languages so I had to put resources.dll file in web application's bin directory to make my webpart work properly. Now I got option of putting that dll in GAC or 12 hive, but not sure which one is counted as best approach as I am pretty sure putting it in web application's bin directory isn't really best thing to do as then I might end up having duplicate resources for each web application.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

See there are several things to consider - if your web-part is designed for all (maybe almost) web applications in the server farm, deploy it in GAC. But if you know that the web-part is developed for one particular application why bother putting it into GAC? rather put it in bin. You also have the option of embedded resource, though very uncommon but that's one option too.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.