Tag: visual studio
-
Simplify Your Caching By Using a Generic Method
I needed to add caching to my data access routines to improve the performance of commonly accessed data. This is pretty straightforward: Check to see if the cache entry already exists If the cache entry does exist, return the cached value If the cached entry doesn’t exist, fetch the data and add it to the…
-
Performance Profiling a SharePoint 2010 Project using EQATEC Profiler
I wanted to profile a SharePoint 2010 project i’d been working on, in order to find some of the slower methods so that they could be improved. I decided to give EQATEC Profiler a try since it had some good recommendations on StackOverflow and was FREE. EQATEC works by modifying and rebuilding your assemblies. Since…
-
Deploying Localized Satellite Assemblies with SharePoint 2010
Localizing web parts in a SharePoint 2010 project is pretty straight forward. Add resource files to your project, set the Deployment Type to AppGlobalResource, and then access them with GetGlobalResourceObject or with the <%$Resources> tag. Unfortunately this only works where you have the HttpContext – so great for web parts, but useless for Timer jobs…