I have a website website in my solution as well as two class libraries, one
for my business layer and one for my data access layer. The DAL is made up
of strongly typed datasets using the app config to get the connection
string.
I have added references within my website to the BLL and DAL projects so
when I compile the project they get added to the bin of the website. I can't
see a way of changing the app.config whithin my website as it doesn't get
added the website on compilation. I am sure there must be a way of changing
it at run time I just can't see how.
Regards, Chris.
"Jeff Dillon" <> wrote in message
news:...
> Use Notepad to change the app.config. It's read at run time
>
> Jeff
>
> "Fresno Bob" <> wrote in message
> news:u$...
>>I am creating data access layer with strongly typed datasets in a class
>>library included in a Website Project. My website uses a web.config file
>>to store the connection string but the class uses the app.config.
>>
>> When I deploy my application is there any way of changing the app config
>> without recompiling the application. I have never done this before so I
>> am not sure how it works.
>>
>> Regards, Chris.
>>
>
>
|