Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7169793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:04:55+00:00 2026-05-28T15:04:55+00:00

While debugging ASP.NET MVC source i found MVC-ControllerTypeCache.xml file is used. But i am

  • 0

While debugging ASP.NET MVC source i found “MVC-ControllerTypeCache.xml” file is used.
But i am not able to understand the use of this file.I mean where is this file stored?
How asp.net MVc makes use of this file?
Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:04:56+00:00Added an answer on May 28, 2026 at 3:04 pm

    The file is used to cache controller types to avoid expensive reflection lookups. It is dynamically generated and stored in the c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\NAMEOFYOURAPP\xxxxx\xxxxxxxx\UserCache\ folder.

    It’s handled by the TypeCacheUtil internal class that you could find in the TypeCacheUtil.cs in the ASP.NET MVC source code.

    Here’s an example of how this file might look like:

    <?xml version="1.0" encoding="utf-8"?>
    <!--This file is automatically generated. Please do not modify the contents of this file.-->
    <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>
    

    There’s also the MVC-AreaRegistrationTypeCache.xml which is used to cache areas.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to modify source files while debugging my ASP.NET MVC app. I know
I get this problem very often while debugging a ASP.Net MVC(3) application. I found
I've been getting an error recently while debugging an ASP.NET application in Visual Studio
How to access stack frame information while debugging ASP.net program?
How do I display localhost traffic in Fiddler while debugging an ASP.NET application?
Is there a way to enable code coverage while debugging a asp.net site (+assemblies)?
I found this: ASP.NET forms authentication - auto login with a test account while
While debugging the code below, BroadcastReceiverCustom is being called but PhoneStateListenerCustom is not. For
This is not an MVC topic. I have an ASP.NET Application which performs URL
While debugging an ASP.NET application, I want to get a print-out of the entire

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.