SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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