SiberianGuy
SiberianGuy

Reputation: 25302

What string does come to ASP.NET MVC route?

What string does come to ASP.NET MVC route if I request http://subdomain.domain.com/pathAndQuery?

Is route applied to the whole string or to pathAnQuery part only?

Upvotes: 0

Views: 44

Answers (1)

spolto
spolto

Reputation: 4551

Routes are applied just to the pathAndQuery.

This is why your routes work on your development and production sites despite the fact that they have different URLs.

Upvotes: 1

Related Questions