View Single Post
  #1 (permalink)  
Old January 2nd, 2008, 05:58 PM
Jophie Jophie is offline
Authorized User
Join Date: Oct 2007
Location: Arlington, VA, USA.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default web.config <compilation> <assemblies>

Hello All,

I hope someone can help me to explain why we need the following code in web.config.

In web.config (from TBH's full version), we have

<compilation debug="true">
   <add assembly="System.Transactions, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
   <add assembly="System.Web, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
   <add assembly="System, Version=, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

My questions: why do we need <add assembly= ...> in web.config since we have mentioned in TBH_CustomEvents?? I am very curious. I tried to find it from the book, but I couldn't. Other books did mention, we should add reference in web.config.

Is it important that to have them in web.config?? But we have a custom events already. Please help and solve my questions.
Thanks in advance,