We are designing a system where we will have a site per customer. The site will be created based on a custom site template.

This site will have a Silverlight webpart, that will get data from a Line-of-Business application via a web service.

Is there a way in which the Silverlight application can know which site it is on, so that it requests the correct data?




| improve this answer | |

If you are using the client object model you should be able to say ClientContext.Current.Web to get the current site.


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.