views:

86

answers:

2

When, during the life cycle of a Request, does a web.config <location path='The/Path'> tag execute?

A: 

app settings are already available on the OnInit() method. do you need them before OnInit?

Oscar Cabrero
+2  A: 

The web.config is parsed at application start. It will depend on what elements are contained within the location tag as to how it will affect each individual request.

Daniel
if the location tag appeared as follows:<location path="The/Path"> <system.web> <httpRuntime executionTimeout="1500"/> </system.web> </location>when would this be parsed/executed?
E Rolnicki