From ae8999a65e5c79fee27b0584b7324adff769d586 Mon Sep 17 00:00:00 2001 From: enisn Date: Thu, 20 Nov 2025 14:42:10 +0300 Subject: [PATCH] Update namespace selection in Blazor tutorial Adjusted the namespace declaration in the Blazor tutorial to conditionally use 'TodoApp.Pages' for Blazor UI and 'TodoApp.Components.Pages' otherwise. This clarifies the correct namespace usage based on the UI framework. --- docs/en/tutorials/todo/single-layer/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/tutorials/todo/single-layer/index.md b/docs/en/tutorials/todo/single-layer/index.md index 6e985784c0..9493b76dd9 100644 --- a/docs/en/tutorials/todo/single-layer/index.md +++ b/docs/en/tutorials/todo/single-layer/index.md @@ -580,7 +580,11 @@ using TodoApp.Services; using TodoApp.Services.Dtos; {{end}} +{{if UI=="Blazor"}} namespace TodoApp.Pages; +{{else}} +namespace TodoApp.Components.Pages; +{{end}} public partial class Index {