2
votes

I reference ADO.NET Data Service in my SilverLight project and I need to define URL for this Data Service. So the question is what is the best place to store this URL? When I used WCF Services it was generated ServiceReferences.ClientConfig, is there something similar for ADO Data Services?

1

1 Answers

0
votes

If it's a data services on the local web app the URI should be relative and you shouldn't need it to be configurable.

If it's for a cross domain site but it doesn't change you could stick it in a xaml static resource.

If it needs to be user configurable it'll need to go into isolated storage on the client.