Pages

Men

rh

7/10/2012

Much of the functionality of a module can be implemented in a global.asax file. When do you create an HTTP module over using Global.asax File?

Much of the functionality of a module can be implemented in a global.asax file. When do you create an HTTP module over using Global.asax File?
   
You create an HTTP module over using Global.asax file if the following conditions are true

1. You want to re-use the module in other applications.

2. You want to avoid putting complex code in the Global.asax file.
3. The module applies to all requests in the pipeline.

No comments :

Post a Comment