WinRT replacement for Csla.Server.Hosts.Silverlight.WcfPortal?

WinRT replacement for Csla.Server.Hosts.Silverlight.WcfPortal?

Old forum URL: forums.lhotka.net/forums/t/11456.aspx


TSF posted on Thursday, July 05, 2012

For interacting with a WCF service via a WinRT app, do I still use the Service="Csla.Server.Hosts.Silverlight.WcfPortal" in my service configuration?  Or is there a different one for WinRT?

Also - is this value the same if I use the new mobile compression features built in to CSLA v4.5?  Or do I have to use something different like I did when using the other compression in SL (e.g. Service="Compression.CompressedPortal")?

 

 

RockfordLhotka replied on Thursday, July 05, 2012

In the current pre-release the WinRT data portal _is_ the Silverlight data portal. The code is identical, and the configuration is identical. You should use the WinRT data portal _exactly_ like the Silverlight data portal, because it is the same thing.

I'm considering making the namespace technology neutral for the next pre-release, though that'd be a breaking change for existing Silverlight users.

Copyright (c) Marimer LLC