<?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: ProjectTracker: What purpose fulfills the ProjectResourceEditCreator class?</title><link>http://forums.lhotka.net/forums/thread/53284.aspx</link><pubDate>Fri, 20 Jul 2012 16:42:28 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:53284</guid><dc:creator>MarkSutton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/53284.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=53284</wfw:commentRss><description>&lt;p&gt;I&amp;#39;d actually like to raise this issue again.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m looking at the current (4.3.12) version of the ProjectTracker project from a WPF-over-3-tiers perspective. &amp;nbsp;I also have the eBooks for CSLA 4.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;b&gt;UsingCsla4-05-WPF-SL.pdf &lt;/b&gt;book (Rev 0.4 (draft)) states the following:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;i&gt;The ProjectResourceEditCreator type is not used by the smart client applications covered in this ebook. For a full discussion of this type, please refer to the Using CSLA 4: ASP.NET MVC ebook.&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;However, when I run the WPF client in debug and add a resource to a project the following method is being called:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;class ProjectResourceEditCreator&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;
&lt;p&gt;public static void GetProjectResourceEditCreator(int resourceId, EventHandler&amp;lt;DataPortalResult&amp;lt;ProjectResourceEditCreator&amp;gt;&amp;gt; callback)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; DataPortal.BeginFetch&amp;lt;ProjectResourceEditCreator&amp;gt;(resourceId, callback);&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;I&amp;#39;m about to develop a WPF application making asynchronous calls over WCF to a middle tier, and I&amp;#39;m puzzled as to what is the advised pattern.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: ProjectTracker: What purpose fulfills the ProjectResourceEditCreator class?</title><link>http://forums.lhotka.net/forums/thread/52594.aspx</link><pubDate>Fri, 20 Apr 2012 15:27:14 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52594</guid><dc:creator>Alexander Becker</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52594.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52594</wfw:commentRss><description>&lt;p&gt;Good to know, thank you!&lt;br /&gt;I never looked inside the UI books so far.... &lt;img src="http://forums.lhotka.net/emoticons/emotion-10.gif" alt="Embarrassed" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: ProjectTracker: What purpose fulfills the ProjectResourceEditCreator class?</title><link>http://forums.lhotka.net/forums/thread/52593.aspx</link><pubDate>Fri, 20 Apr 2012 15:14:20 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52593</guid><dc:creator>JonnyBee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52593.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52593</wfw:commentRss><description>&lt;p&gt;It is described in the Using CSLA 4 ASP.NET MVC book (and with figures too):&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&amp;quot;The ProjectResourceEditCreator exists to support asynchronous smart client applications &lt;br /&gt;and stateless web server applications. This type isn&amp;rsquo;t used by synchronous smart client &lt;br /&gt;applications&lt;/i&gt;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>ProjectTracker: What purpose fulfills the ProjectResourceEditCreator class?</title><link>http://forums.lhotka.net/forums/thread/52591.aspx</link><pubDate>Fri, 20 Apr 2012 13:23:39 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:52591</guid><dc:creator>Alexander Becker</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/52591.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=52591</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am investigating a little bit within the project tracker sample application.&lt;br /&gt;Can someone explain to me for what the separate class ProjectResourceEditCreator is for?&lt;/p&gt;
&lt;p&gt;Sure, I see it creates ProjectResourceEdit instances and fetches them from the database.&lt;br /&gt;But why is this separate implemented and not by factory methods within ProjectResourceEdit?&lt;/p&gt;
&lt;p&gt;Thanks for clarification,&lt;br /&gt;Alexander&lt;br /&gt;&lt;br /&gt;btw: is there any overview documentation about the PT sample?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>