public Page() { InitializeComponent(); Csla.DataPortal.ProxyTypeName = "Csla.DataPortalClient.WcfProxy, Csla"; Csla.DataPortalClient.WcfProxy.DefaultUrl = "http://localhost:4769/WcfPortal.svc"; ClassA.AddObjectAuthorizationRules(); ClassB.AddObjectAuthorizationRules(); }