Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6187539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T02:04:33+00:00 2026-05-24T02:04:33+00:00

Need an idea on best practise in finding a solution. We are looking at

  • 0

Need an idea on best practise in finding a solution.

We are looking at developing Silverlight controls for CRM forms that will need to reference a common configuration file for data. It is a file that will need to be maintained periodically every once in a while. We don’t want to be hardcoding values into the Silverlight control.

My question is… Where/What/How do we provide a config file for a Silverlight control?

I tried uploading a JS web resource that simply was a JSON array full of settings that I tried to access from the Silverlight control. All I got were permission errors when I used both the admin account and my domain account to do a Http get of the file and parse it. Can someone confirm that this could work if I manage to work through these annoying permission errors?

My next thought was having a CRM entity full of settings that the Silverlight control could make ODATA calls to in order to get its config data. I’m not 100% sold on the idea though.

Perhaps there is another way people have been using – if so – I’d love to see what you are doing. This could really prevent us from coming to a Silverlight enriched solution that we are after.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T02:04:34+00:00Added an answer on May 24, 2026 at 2:04 am

    We go about this in two ways.

    1. We have a configuration entity for settings that might be changed on a customer site by their administrator.
    2. For other configuration data that is unlikely to be changed, we install an XML web resource. This method means we can store a lot of data without having to create and manage complex entities (or relationships if required). If set as an unmanaged/customizable web resource, then the text editor can be used to make changes, although remember that these changes must not break the XML schema/syntax.

    This xml web resource can be retrieved in Silverlight using WebClient.DownloadStringAsync() as shown below.

    private void GetXmlConfiguration(string resourceName)
    {
        var webClient = new WebClient();
        webClient.DownloadStringCompleted += OnGetConfigurationXmlCompleted;
        webClient.DownloadStringAsync(new Uri("../Data/" + resourceName, UriKind.Relative));
    }
    
    private void OnGetConfigurationXmlCompleted(object sender, DownloadStringCompletedEventArgs e)
    {
        if (e.Error == null && !string.IsNullOrEmpty(e.Result))
        {
            //use xml string here
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

basically need to change the value that - admin_url() returns any idea?
I've gotten used to the idea that if I want/need to use alpha-trans PNGs
I need to archive data from a CRM system. Does anyone have any idea
I have a Windows Forms app that contains a groupbox with about 30 controls.
I need an idea for an efficient index/search algorithm, and/or data structure, for determining
I need to get a file from sourcesafe database programmatically. Any idea of how
I need to implement a SOAP Web Service on Jboss Seam 2.1.0. The idea
I have this idea for a free backup application. The largest problem I need
Has anyone an idea how pipebytes.com works ? I need to implement similar system
I have three buttons and need to save some data. I have a idea,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.