123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computer-Programming >> View Article

Sharepoint Application Avoid Performance Mistakes

Profile Picture
By Author: Denis Richard
Total Articles: 18
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

A fast developing Microsoft platform, SharePoint, has come-up a long way from document management app to application development platform. SharePoint has also grown from utilizing ASP.NET to develop its own API and manage contents in SharePoint Content Database. Though many things have changed, for the good but some still needs attention. Some Companies have implemented their own solution based on SharePoint while others are still in waiting list.

SPList Items’ Iterating: Use this list from current SP context or create a SPList object to access a list identified by its name. It provides an Item’s property that returns a SPList Item collection object. The problem is Item’s property queries all items from content database for present SPList and does so every time the item’s property is accessed. This means that retrieved items are not cached. This problem of execution of same SQL statement and retrieving all items from content database can be solved but is unfortunately looked over.

Too-much Data request from Content database: When there is a request to access data from content database using the SPList ...
... object; then user ends-up in requesting all-items of the list. Developers usually go directly to SPList and work to retrieve list items resulting in excess data retrieved from Content Database. The best way to solve this problem is to use the SPQuery object and its features for limiting elements and columns.

SPSite and SPWeb Memory Leaks: The COM component is used for some of the core features of SharePoint. Though theoretically there is nothing wrong with COM, yet there is memory management of COM objects. SPSite and SPWeb are used to gain access to Content Management by the developers. Such objects need explicit disposal to release COM objects from memory when these are not needed. As SPSite and SPWeb are not disposed; so SharePoint installation runs into problem. The ASP.NET Worker Process leaks memory and the user ends-up in program being recycled by IIS in case the person runs out of memory. Recycling is related to losing current user session and paying a performance penalty for users who hit the worker process again after recycling is over.

The right approach is to monitor program for its memory usage and whether there is any memory-leak or not. Special memory profiler can be used to identify the leaking objects and what factor is leading to leakage. Special tool called “SPDisposeCheck” is used as a tool to detect SPSite and SPWeb leaking objects.

Denis Richard is a professional technical writer who has expertise in web application development, web applications, sharepoint application development.

Total Views: 368Word Count: 429See All articles From Author

Add Comment

Computer Programming Articles

1. Unlock Your Data Skills With The Best Business Analytics Courses In Bhopal
Author: Rohan Rajput

2. Clinic Management Software: Features, Benefits, And How To Choose The Right One
Author: Agness Ruth

3. Top Training Institutes For The Best Business Analytics Courses In Bhopal
Author: Rohan Rajput

4. Why Is The Cloud Networking Solution Important For Any Business?
Author: GIGABITTechnologies

5. Pros And Cons Of Having A Design System
Author: brainbell10

6. Discover The Best Business Analytics Courses In Bhopal To Elevate Your Career
Author: Rohan Rajput

7. Exploring Decentralized Exchange Development
Author: davidbeckam

8. How Decentralized Exchanges Make Crypto Trading Better
Author: davidbeckam

9. Kiwi Web Solutions: Your Go-to Prosper Web Design Company For Exceptional Web Design In Utah
Author: Hazel Killer

10. Software Development & It Services Company Bhuj, India | Wrteam
Author: WRTeam

11. Why Choose Bhopal For Business Analytics Courses – A Career Perspective
Author: Rohan Rajput

12. Top Institutes Offering Business Analytics Courses In Bhopal
Author: Rohan Rajput

13. Learn, Launch, Lead: Digital Marketing Courses That Deliver Results”
Author: Riya Kumari

14. Have You Heard? Smart Invoice Accounting Software Is Your Best Bet For Growth
Author: Doris Rose

15. Your Guide To The Best Business Analytics Courses In Bhopal – 2025 Edition
Author: Rohan Rajput

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: