From c12382315f3487d613b1ea7ce93ed219ea47eb70 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 19 Oct 2018 14:12:30 -0700 Subject: [PATCH] Update partial.md (#9132) React to https://github.com/aspnet/Mvc/issues/8617 --- aspnetcore/mvc/views/partial.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/aspnetcore/mvc/views/partial.md b/aspnetcore/mvc/views/partial.md index 9f25994e00..e6dcdf42f9 100644 --- a/aspnetcore/mvc/views/partial.md +++ b/aspnetcore/mvc/views/partial.md @@ -48,8 +48,6 @@ Unlike MVC view or page rendering, a partial view doesn't run *_ViewStart.cshtml Partial view file names often begin with an underscore (`_`). This naming convention isn't required, but it helps to visually differentiate partial views from views and pages. -Razor Pages doesn't serve as a page a partial view whose file name begins with an underscore. The inclusion of a `@page` directive in the partial view's markup doesn't change this behavior. Don't rely on this behavior as a means to secure a partial view. - ::: moniker-end ::: moniker range="< aspnetcore-2.0"