From aa06c906ab6d19f10beb14c5d0025c5514c0eae4 Mon Sep 17 00:00:00 2001 From: Rick Anderson Date: Wed, 15 Aug 2018 16:46:41 -0700 Subject: [PATCH] Update view-components.md (#8108) --- aspnetcore/mvc/views/view-components.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aspnetcore/mvc/views/view-components.md b/aspnetcore/mvc/views/view-components.md index c9cdc5a954c4..d896c6ba4739 100644 --- a/aspnetcore/mvc/views/view-components.md +++ b/aspnetcore/mvc/views/view-components.md @@ -69,8 +69,9 @@ A view component defines its logic in an `InvokeAsync` method that returns an `I The runtime searches for the view in the following paths: - * Views/\/Components/\/\ - * Views/Shared/Components/\/\ +* /Pages/Components//\ +* Views/\/Components/\/\ +* Views/Shared/Components/\/\ The default view name for a view component is *Default*, which means your view file will typically be named *Default.cshtml*. You can specify a different view name when creating the view component result or when calling the `View` method.