Author Archives: Stu

SPRequest ULS Entries

The SharePoint ULS logs always report objects not being explicitly disposed of, even for some of the SharePoint object model calls, although these are supposedly false positives. Now, not all entries that are flagged will be issues, but initially there’s … Continue reading →

Posted in SharePoint | Tagged , , | 1 Comment

Update WSP File

SharePoint Short #8 It’s easy to extract and make changes to a WSP file – use any compression program (WinZip, WinRAR, etc.) to extract it to your machine and you’re good to go. Once you’ve made your changes to the … Continue reading →

Posted in Shorts | Tagged | Leave a comment

Service Application Proxy Classes

SharePoint Short #7 Looking for a list of the currently available service application proxy classes? Run the following in a console app and et voilĂ : var proxies = from serviceProxies in SPFarm.Local.ServiceProxies from SPServiceApplicationProxy serviceProxy in serviceProxies.ApplicationProxies select serviceProxies;   … Continue reading →

Posted in Shorts | Tagged | Leave a comment

Get CAS IPermission for exception

If you’re working on a SharePoint solution that requires a custom code access security (CAS) policy, the following is an easy way of determining the permission(s) you need to add to the config. For this to work, you need to … Continue reading →

Posted in Security, SharePoint | Tagged , | Leave a comment