Is there a slick way to deploy my silverlight app and change settings programmatically?

Posted by MIke S. on Stack Overflow See other posts from Stack Overflow or by MIke S.
Published on 2012-04-10T16:08:22Z Indexed on 2012/04/10 17:28 UTC
Read the original article Hit count: 177

I am fairly new to web development. I am at the point of deployment (for testing). I have a few places (maybe 4 places) where I had to add a URI that was non-relative into the appliation. So now, at deployment, those need to be changed.

Is there a slick way of handling this? By slick I mean not manually going through the app and changing the URIs or a blanket find and replace (too risky). I only have 4 places to change now, but this could easily change and cause deployment issues.

I am using a Microsoft technology stack. Silverlight, ASP.NET, RIA, etc. Development is done in Visual Studio 2010.

I noticed that the web projects have a nifty transformation for the web.config...which is nice. Is there an equivalent mechanism for silverlight resources? Any other ways?

Any thoughts?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET