how are the Documents served in sharepoint?
Hi all, i am wondering how the documents are served in sharepoint. i read on this article that says all the documents in sharepoint are stored inside the database. these documents are accessible through the webUrl. lets say for example http://myserver/MysiteCollection/MyLibrary/Book1.xlsx. how is this being achieved? Now in a normal asp.net webapplication if i save an excel file in the database we cannot access this file through url. Can we? what is the difference here? i would like to know any articles related to how documents served in sharepoint. thanks for your help.
February 24th, 2011 4:49am

SharePoint uses it's own implementation of a Virtual Path Provider (object in .NET 2.0) to serve your files. You can easily implement the same behaviour in your solution. Look at: http://www.thecodinghumanist.com/Content/VirtualPathProviderExample.aspx http://weblogs.asp.net/scottgu/archive/2005/11/27/431650.aspx http://www.dotnetbips.com/articles/fbc64253-aa68-4087-8ac5-bd56a2902979.aspx Or just search on virtual path provider in .net. Hope this helps!Independant SharePoint Consultant. Feel free to contact me. Blog: http://www.sharepoint.bg/radi Twitter: @RadiAtanassov
Free Windows Admin Tool Kit Click here and download it now
February 24th, 2011 6:10am

Hi Radia, Thanks a lot. you have shared exact information i was looking for. i love this forum. thanks again keith
February 24th, 2011 8:40pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics