0

I am using Unity 2.0 with Silverlight 4 and RIA Services. Is xml configuration not supported in the web project of a Silverlight Business Application? The only way I can get the resolve method of the container to work is if I register my types at runtime vs design time in the xml config file.

ErikE
  • 48,881
  • 23
  • 151
  • 196
William
  • 317
  • 2
  • 12

1 Answers1

1

Not at this time - Silverlight doesn't have System.Configuration, which is the library that runs the app.config / web.config file. It would take a LOT of duplicated code to get the existing config syntax working in Silverlight.

There was a project on Codeplex to provide a XAML-based configuration system for Silverlight apps using Unity.

Update: found it - http://sonicnet.codeplex.com - I guess I had a bad link when looking before.

Chris Tavares
  • 29,165
  • 4
  • 46
  • 63