Re: WebService Dynamic URLs from a "child" assembly
Davy J <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <[email protected]> |
Dino, you need to copy the keys to the correct place in the web.config. The easiest way to find out where to put them is to recreate the same key in an empty website. I've used this method in the past, but now I'm more inclined to pass the parameters needed in the constructor of the class and let the implementor decide where he should stock the values, in a database, encrypted, hardcoded etc. HTH Davy J. On Fri, Nov 7, 2008 at 5:57 AM, Dean Cleaver < [email protected]> wrote: > Hi, > > I have an n-tier system where the 3rd tier down has a web reference that I > set to a dynamic URL - that's added an app.config to my code, and thus a > "Assembly.dll.config" to the output of that assembly. > > Any project that references that assembly does not get that config file > copied over. And of course I'm flying blind trying to give someone else > instructions on how to configure it remotely (what's worse, we're > configuring it for .NET Remoting). > > I see the above config file consists of some configSection and > applicationSettings values - can these be copied directly to the web.config? > I've tried to instruct them to do that, but it didn't seem to work. I can't > guarantee they got it right though - and due to PCI limitations, I am not > yet allowed to look myself. > > Would copying the above config work? Or is there something special I need > to do in the web.config to get the assembly to get this to work correctly? > > Cheers, > Dino > > =================================== > View archives and manage your subscription(s) at > http://peach.ease.lsoft.com/archives > =================================== View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives