Hi,
I'm quite new to CSLA, but I'm apprciating more and more the features provided. Thanks to the team!
Anywayn I'm having a question: I was just trying to find out the difference between the following attributes:
As I understood, the MobileFactory is dedicated for silverlight to check additionnal rules on server side before accepting to go further?
I can't see the difference with ObjectFactory ! Can't we do the same? The samples provided in cslalight package make no difference in terms of usage (RemotePortalWithMobileFactory sample vs RemotePortalWithObjectFactory).
I've red this post, but this doesn't make it clear to me.
(I'm using version 3.8.2)
Thank you
Christophe
ObjectFactory is one way to implement data access code on an application server. The other way is using DataPortal_XYZ methods.
MobileFactory is a way to implement an observer on an external facing web server when deploying a Silverlight application in a 4-tier configuration. The idea is that the client request arrives at the external facing web server (in your DMZ), and you can write an observer to examine the request to see if you want to allow further processing. If you do want further processing, you'd delegate the call back to the data portal, which will relay the request to your app server (inside your real network) where your server-side code can run (DataPortal_XYZ or object factory).
This is covered in the CSLA .NET for Silverlight video series.
Ok, thank you Rockford. It is not that way I first undertsood it.
Copyright (c) Marimer LLC