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

  • Home
  • SEARCH
  • 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

I have asp.net mvc application, that uses razor view engine. I want to send
currently I have a custom VirtualPathProvider in a Asp.net MVC web application. This VirtualPathProvider
VS2010 Ultimate, ASP.NET MVC 3 w/Razor. I've created a custom view engine in my
Im developing a custom view engine for implementing themes for my asp.net mvc 2
I am trying Master Detail scenario in ASP.NET MVC 3 (default view engine) .
I am programming using ASP.NET MVC 3 with Razor view engine. Here's what I'd
I have a custom View Engine that derives from WebFormViewEngine. There's a lot of
I have a custom View that I would like to embed in an WebView.
I have a custom view, that has page and block. But the problem when
I have a custom view that accepts drags. In the custom view there is

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.