How are type names from App_Code referenced in web.config?

Last post 12-26-2006 11:49 AM by bitmask. 1 replies.

Sort Posts:

  • How are type names from App_Code referenced in web.config?

    12-26-2006, 2:13 AM
    • Loading...
    • MikeSchinkel
    • Joined on 10-10-2002, 11:49 PM
    • Atlanta, Georgia USA
    • Posts 131

    In VWD2005, How are type names from App_Code referenced in web.config?    For example, if I want to create a config section handler, how do I specify in web.config the types to use if my config section handler code is in App_Code?

     

    -Mike Schinkel
    http://www.mikeschinkel.com/blogs/
    http://www.welldesignedurls.org/
  • Re: How are type names from App_Code referenced in web.config?

    12-26-2006, 11:49 AM
    • Loading...
    • bitmask
    • Joined on 07-29-2003, 11:18 AM
    • Citizen of the Earth
    • Posts 1,172
    • TrustedFriends-MVPs

    You can use App_Code as the assembly name, e.g:

    <httpHandlers>       
      <add type="MyClass, App_Code" ... />
    </httpHandlers>

    Scott
    http://www.OdeToCode.com/blogs/scott/
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter