Vinit Sankhe
Vinit Sankhe

Reputation: 19885

What does ASP.NET MVC internally use?

What does aspnet mvc internally use (for routing)?

Application, Session, Viewstate, Cookies, Cross Page Data, Context.Items, Profiles???????

I mean how can it maintain states w/o using any of the above techniques?

Upvotes: 1

Views: 125

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038950

ASP.NET MVC routing uses none of the above. It maintains no state. Internally it uses a static dictionary to store the route definition but that's an implementation detail that you should not depend on for any reason as it might change in future versions.

Upvotes: 8

Related Questions