It seems that the ViewBag.Title & @RenderSection(..) executes multiple times but i can’t figure why it happens
this is a new project, i have just implemented a single controller with a single view
the Index.cshtml contains
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
and the layout:

Thanks in advance 🙂
Buried beneath your screenshot I can perceive the root of your problem:
You wanted to use
Url.Actionand notHtml.Actionwhich is something entirely different.