I have a custom view engine in ASP.NET MVC and since my upgrade to RC1 my custom view engine which is applicable The area does not apply override method search view, thus breaking any controllers who sit within an area because the application is unable to find them. As I know that a good number of people are using the fields in their MVC applications, is there a solution to this problem or why this happens?
Below is my search method for reference.
Public Override Viewing Result SearchView (Controller Contents Controller Contintbox, String Visionname, String MasterName) {ViewEngineResult AreaGroup = Zero; If (Controller Consort. RouteData.Values.ContainsKey ("Area")) {string areaViewName = FormatViewName (Controller Consultant, viewName); Area area = base.findview (controller content box, area field name, mastername); If (area! = Null & area area. View! = Null) {return field area; } String shareAreaViewName = FormatSharedViewName (controller music, viewName); Field area = base.findview (controller consultant, shared array VIN name, mastername); If (area! = Null & area area. View! = Null) {return field area; }} Return base.FindView (Controller Consort, Visname, MasterName); }
They added a parameter to the FindView method. Now you usecache on both FindView and FindPartialView You can specify for
Comments
Post a Comment