user1402829
user1402829

Reputation: 1

How iis distinguish between mvc request and asp.netpage request

How does IIS distinguish between an asp.net mvc request or a normal asp.net page request and how does it process the two different requests?

Can anyone please help me with this?

Upvotes: 0

Views: 642

Answers (1)

Richard Dalton
Richard Dalton

Reputation: 35803

The routing (generally configured in the global.asax) configures URLs to be handled by controllers/actions instead of actual aspx pages.

If the url doesn't match a route, it will try and find an actual file instead of an action.

Upvotes: 1

Related Questions