<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.lhotka.net/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>CSLA .NET discussion</title><link>http://forums.lhotka.net/forums/5.aspx</link><description>General discussion about CSLA .NET</description><dc:language /><generator>CommunityServer 2008.5 SP3 (Build: 36.8414)</generator><item><title>Re: Keep object on Server side only</title><link>http://forums.lhotka.net/forums/thread/51982.aspx</link><pubDate>Thu, 23 Feb 2012 02:05:22 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51982</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51982.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51982</wfw:commentRss><description>&lt;p&gt;Keep in mind that you can make data portal calls on the server and they will work fine. The real question is hiding behind Jonny&amp;#39;s answer- what server code do you have that will call the data portal, and how will you keep the resulting object in memory on the server?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general, today&amp;#39;s server technologies are designed to be stateless and you wil have to devise a way to maintain state in a world not designed to help you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: Keep object on Server side only</title><link>http://forums.lhotka.net/forums/thread/51976.aspx</link><pubDate>Wed, 22 Feb 2012 17:46:38 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51976</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51976.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51976</wfw:commentRss><description>&lt;p&gt;You can have an object that live in a &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;static class (in your own assembly) &lt;/li&gt;
&lt;li&gt;memory cache (System.Runtime.Caching.MemoryCache) &lt;/li&gt;
&lt;li&gt;distributed cache (AppFabric)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;CSLA does not&amp;nbsp; provide utilities or helper classes for &amp;quot;server side only&amp;quot; objects but not a tricky part to implement or use. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Keep object on Server side only</title><link>http://forums.lhotka.net/forums/thread/51973.aspx</link><pubDate>Wed, 22 Feb 2012 15:32:51 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51973</guid><dc:creator>Pavel</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51973.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51973</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The question is how to keep object on Server side without returning it to a client.&lt;/p&gt;
&lt;p&gt;I can see that all factory method and DataPortal_XYZ intended to return result to client.&lt;/p&gt;
&lt;p&gt;Is there any way to create object to use it during application life without even attempt to return it to client.&lt;/p&gt;
&lt;p&gt;I have 3-tier application and both libraries on client and server the same(WinForms).&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>