Click here to Skip to main content
15,896,118 members
Articles / Web Development / ASP.NET

Generating connection string in web.config while loading dll in application

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
29 Mar 2013CPOL 3.1K  
I have written a class library file and use the dll of this file in web applicationi write some code in this dll like generating connection string as well as appSettings in web.config filebut problem is that.... i want to generate this connection string and appsettings data while adding...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
29 Mar 2013Raza_theraaz
If you want to add a dll at run time and use its methods, then you have to use dynamic loading technique already available in C#. Namespaces:using System.Reflection;using System.IO; // For FileNotFoundException definition.code:public void myDllStuff(string myDll) // Put your...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
This is a Organisation (No members)


Comments and Discussions