I have written a class library file and use the dll of this file in web application
i write some code in this dll like generating connection string as well as appSettings in web.config file
but problem is that.... i want to generate this connection string and appsettings data while adding this dll in web application instead of running the application
just i elaborate more to better understanding...
when i add dll in my application it added successfully no problem about it. when i run my application then connection string generate in web.config
bt what happen with this... all sessions are cleared
hence i want to generate this connection string at the time of adding this dll in application
so is there any event handler or loader is available which will help to get me result
shree.grace
0 Points
5 Posts
Generating connection string in web.config while loading dll in application
Mar 29, 2013 06:53 AM|LINK
Hi frnz..
I have written a class library file and use the dll of this file in web application
i write some code in this dll like generating connection string as well as appSettings in web.config file
but problem is that.... i want to generate this connection string and appsettings data while adding this dll in web application instead of running the application
just i elaborate more to better understanding...
when i add dll in my application it added successfully
no problem about it.
when i run my application then connection string generate in web.config
bt what happen with this...
all sessions are cleared
hence i want to generate this connection string at the time of adding this dll in application
so is there any event handler or loader is available which will help to get me result