Update ui-class.md (#6170)
parent
00abcf3cbb
commit
0af1275501
|
@ -11,7 +11,7 @@ ms.technology: aspnet
|
|||
ms.topic: advanced
|
||||
uid: mvc/razor-pages/ui-class
|
||||
---
|
||||
# Create reusable UI using the Razor Class Library project.
|
||||
# Create reusable UI using the Razor Class Library project in ASP.NET Core.
|
||||
|
||||
By [Rick Anderson](https://twitter.com/RickAndMSFT)
|
||||
|
||||
|
@ -216,4 +216,4 @@ When a view, partial view, or Razor Page is found in both the web app and the Ra
|
|||
|
||||
In the sample download, rename *WebApp1/Areas/MyFeature2* to *WebApp1/Areas/MyFeature* to test precedence.
|
||||
|
||||
Copy the *RazorUIClassLib/Areas/MyFeature/Pages/Shared/_Message.cshtml* partial view to *WebApp1/Areas/MyFeature/Pages/Shared/_Message.cshtml*. Update the markup to indicate the new location. Build and run the app to verify the app's version of the partial is being used.
|
||||
Copy the *RazorUIClassLib/Areas/MyFeature/Pages/Shared/_Message.cshtml* partial view to *WebApp1/Areas/MyFeature/Pages/Shared/_Message.cshtml*. Update the markup to indicate the new location. Build and run the app to verify the app's version of the partial is being used.
|
||||
|
|
Loading…
Reference in New Issue