GAC and SharePoint
        Posted  
        
            by Sahil Malik
        on Win Smarts
        
        See other posts from Win Smarts
        
            or by Sahil Malik
        
        
        
        Published on Sun, 05 Aug 2012 00:23:29 GMT
        Indexed on 
            2012/08/27
            21:51 UTC
        
        
        Read the original article
        Hit count: 355
        
sharepoint
| SharePoint 2010 Training: more information | 
GAC and SharePoint have had a funny love & hate relationship. In 2007, SharePoint and GAC fell in love. GAC was about the only practical alternative to deploying custom code. Here is a dirty secret, based on completely unscientific and unfounded research, I can tell you that 99% of SharePoint code written, ended up in the GAC. Yes, I know GAC rhymes with hack, crack, smack, and even mac, but still it was the better alternative. You could write CAS policies and put your DLLs in the bin folder, but it was mighty inconvenient to both write, and maintain. Most of us never did it. There are still some SharePoint developers out there insisting on the bin approach – well, get over it; you’re not winning the fight. CAS is about as outdated as Samantha Fox anyway. It was hot at one point though. So all that code that ended up in the GAC caused lots and lots of headache. Clearly, Microsoft had to get us off the crack, uhh .. I mean the GAC. In
        
        
© Win Smarts or respective owner