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 119329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:38:09+00:00 2026-05-11T03:38:09+00:00

I have a custom view engine in ASP.NET MVC and since upgrading to RC1

  • 0

I have a custom view engine in ASP.NET MVC and since upgrading to RC1 my custom view engine that implements Areas as in this post by Phil Haack does not enter the override method FindView, thus breaking any controllers that sit within an area as the application is unable to find them. As I’m aware that a good number of people are using areas in their MVC applications, is anyone aware of a solution to this problem or why it happens?

Below is my findview method for reference.

    public override ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName)     {         ViewEngineResult areaResult = null;          if (controllerContext.RouteData.Values.ContainsKey('area'))         {             string areaViewName = FormatViewName(controllerContext, viewName);             areaResult = base.FindView(controllerContext, areaViewName, masterName);             if (areaResult != null && areaResult.View != null)             {                 return areaResult;             }             string sharedAreaViewName = FormatSharedViewName(controllerContext, viewName);             areaResult = base.FindView(controllerContext, sharedAreaViewName, masterName);             if (areaResult != null && areaResult.View != null)             {                 return areaResult;             }         }          return base.FindView(controllerContext, viewName, masterName);     } 
  • 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. 2026-05-11T03:38:10+00:00Added an answer on May 11, 2026 at 3:38 am

    They have added a parameter to the FindView Method. You can now specify to usecache on both FindView and FindPartialView.

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

Sidebar

Related Questions

currently I have a custom VirtualPathProvider in a Asp.net MVC web application. This VirtualPathProvider
I have a view that I want to add some custom drawing to. I
Can you have custom client-side javascript Validation for standard ASP.NET Web Form Validators? For
I am trying to create a pluggable ASP.NET MVC framework. I have extensively used
I have a custom view (an extension of a TextView) that I want to
I have question about NSView: Imagine a Custom View where the mouseDown, mouseDrag and
I have a few models that need to have custom find conditions placed on
hi i would like to create a custom calendar, this calendar will have custom
There are quite a lot of questions on SO regarding View Engines in ASP.Net
I am creating my own custom T4 Template that integrates with an ADO.NET Entity

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.