How to troubleshoot performance issues in SharePoint custom code on your own? Part 3- Slow

This post is a contribution from Paul Chan, an engineer with the SharePoint Developer Support team Another popular performance issues I have seen when working on customer’s issues is slow response. Obviously, this blog article addresses a slow scenario. NOTE: If you feel needed or press on time, feel free to contact Microsoft and create…

2

How to troubleshoot performance issues in SharePoint custom code on your own? Part 1 – High Memory Usage

This post is a contribution from Paul Chan, an engineer with the SharePoint Developer Support team One of the popular performance issues I have seen when working on customer’s issues is high memory usage. Note that performance issues in Microsoft development support are divided into different categories; i.e. a) High memory usage; b) High CPU…

3

RoleAssignmentAdding event receiver in SharePoint 2013 does not show error page with CancelWithError

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team SharePoint 2013 SPSecurityEventReceiver provides methods to trap events that are raised for security. Tim Ferro’s this blog provides great details missing from MSDN document about the class. This blog is to provide one detail about the issue of canceling…

2

Setting Time Zone for a user in SharePoint 2013

This post is a contribution from Aaron Miao, an engineer with the SharePoint Developer Support team With SharePoint 2010 you can set time zone for a user using code like this: // Code1using (SPSite cSite = new SPSite(siteURL)) { using (SPWeb curWeb = cSite.RootWeb) { curWeb.AllowUnsafeUpdates = true; SPUser editUser = curWeb.EnsureUser(loginName); SPRegionalSettings userRegSettings =…

0