<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3766174345251248841.post1733713796874684387..comments</id><updated>2011-08-14T04:25:29.451+02:00</updated><category term='SPoshMod'/><category term='Personal'/><category term='Social Media'/><category term='DLR'/><category term='Twitter'/><category term='Microsoft'/><category term='BCS'/><category term='Disposing'/><category term='SharePoint Online'/><category term='Search; FAST; Social'/><category term='AJAX'/><category term='BarCamp'/><category term='Infopath'/><category term='popularsocialtags'/><category term='SharePint'/><category term='Azure'/><category term='Interview'/><category term='Web'/><category term='ASP.NET'/><category term='Data One'/><category term='Reporting'/><category term='MVP11'/><category term='SPServices'/><category term='WF'/><category term='Community'/><category term='PowerShell'/><category term='Social Computing'/><category term='Beta'/><category term='SQL Azure'/><category term='MVP Summit; MVP11'/><category term='IronPython'/><category term='Contoso'/><category term='Automation'/><category term='Office 365'/><category term='Mobile'/><category term='LINQ'/><category term='Providers'/><category term='MVP Summit'/><category term='Metadata'/><category term='jQuery'/><category term='SPAC'/><category term='Lookup Field with Picker'/><category term='SPD Actions 2010'/><category term='Cloud Computing'/><category term='Office'/><category term='Exams'/><category term='Web Services'/><category term='SharePoint'/><category term='PowerActivity'/><category term='MVP'/><category term='ilsp'/><category term='ShareCamp'/><category term='Swiss'/><category term='Workflow'/><category term='PowerPoint'/><category term='Search'/><category term='FAST'/><category term='Nintex'/><category term='Web 2.0'/><category term='TechEd'/><category term='Theory'/><category term='Open Source'/><category term='Business'/><category term='C#'/><category term='Development'/><category term='Myths'/><category term='SP2010'/><category term='SOD'/><category term='PowerWebPart'/><category term='Features'/><category term='Agile'/><category term='SharePoint Designer Actions'/><category term='WCF'/><category term='Evolution'/><category term='CollabDays'/><category term='SharePoint Designer'/><category term='Dynamic'/><category term='Tools'/><category term='IronRuby'/><category term='Object Model'/><category term='Crawler'/><category term='Steve Ballmer'/><category term='Wiki'/><category term='JavaScript'/><category term='Europe'/><category term='Event'/><category term='.NET'/><category term='CodePlex'/><title type='text'>Comments on iLove SharePoint: The Perfect Loop - Looping Through All Webs in A S...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.ilovesharepoint.com/feeds/1733713796874684387/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3766174345251248841/1733713796874684387/comments/default'/><link rel='alternate' type='text/html' href='http://www.ilovesharepoint.com/2011/07/perfect-loop-looping-through-all-webs.html'/><author><name>Christian</name><uri>http://www.blogger.com/profile/16986066591633364914</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp1.blogger.com/_J6SMSGCmItU/SGAIxRt-lLI/AAAAAAAAABo/EqgbBGe38FM/S220/DSC_0314_small.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3766174345251248841.post-1212664124663499068</id><published>2011-07-06T11:17:56.217+02:00</published><updated>2011-07-06T11:17:56.217+02:00</updated><title type='text'>Hi,
In the first example I use ServerRelativeUrl=&amp;...</title><content type='html'>Hi,&lt;br /&gt;In the first example I use ServerRelativeUrl=&amp;gt;Performance is fine (like with WebInfo). In the second example I show what happens when you access a property that is not included within the web header. Third example shows how you can use WebInfo. WebInfo avoids that you access an unloaded property by accident. In addition the WebInfo approach behaves internally a bit different. For example it doesn&amp;#39;t register the webs as opened in the parent site. Anyway the first example is fine (and still the way go in SharePoint 2007), but I would recommend the WebInfo approach for looping through webs. &lt;br /&gt;Bye,&lt;br /&gt;Christian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3766174345251248841/1733713796874684387/comments/default/1212664124663499068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3766174345251248841/1733713796874684387/comments/default/1212664124663499068'/><link rel='alternate' type='text/html' href='http://www.ilovesharepoint.com/2011/07/perfect-loop-looping-through-all-webs.html?showComment=1309943876217#c1212664124663499068' title=''/><author><name>Christian</name><uri>http://www.blogger.com/profile/16986066591633364914</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://bp1.blogger.com/_J6SMSGCmItU/SGAIxRt-lLI/AAAAAAAAABo/EqgbBGe38FM/S220/DSC_0314_small.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ilovesharepoint.com/2011/07/perfect-loop-looping-through-all-webs.html' ref='tag:blogger.com,1999:blog-3766174345251248841.post-1733713796874684387' source='http://www.blogger.com/feeds/3766174345251248841/posts/default/1733713796874684387' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1127274453'/></entry><entry><id>tag:blogger.com,1999:blog-3766174345251248841.post-3149370637234059072</id><published>2011-07-06T11:08:46.385+02:00</published><updated>2011-07-06T11:08:46.385+02:00</updated><title type='text'>You are cheating with your example. In the first e...</title><content type='html'>You are cheating with your example. In the first example you load the &lt;b&gt;AlternateCssUrl&lt;/b&gt; attribute. &lt;br /&gt;&lt;br /&gt;In the SPWebInfo example you load the &lt;b&gt;ServerRelativeUrl&lt;/b&gt; attribute that was already in the web attributes. So why use the SPWebInfo? &lt;br /&gt;&lt;br /&gt;Furthermore the SPWebInfo properties don&amp;#39;t have a AlternateCssUrl attribute. So if you wanted to get this attribute you will always have the roundtrip. &lt;br /&gt;&lt;br /&gt;Please correct me if i&amp;#39;m wrong.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3766174345251248841/1733713796874684387/comments/default/3149370637234059072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3766174345251248841/1733713796874684387/comments/default/3149370637234059072'/><link rel='alternate' type='text/html' href='http://www.ilovesharepoint.com/2011/07/perfect-loop-looping-through-all-webs.html?showComment=1309943326385#c3149370637234059072' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.ilovesharepoint.com/2011/07/perfect-loop-looping-through-all-webs.html' ref='tag:blogger.com,1999:blog-3766174345251248841.post-1733713796874684387' source='http://www.blogger.com/feeds/3766174345251248841/posts/default/1733713796874684387' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-853198771'/></entry></feed>
