tags:

views:

33

answers:

1

How does IIS7 know whether the file being served being static of dynamic content?

A: 

IIS checks to see if there's a handler mapping for the file extension. If there isn't, the file path is passed to the modules defined in the StaticFile handler mapping which will use the StaticFileModule to determine if there's a matching mime type.

Kev