My single page application using Angular and ui-router, .NET MVC is loading the layout twice. Once in Index.cshtml and once in the ui-view page Index.cshtml contains. I don't understand why its doing this especially when I changed _ViewStart to null. The only line that is responsible for generating the _layout now is within


  Layout = "~/Views/Shared/_Layout.cshtml";

Related posts

Recent Viewed