An area groups Razor Pages into a separate hierarchy. Each area has its own Pages folder, alongside the application's main Pages folder. section 23.3.2
The default ASP.NET Core Identity UI uses an Identity area. This keeps account-related pages separate and lets an application replace a default page by creating a matching file under Areas/Identity/Pages. section 23.3.2
Customizing Identity layout
Place a _ViewStart.cshtml file in Areas/Identity/Pages and set its layout to /Pages/Shared/_Layout.cshtml. Identity pages then use the application's default layout. section 23.3.2
