The file is used to cache controller types to avoid expensive reflection searches. It is dynamically generated and stored in the c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\NAMEOFYOURAPP\xxxxx\xxxxxxxx\UserCache\ .
It is handled by the TypeCacheUtil inner class, which can be found in TypeCacheUtil.cs in the ASP.NET MVC source code.
Here is an example of what this file looks like:
<?xml version="1.0" encoding="utf-8"?> <typeCache lastModified="04/01/2012 16:35:03" mvcVersionId="3cff62e5-ef21-4e58-897f-d0f1eafd3beb"> <assembly name="Custom.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"> <module versionId="0bd9573a-7a89-4eab-b33d-cc92573fc2ba"> <type>APPNAME.Controllers.BaseController</type> </module> </assembly> <assembly name="APPNAME.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"> <module versionId="3fb0cce6-10dd-43d3-a44c-00046017b574"> <type>APPNAME.BusinessLogic.Controllers.AssetsController</type> <type>APPNAME.BusinessLogic.Controllers.HomeController</type> </module> </assembly> <assembly name="MvcContrib, Version=2.0.36.0, Culture=neutral, PublicKeyToken=null"> <module versionId="889dd733-c7a0-4ae6-8f50-934f417174ea"> <type>MvcContrib.PortableAreas.EmbeddedResourceController</type> <type>MvcContrib.SubController</type> </module> </assembly> </typeCache>
Also used is MVC-AreaRegistrationTypeCache.xml , which is used to cache areas.
source share