I want the code to work as efficiently as possible. I have species that are located in places like:
~/Areas/Administration/Views/Accounts/Create.cshtml
What I would like to know is someone looked in if it is more efficient to directly encode the location of the view in action as follows:
return View("~/Areas/Administration/Views/Accounts/Create.cshtml", vm);
If this is not the case, then I believe that he will first search for all of the following locations:
~/Areas/Administration/Views/Accounts/Create.aspx ~/Areas/Administration/Views/Accounts/Create.ascx ~/Areas/Administration/Views/Shared/Create.aspx ~/Areas/Administration/Views/Shared/Create.ascx ~/Views/Accounts/Create.aspx ~/Views/Accounts/Create.ascx ~/Views/Shared/Create.aspx ~/Views/Shared/Create.ascx ~/Areas/Administration/Views/Accounts/Create.cshtml
source share