SubSonic Forums
All Your Database Are Belong To Us

Using standalone DLL in a web application

Latest post 08-19-2007 11:06 AM by spookytooth. 2 replies.
  • 08-19-2007 11:06 AM

    Using standalone DLL in a web application

    If I have built my DAL as a standard DLL and want to use it in my web application, why must I have to specify my SubSonic provider and repeat my connection string in the web.config. I already have the connection string in App.Config and don't want this to be duplicated.

    thanks,

    Trevor
  • 08-20-2007 2:33 AM In reply to

    Reply: Using standalone DLL in a web application

    The execution environment is the web, so you need to have the bits setup in web.config. The generation (design-time) environment is your class project - so when you generate up the code it needs to see the config.

    You can use a config file and set the "src" tag if you like, but I'm not sure what the problem is here - it's just text...

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!

Page 1 of 1 (2 items) | RSS