### Description The section [Return a RazorComponentResult from an MVC controller action](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/integration?view=aspnetcore-8.0#return-a-razorcomponentresult-from-an-mvc-controller-action) suggests that a Layout will be applied to the Razor component, but I can't get it to work. It simply renders the content of `Welcome.razor`. ### Page URL https://learn.microsoft.com/en-us/aspnet/core/blazor/components/integration?view=aspnetcore-8.0 ### Content source URL https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/integration.md ### Document ID d7e39bbc-cd54-92aa-4997-f9dd39dd6ef3 ### Article author @guardrex