Web.config similar to application.cfc (or application.cfm)

Last post 07-05-2006 8:02 PM by TekisFanatikus. 2 replies.

Sort Posts:

  • Web.config similar to application.cfc (or application.cfm)

    06-25-2006, 8:14 PM
    • Member
      160 point Member
    • TekisFanatikus
    • Member since 06-23-2006, 10:54 AM
    • Gatineau, QC
    • Posts 32
    Is the Web.config similar to the application.cfm (or application.cfc)? Does it cascade itself like the application.cfm file?


    CF'er learning ASP.net 2.0 - Need this ASAP!
  • Re: Web.config similar to application.cfc (or application.cfm)

    07-05-2006, 4:14 PM
    • Member
      280 point Member
    • RichWillmore
    • Member since 12-06-2005, 10:45 PM
    • Posts 63
    Similar yes but it is strictly used to house settings for your application/virtual directory.  IIRC, ColdFusion will search down 6-7 directories searching for an application.cfm file.  .NET will do the same (not sure how many dirs deep) but uses an implecit approach in 'stacking' the settings.

    Take a look at the global.asax file and its events.  That is a closer match to application.cfm in that it contains some handy events such as Session_Start, Application_BeginRequest... etc.
    http://www.csharphelp.com/archives/archive206.html

    vr, Rich
    http://richwillmore.com
  • Re: Web.config similar to application.cfc (or application.cfm)

    07-05-2006, 8:02 PM
    • Member
      160 point Member
    • TekisFanatikus
    • Member since 06-23-2006, 10:54 AM
    • Gatineau, QC
    • Posts 32
    I forgot about the global.aspx file... thanks!
    CF'er learning ASP.net 2.0 - Need this ASAP!
Page 1 of 1 (3 items)