Friday, May 6, 2011

SharePoint works slow for the first time after restart

Ever thought things on ASP.NET were a bit slow the first time accessing them? Many of you are aware that ASP.NET from a web admin perspective know that things have to recompile and things just aren't as fast the first time. In fact some times things are incredibly slow the first time and are incredibly slow. Ever had users say, for some odd reason some times when I hit my SharePoint site it takes 30 seconds to load, then after a refresh it goes sub second, even clearing their cache the page is fast. That's because it's not a user issue, its simply compiling, caching, etc... on the server after an IISReset or app pool reset or worker process cycle.

Read the whole Joel Oleson post

SharePoint web services

It's interesting how SharePoint Web Services works. Will add here useful links and my own comments based on my research.
Useful links:
Getting Started With SharePoint Web Services
The SharePoint web services are implemented in ASP.NET Web Services (ASMX), and you will find the physical files for most of these web services in the "Microsoft Shared" directory under "web server extensions\12\ISAPI" typically located at "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI". The admin web service for the Central Administration tool is located in the ADMISAPI folder for which the central administration console contains a virtual directory named "_vti_adm". When a SharePoint site is created it will contain a virtual directory named "_vti_bin" that points to this location. IIS does not contain any application or virtual directories for subwebs, they do however contain mapping to the _vti_bin virtual directory through SharePoint metadata and HttpModules.
List of SharePoint services includes the following:
WSS Web ServicesWeb Reference
Administration Servicehttp://server/_vti_adm/admin.asmx
Alerts Servicehttp://server/_vti_bin/alerts.asmx
Document Workspace Servicehttp://server/_vti_bin/dws.asmx
Forms Servicehttp://server/_vti_bin/forms.asmx
Imaging Servicehttp://server/_vti_bin/imaging.asmx
List Data Retrieval Servicehttp://server/_vti_bin/dspsts.asmx
Lists Servicehttp://server/_vti_bin/lists.asmx
Meetings Servicehttp://server/_vti_bin/meetings.asmx
Permissions Servicehttp://server/_vti_bin/permissions.asmx
Site Data Servicehttp://server/_vti_bin/sitedata.asmx
Site Servicehttp://server/_vti_bin/sites.asmx
Users and Groups Servicehttp://server/_vti_bin/usergroup.asmx
Versions Servicehttp://server/_vti_bin/versions.asmx
Views Servicehttp://server/_vti_bin/views.asmx
Web Part Pages Servicehttp://server/_vti_bin/webpartpages.asmx
Webs Servicehttp://server/_vti_bin/webs.asmx