<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Creating scalable applications using the CmsApplicationContext</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx</link><description>MCMS context objects are not really designed for long running scenarios. Usually long running application need to take care on releasing unused resources and do housekeeping. Unfortunatelly MCMS context objects do not have such features implemented. Allocated</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Stefan: Creating scalable applications using CmsApplicationContext</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#386955</link><pubDate>Mon, 07 Mar 2005 17:05:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:386955</guid><dc:creator>andrew connell</dc:creator><description /></item><item><title>re: Creating scalable applications using CmsApplicationContext</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#389237</link><pubDate>Tue, 08 Mar 2005 15:33:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:389237</guid><dc:creator>Chester Ragel</dc:creator><description>Great article.. </description></item><item><title>re: Creating scalable applications using the CmsApplicationContext</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#392809</link><pubDate>Fri, 11 Mar 2005 06:16:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:392809</guid><dc:creator>Alex</dc:creator><description>Fantastic article, it certainly appears more streamlined and would be much less intensive to memory.&lt;br&gt;&lt;br&gt;However, if I understand this code properly; it will not allow you to maintain the channel/posting hierarchy the way recursion does, or does it?</description></item><item><title>re: Creating scalable applications using the CmsApplicationContext</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#393089</link><pubDate>Fri, 11 Mar 2005 07:18:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:393089</guid><dc:creator>Stefan Goßner [MSFT]</dc:creator><description>Actually it is more or less the same method as with iteration. The Stack simulates the recursion in an iterative algorithm. &lt;br&gt;&lt;br&gt;You could easily adapt any recursive algorithm using this approach.</description></item><item><title>re: Creating scalable applications using the CmsApplicationContext</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#396289</link><pubDate>Wed, 16 Mar 2005 04:41:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:396289</guid><dc:creator>Reed Rector</dc:creator><description>I've been running into the memory issues with CmsApplicationContext myself, and switching to this approach worked great. </description></item><item><title>Problem with CmsApplicationContext and posting collections</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#398836</link><pubDate>Sat, 19 Mar 2005 07:20:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:398836</guid><dc:creator>Jason</dc:creator><description>Hey Stefan,&lt;br&gt;&lt;br&gt;Due to the huge number of authors on our site we're trying to write a script that will allow us to collect all the postings on a site who have a locking owner and release the ownership so that those pages can be edited by more than one author.&lt;br&gt;&lt;br&gt;We've adapted your code above to traverse the site and build a PostingCollection of all of the postings in question.  However, eventhough we have the script authenticating as a site admin, we get insufficient rights errors when trying to pull individual postings put of the collection.  Can you shed any light on this issue?&lt;br&gt;&lt;br&gt;Code snip:&lt;br&gt;&lt;br&gt;using (CmsApplicationContext ctxAdmin = new CmsApplicationContext()) { &lt;br&gt;&lt;br&gt;ctxAdmin.AuthenticateAsUser(&amp;quot;WinNT://Domain/adminuser&amp;quot;, &amp;quot;password&amp;quot;, PublishingMode.Update);&lt;br&gt;&lt;br&gt;PostingCollection colPostings = GetPostings(bIsRecursive);&lt;br&gt;&lt;br&gt;foreach (Posting p in colPostings)&lt;br&gt;{&lt;br&gt; p.ReleaseOwnership();&lt;br&gt;}&lt;br&gt;&lt;br&gt;}</description></item><item><title>Differences between CmsHttpContext.Current.Mode and WebAuthorContext.Current.Mode</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#410990</link><pubDate>Fri, 16 Sep 2005 12:42:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:410990</guid><dc:creator>Stefan Goßner</dc:creator><description>This weeks are received two questions caused by the fact that the difference between CmsHttpContext.Current.Mode...</description></item><item><title>Differences between CmsHttpContext.Current.Mode and WebAuthorContext.Current.Mode</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#410994</link><pubDate>Fri, 16 Sep 2005 13:17:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:410994</guid><dc:creator>Stefan Goßner</dc:creator><description>This week I received two questions on confusion caused by the fact that the difference between CmsHttpContext.Current.Mode...</description></item><item><title>Differences between CmsHttpContext.Current.Mode and WebAuthorContext.Current.Mode</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#410995</link><pubDate>Fri, 16 Sep 2005 13:19:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:410995</guid><dc:creator>Stefan Goßner</dc:creator><description>This week I received two questions on confusion caused by the fact that the difference between CmsHttpContext.Current.Mode...</description></item><item><title>Differences between CmsHttpContext.Current.Mode and WebAuthorContext.Current.Mode</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#410996</link><pubDate>Fri, 16 Sep 2005 13:21:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:410996</guid><dc:creator>Stefan Goßner</dc:creator><description>This week I received two questions on confusion caused by the fact that the difference between CmsHttpContext.Current.Mode...</description></item><item><title>CmsHttpContext Vs CmsApplicationContext &amp;laquo; Nilang Shah</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#1159031</link><pubDate>Wed, 06 Jun 2007 09:59:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1159031</guid><dc:creator>CmsHttpContext Vs CmsApplicationContext « Nilang Shah</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://nilangshah.wordpress.com/2007/06/06/cmshttpcontext-vs-cmsapplicationcontext/"&gt;http://nilangshah.wordpress.com/2007/06/06/cmshttpcontext-vs-cmsapplicationcontext/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Channels/postings looping-performance/best practice | keyongtech</title><link>http://blogs.technet.com/stefan_gossner/archive/2005/03/07/386526.aspx#3189269</link><pubDate>Thu, 22 Jan 2009 05:19:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3189269</guid><dc:creator>Channels/postings looping-performance/best practice | keyongtech</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.keyongtech.com/361029-channels-postings-looping-performance-best"&gt;http://www.keyongtech.com/361029-channels-postings-looping-performance-best&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>