I am using CSLA version 22.214.171.124 and Silverlight 5. I am getting an error message that is very strange. When I try to create a new business object I am getting an error Could not find default endpoint element that references contract 'WcfPortal.IWcfPortal. I do not have an endpoint with the name. I could find no reference in my code that says WcfPortal.IWcfPortal. Does anyone know why I would be getting a message for and endpoint contract name that does not exist in my code?
Did you set the data portal url as the app starts up? The data portal defaults to using the WCF proxy to talk to an app server, but you need to supply the url for the server.
The contract you are seeing is the data portal contract.
Or you can set the proxy name to Local to run the data access code on the client. Obviously that has a whole other set of implications.
The Using CSLA 4: Data Portal Configuration book has a lot of detail on all the various configuration options.
Dear Mr. Lhotka,
Than you for your response. Your answer pointed me in the right direction and I was able to resolve my issue.
Copyright (c) Marimer LLC