Are you using Google Chrome? When this happens you type the url?
If so, this is a browser feature, and in debug mode, your breakpoint stops a first request from the browser and the second that is your call. I do not know why Chrome has this behavior, but it happens
Pages Under Home Load Twice
The page/templates under the home node call webbase twice. I figure that it is taking twice as long to load the pages. Version 7.2
Webbase.cshtml @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = null; }
@{Html.RenderPartial("SiteLayout/MetaData");}
Template for List page @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "WebBase.cshtml"; }
ArticalController.cs public class ArticleController:SurfaceController {
OK, I've narrowed it down.
Any page other than the site root page calls a respective template twice. Does not matter if you call/utilize the webbase or not.
I'm running in Visual Studio 2017 in debug mode with break within respective areas.
Roland,
Are you using Google Chrome? When this happens you type the url?
If so, this is a browser feature, and in debug mode, your breakpoint stops a first request from the browser and the second that is your call. I do not know why Chrome has this behavior, but it happens
Marcio,
Using chrome. Happens whether I type url or not. So its just a debug issue. Thanks for response.
Yea. When you start typing the url, Chrome does the autocomplete. It requests from autocomplete before you finish typing.
is working on a reply...