<?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: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51978.aspx</link><pubDate>Wed, 22 Feb 2012 19:27:21 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51978</guid><dc:creator>sergeyb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51978.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51978</wfw:commentRss><description>&lt;p&gt;Jack,&lt;/p&gt;
&lt;p&gt;This process should work just fine.&amp;nbsp; It should work regardless of you using config file or not.&amp;nbsp; It is not intended to be a breaking change.&amp;nbsp; Can you post a sample project that we can use for testing?&amp;nbsp; Did you try what I suggested and capture WCF debug information?&lt;/p&gt;
&lt;p&gt;Please let me know more details so that I can look some more into the issue.&lt;/p&gt;
&lt;p&gt;Sergey&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51960.aspx</link><pubDate>Wed, 22 Feb 2012 03:24:25 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51960</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51960.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51960</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t know what is happening. I upgraded all the sample apps without issue...&lt;/p&gt;
&lt;p&gt;Maybe it is something to do with compression? Though&amp;nbsp;a couple of the samples use compression too...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51947.aspx</link><pubDate>Tue, 21 Feb 2012 19:50:41 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51947</guid><dc:creator>Jack</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51947.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51947</wfw:commentRss><description>&lt;p&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  MicrosoftInternetExplorer4
  
   
   
   
   
   
   
   
   
   
   
   
  

 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 



&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;That is one of my issues &amp;ndash; it is a breaking change going from
4.2 to 4.3 for me.&amp;nbsp; I end up with the Remote server not found
errors.&amp;nbsp; As I mentioned earlier I tried doing the all or nothing approach,
that didn&amp;rsquo;t work, so I rolled back, finally got things working again.&amp;nbsp;
Then I ran the 4.3 installer with the plans of starting another version and it
replaced my 4.2 install.&amp;nbsp; The way I noticed is my next rebuild then picked
up the 4.3 dll&amp;rsquo;s and I got the remote server not found errors again.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;I had to then do the rollback and uninstall of all CSLA
installations (kept complaining about newer version being installed when I ran
the MSI&amp;rsquo;s).&amp;nbsp; I put back 4.2 and got things running again.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;I then started a new SVN checkout against 4.3 and after a
fruitless afternoon then posted in the forums.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;My setup is simple Web project to host the Silverlight Client
and then the Silverlight Client talks directly to the WCF web application using
the basic compression example in the forums. &amp;nbsp;&amp;nbsp;It is configured with
a ServiceReferences.ClientConfig file, not the application startup method.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;I haven&amp;rsquo;t changed that since 3.8 (my production deployment) and
had no problems installing all dev builds through 4.2.x&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:11pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;color:#1f497d;"&gt;Jack&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51908.aspx</link><pubDate>Fri, 17 Feb 2012 21:04:34 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51908</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51908.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51908</wfw:commentRss><description>&lt;p&gt;I would recommend going from 4.2 to 4.3 first - which should be entirely seamless.&lt;/p&gt;
&lt;p&gt;Then work on configuring the client and server to use the new binary reader/writer.&lt;/p&gt;
&lt;p&gt;A Silverlight client must be configured in code as the app starts up. The app server is configured in web.config.&lt;/p&gt;
&lt;p&gt;The change log document has Sergey&amp;#39;s writeup of the required configuration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51885.aspx</link><pubDate>Thu, 16 Feb 2012 23:33:00 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51885</guid><dc:creator>Jack</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51885.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51885</wfw:commentRss><description>&lt;p&gt;Would you (or someone else) be able to post some basic configuration infomation on how to set that up in the 4.3.x model?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m having horrible issues going from 4.2.x using a serviceReferences.clientconfig to the new model.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51784.aspx</link><pubDate>Fri, 10 Feb 2012 21:58:04 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51784</guid><dc:creator>tbaldridge</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51784.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51784</wfw:commentRss><description>&lt;p&gt;With our app we send a large amount of data across the wire via CSLA. It was our initial performance issues with the serializer that me looking into how to improve the serialization.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I think what should be mentioned though, is that there is a &amp;quot;critical mass&amp;quot; of sorts where this new serializer begins to be a big improvement. In our app, we realized that we were trying to stream 30-70MB of data to the client, and although this compressed down to about 3MB of data after it hit the compressor (SharpZipLib), still, that pressure on the serializer was intense.&lt;/p&gt;
&lt;p&gt;With our custom serializer (which is very very close to the new serializer in 4.3.0) we can send massive lists of objects without issue. We can send 70k records to the server in about a 10th of the time of the old serializer.&lt;br /&gt;&lt;br /&gt;But back on track...the issue is, the larger your dataset, the more time will be spent in compression, but also the more&amp;nbsp;benefit&amp;nbsp;you will see with compression. The smaller the datasets, the less&amp;nbsp;benefit&amp;nbsp;you&amp;#39;ll see with compression, but also the faster the whole processes will be. So for small datasets, why turn compression off? Compression will only take a fraction of the time it takes to send the data down the wire. For larger datasets (and mobile apps) you pretty much have to have compression, or the client will be waiting forever to get the data.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The short version is, we&amp;#39;re using the new serializer format, with compression turned on. And and we have no complaints about either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51776.aspx</link><pubDate>Fri, 10 Feb 2012 13:43:10 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51776</guid><dc:creator>sergeyb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51776.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51776</wfw:commentRss><description>&lt;p&gt;404 is the standard message you get from SL WCF stack as a result of almost any possible error on the server.&amp;nbsp; I think you should put in WCF debugging into your web.config to find out the real issue if you have trouble debugging otherwise.&lt;/p&gt;
&lt;p&gt;Just add this section to web.config and run your app to hopefully see the real error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;lt;system.diagnostics&amp;gt; &lt;br /&gt;&amp;lt;sources&amp;gt; &lt;br /&gt;&amp;lt;source name=&amp;quot;System.ServiceModel&amp;quot; &lt;br /&gt;switchValue=&amp;quot;Information, ActivityTracing&amp;quot; &lt;br /&gt;propagateActivity=&amp;quot;true&amp;quot;&amp;gt; &lt;br /&gt;&amp;lt;listeners&amp;gt; &lt;br /&gt;&amp;lt;add name=&amp;quot;traceListener&amp;quot; &lt;br /&gt;type=&amp;quot;System.Diagnostics.XmlWriterTraceListener&amp;quot; &lt;br /&gt;initializeData= &amp;quot;c:\Traces.svclog&amp;quot; /&amp;gt; &lt;br /&gt;&amp;lt;/listeners&amp;gt; &lt;br /&gt;&amp;lt;/source&amp;gt; &lt;br /&gt;&amp;lt;/sources&amp;gt; &lt;br /&gt;&amp;lt;/system.diagnostics&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51775.aspx</link><pubDate>Fri, 10 Feb 2012 13:40:09 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51775</guid><dc:creator>sergeyb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51775.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51775</wfw:commentRss><description>&lt;p&gt;On #4.&amp;nbsp; I think the important thing is the choise that you have.&amp;nbsp; You can decide what is more important to you and your application, CPU/Memory or size of the data over the wire.&amp;nbsp; The choise is entirely yours.&amp;nbsp; My recommendation would be to test all configuration, monitoring memory and CPU usage and then decide.&amp;nbsp; As I mentioned before, you can use compression on top of the new scheme, and will ikley end up still with much better results then before.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51764.aspx</link><pubDate>Thu, 09 Feb 2012 22:50:43 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51764</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51764.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51764</wfw:commentRss><description>&lt;p&gt;You probably can&amp;#39;t use the clientconfig file when using the new serialization model.&lt;/p&gt;
&lt;p&gt;The client-side data portal configures itself either via code or from the config file, but not both. The new serialization model requires code-based configuration.&lt;/p&gt;
&lt;p&gt;This is because there is no System.Configuration in Silverlight, so we can&amp;#39;t really leverage the clientconfig file ourselves - so we need to choose one or the other.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51763.aspx</link><pubDate>Thu, 09 Feb 2012 22:10:34 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51763</guid><dc:creator>Jack</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51763.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51763</wfw:commentRss><description>&lt;p&gt;I am currently using the SL/WCF Data Portal configuration with a ServiceReferences.ClientConfig and&amp;nbsp;the standard&amp;nbsp;Compression implementation.&amp;nbsp; I tried reverting from the Compression Host to the basic default host as well as implementing the steps outlined in the ReleaseNotes but all I ended up with for all my efforts is a RemoteServer NotFound message.&lt;/p&gt;
&lt;p&gt;I made a few attempts to model my configuration after the ProjectTracker implementation but no avail.&lt;/p&gt;
&lt;p&gt;I then rolled back all my code changes and simply used the 4.3 release and again I had the same issues.&lt;/p&gt;
&lt;p&gt;Rolling back to 4.2 and rebuilding finally restored my application&lt;/p&gt;
&lt;p&gt;Given the information provided in the release notes should that work with my current setup?&amp;nbsp; Are there &amp;#39;baby&amp;#39; steps I can make to ensure it works?&amp;nbsp; My setup is Web to host SL app and SL Client talks directly to WCFHost Web app.&lt;/p&gt;
&lt;p&gt;Also I recompiled the SL4 project as SL5 before referencing in my application.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51721.aspx</link><pubDate>Mon, 06 Feb 2012 22:10:52 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51721</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51721.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51721</wfw:commentRss><description>&lt;p&gt;In the alpha release you can use SL 4 or 5.&lt;/p&gt;
&lt;p&gt;In the next release the CSLA assemblies will be bound to SL 5, so you&amp;#39;ll need to use SL 5 to use that version of 4.3.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51717.aspx</link><pubDate>Mon, 06 Feb 2012 20:39:07 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51717</guid><dc:creator>Jack</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51717.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51717</wfw:commentRss><description>&lt;p&gt;To use this with a SL5 application is the recommended approach to leave the libraries as SL4 or to recompile as SL5?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51627.aspx</link><pubDate>Mon, 30 Jan 2012 23:05:29 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51627</guid><dc:creator>Tiago Freitas Leal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51627.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51627</wfw:commentRss><description>&lt;p&gt;Looking back at my compression adventures (&lt;a href="http://forums.lhotka.net/forums/p/8067/38627.aspx#38627"&gt;http://forums.lhotka.net/forums/p/8067/38627.aspx#38627&lt;/a&gt;) I found out that the BinaryFormatter byte stream was compressed to 80% of its original size, when using ICSharpCode.SharpZipLib.dll. I guess the Xml byte stream could easily be compressed to 90%. But that&amp;#39;s not the point. The point is the compression/decompression overhead.&lt;/p&gt;
&lt;p&gt;Usually we need to compress ALL data before starting (compressed) data transmission. Likewise, we need to receive all (compressed) data before starting to decompress. The data is delivered to the application only after it&amp;#39;s all decompresssed. This is a nuisance to say the least and only pays back on very low bandwidth lines (like 2 MBps wireless modems); on regular wired networks, compression results on data taking longer to arrive. (I didn&amp;#39;t test on a local wireless network)&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;I also tried other open source compression algorithm - some GPL and&amp;nbsp;some &amp;quot;use as you wish&amp;quot;:&amp;nbsp;SharpZipLib proved to be the one that compresses most but the slowest one.&lt;/p&gt;
&lt;p&gt;At the time I was told to use a Sink and an algorithm that can compress the data as it passes by and doesn&amp;#39;t have to wait for the whole packet but I didn&amp;#39;t try that solution.&lt;/p&gt;
&lt;p&gt;Back to the point&lt;/p&gt;
&lt;p&gt;1) Can the&amp;nbsp;MobileFormatter start transmission&amp;nbsp;of data before... well, never mind. The MobileFormatter doesn&amp;#39;t take care of data transmission, just prepares the packet of data for transmission.&lt;/p&gt;
&lt;p&gt;2) Does the MobileFormatter delivers data faster than a compression engine? Yes, of course it does, since it just does a simple data streamline job and doesn&amp;#39;t use complex mathematical algorithms.&lt;/p&gt;
&lt;p&gt;3) Does the reduced physical transmission time overcome the overhead of the MobileFormatter? I didn&amp;#39;t test, but I believe so.&lt;/p&gt;
&lt;p&gt;4)&amp;nbsp;Does the reduced physical transmission time overcome the overhead of any compression engine? Referring to my previous tests with Remoting, I don&amp;#39;t believe it does.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51620.aspx</link><pubDate>Mon, 30 Jan 2012 15:33:06 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51620</guid><dc:creator>RockfordLhotka</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51620.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51620</wfw:commentRss><description>&lt;p&gt;&lt;blockquote&gt;&lt;div&gt;&lt;img src="http://forums.lhotka.net/Themes/hawaii/images/icon-quote.gif"&gt; &lt;strong&gt;sergeyb:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;
&lt;p&gt;It does, but you would have to leave your own markers in the stream to let you know how to handle that specific &amp;quot;primitive&amp;quot; type.&amp;nbsp; You would have to do that on both ends: read and write.&amp;nbsp; I think we could open up existing class for that, provided Rocky is cool with that and I have some time to do so along with unit tests to support.&lt;/p&gt;
&lt;div style="CLEAR:both;"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think we&amp;#39;ll pursue this. We have a serialization model, and we&amp;#39;ve now opened the model so it is possible for people to swap in their own reader/writer pairs - so if you want something different you can write it.&lt;/p&gt;
&lt;p&gt;In this particular scenario, the value type has to implement two simple methods: OnSetState/OnGetState. Even if we went to all the work to enable a custom serialization type, all that would do is move the code from those two methods into some other location. It wouldn&amp;#39;t save any code, it would just rearrange it.&lt;/p&gt;
&lt;p&gt;To be honest, I&amp;#39;d much rather spend that dev time optimizing the byte stream and making sure we fully and reliably cover all existing serialization scenarios. Obviously MobileFormatter needs to work in a very reliable manner, so having as many people (you!) test it as possible is important, and having Sergey able to do optimizations and fixes is critical.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Re: CSLA 4 version 4.3.0 alpha available</title><link>http://forums.lhotka.net/forums/thread/51592.aspx</link><pubDate>Fri, 27 Jan 2012 14:29:26 GMT</pubDate><guid isPermaLink="false">49a2225a-bd1e-4c5d-a665-720b81e87ca9:51592</guid><dc:creator>sergeyb</dc:creator><slash:comments>0</slash:comments><comments>http://forums.lhotka.net/forums/thread/51592.aspx</comments><wfw:commentRss>http://forums.lhotka.net/forums/commentrss.aspx?SectionID=5&amp;PostID=51592</wfw:commentRss><description>&lt;p&gt;Even with the new scheme compression will likley shrink the stream some.&amp;nbsp; The key point though is that compression is not free.&amp;nbsp; You are eating up CPU cycles and memory doing it, on both client and server.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>