How far have you got with this? The first step I guess is to create a DirectoryInfo object. You can then use foreach FileInfo within the DirectoryInfo object. All in System.IO I believe.
HttpApplication ha = (HttpApplication)HttpContext.Current.ApplicationInstance;
string strConn = ha.Application["ConnectDB"].ToString();
I've not tested this at all but it may help?
Thanks JM,
I already have the interface in place and being used by Host and Plug-In. I think I found the answer tho which is to break out the App_Code stuff into its own project so that I can compile the dll straight from that and then just access that both from the Plug-In and the main app...
Hi all,
I'm fairly new to c# and vs so I hope this question isn't an obvious one.
I have written a project but have then decided to segment parts of the code into PlugIn components.
My question is what is the best way to access parts of the parent code from the PlugIn e.g. the Dataaccess area...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.