[{"data":1,"prerenderedAt":170},["ShallowReactive",2],{"article-net-4-with-sharepoint-foundation-2010":3},{"article":4,"tags":38,"previous":53,"next":137},{"id":5,"title":6,"author":7,"body":8,"createdAt":27,"description":28,"extension":29,"img":21,"meta":30,"navigation":31,"path":32,"seo":33,"stem":34,"tags":35,"updatedAt":27,"__hash__":37},"articles\u002Farticles\u002Fnet-4-with-sharepoint-foundation-2010.md",".Net 4 with SharePoint Foundation 2010","[object Object]",{"type":9,"value":10,"toc":24},"minimark",[11,15,18],[12,13,14],"p",{},"Error: Microsoft SharePoint is not supported with version 4.0.30319.1 of the Microsoft .Net Runtime.   ",[12,16,17],{},"The SharePoint Foundation 2010 object model is not accessible using the .NET Framework 4 (or later). Calling any object or method in the object\nmodel using any framework version other than .NET 3.5 will throw the above exception.     It is possible to access the SharePoint objects using the web\nservices interface from your .NET 4 application, but this will only allow limited functionality of the complete object model.",[19,20],"img",{"src":21,"alt":22,"style":23},"\u002Farticles\u002Fimages\u002Ftemplate.jpg","","display:none;",{"title":22,"searchDepth":25,"depth":25,"links":26},2,[],"2015-04-20T08:07:14.8800000-04:00",null,"md",{},true,"\u002Farticles\u002Fnet-4-with-sharepoint-foundation-2010",{"title":6,"description":28},"articles\u002Fnet-4-with-sharepoint-foundation-2010",[36],"sharepoint","NgPwXCaoHDkIyDZDEtzfd4_aO-RAP9En7jzpvwNPODA",[39],{"id":40,"title":41,"body":42,"description":46,"extension":29,"img":47,"meta":48,"name":36,"navigation":31,"path":49,"seo":50,"stem":51,"__hash__":52},"tags\u002Ftags\u002Fsharepoint.md","Sharepoint",{"type":9,"value":43,"toc":44},[],{"title":22,"searchDepth":25,"depth":25,"links":45},[],"Microsoft SharePoint","https:\u002F\u002Fimages.unsplash.com\u002Fphoto-1598313183973-4effcded8d5e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=675&q=80",{},"\u002Ftags\u002Fsharepoint",{"description":46},"tags\u002Fsharepoint","1yMA-SLjOHmy0x6_m2U0v9b58OVV2Jg1i0vhgXavZ7M",{"id":54,"title":55,"author":7,"body":56,"createdAt":127,"description":128,"extension":29,"img":129,"meta":130,"navigation":31,"path":131,"seo":132,"stem":133,"tags":134,"updatedAt":127,"__hash__":136},"articles\u002Farticles\u002Fsharepoint-ghostable-and-ghostableinlibrary.md","SharePoint– Ghostable and GhostableInLibrary",{"type":9,"value":57,"toc":125},[58,61,84,87,90],[12,59,60],{},"The Type attribute on a file defined in a SharePoint module have values of Ghostable and GhostableInLibrary",[12,62,63,64,68,69,72,73,76,77,80,81,83],{},"If Type is ",[65,66,67],"strong",{},"not"," defined they are considered UnGhostable\nOk, so do you remember what this means? I tend to always forget and mix up the definitions.",[70,71],"br",{},"\nWhat does ",[65,74,75],{},"Ghost"," and ",[65,78,79],{},"UnGhost"," mean?",[70,82],{},"\nWhen a site is provisioned SharePoint doesn’t really copy the pages for that site (i.e. default.aspx) into a new database table or directory\nThese files exist only once on each of the front end web servers",[12,85,86],{},"Instead SharePoint, creates a reference to those files in the database tables that define the new site\nThis is called “ghosting”",[12,88,89],{},"The end result is that each site appears to have it’s own pages but in reality they are shared across all sites that use that site definition\nThis technique improves performance as SharePoint can retrieve this file from the file system (which is faster than performing a database operation)\nIn addition caching a single file is more efficient than caching files for each site that exists in the farm",[12,91,92,93,95,96,98,99,101,102,76,105,108,109,111,112,114,115,117,118,120,121,124],{},"The process of ghosting is a huge benefit to SharePoint and performance.",[70,94],{},"\nSome operations, say when editing a file with SharePoint designer it causes SharePoint to unghost the file which creates a copy of the page in the database and allows users to customize particular pages for that site without effecting other sites\nUnghosting however does negatively effect performance and makes global changes to the entire site collection difficult.",[70,97],{},"\nSo, in short ghosted means the file is shared across sites and each site has a pointer to a file on the file system\nUnghosted implies that the file has been edited and is now stored with the particular site.",[70,100],{},"\nWhat’s the difference between ",[65,103,104],{},"Ghostable",[65,106,107],{},"GhostableInLibrary","?",[70,110],{},"\nThe decision between Ghostable and GhostableInLibrary really is based on the type of file that you are deploying and whether you want users to view and access the document view a list or a library\nIf you desire users to view the file within a library then you would select the InLibrary option\nBoth ",[65,113,104],{}," \u002F ",[65,116,107],{}," implies that the file will be cached in memory\n",[65,119,107],{}," however specifies that the file be cached as part of a list whose base type is ",[65,122,123],{},"Document"," \u003C\nstrong>Library and that you can work with the file as you would with any other file in the library (check-in, check-out, version history).",{"title":22,"searchDepth":25,"depth":25,"links":126},[],"2015-04-20T08:07:15.0900000-04:00","What is Ghostable (only with SharePoint)","\u002Farticles\u002Fimages\u002Fghost.jpg",{},"\u002Farticles\u002Fsharepoint-ghostable-and-ghostableinlibrary",{"title":55,"description":128},"articles\u002Fsharepoint-ghostable-and-ghostableinlibrary",[135],"sharePoint","qAPURpUfrJzaGl2u07duBzMGxh3lnlHGZuCZsRJhIiM",{"id":138,"title":139,"author":7,"body":140,"createdAt":163,"description":144,"extension":29,"img":160,"meta":164,"navigation":31,"path":165,"seo":166,"stem":167,"tags":168,"updatedAt":163,"__hash__":169},"articles\u002Farticles\u002Fsharepoint-2010-blank-page-instead-of-site.md","SharePoint 2010 Blank Page instead of site",{"type":9,"value":141,"toc":161},[142,145,152],[12,143,144],{},"If you are getting a blank page after creating a new site (and often after creating a new web application) you may need to modify the Application Pool associated with the web application.  Open IIS and select the pool then advanced properties.  I am running SharePoint 2010 on a Windows 7 64 bit installation.",[12,146,147,148,151],{},"Ensure ‘Enable 32-Bit Applications’ is set to ",[65,149,150],{},"False"," (by default this is set to True). ",[12,153,154,155,157,158],{},"In addition, I have set the Ping Enabled to ",[65,156,150],{}," (default is True).  This will ensure that when walking through the code IIS will not time out.",[19,159],{"src":160,"alt":22,"style":23},"\u002Farticles\u002Fimages\u002FShoppingCartEmpty.jpg",{"title":22,"searchDepth":25,"depth":25,"links":162},[],"2015-04-20T08:07:14.8100000-04:00",{},"\u002Farticles\u002Fsharepoint-2010-blank-page-instead-of-site",{"title":139,"description":144},"articles\u002Fsharepoint-2010-blank-page-instead-of-site",[36],"LIrRB5mi4lrLLokTntfMiyuBnW6OZXZRQHMD3DBZUOY",1781574766566]