[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DYJTY3N6DG8AXQ8R4H1DH9":3,"skill-same:01M6DYJTY3N6DG8AXQ8R4H1DH9":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6DYJTY3N6DG8AXQ8R4H1DH9","maui-shell-navigation",null,"Guide for implementing Shell-based navigation in .NET MAUI apps. Covers AppShell setup, visual hierarchy (FlyoutItem, TabBar, Tab, ShellContent), URI-based navigation with GoToAsync, route registration, query parameters, back navigation, flyout and tab configuration, navigation events, and navigation guards. Use when: setting up Shell navigation, adding tabs or flyout menus, navigating between pages with GoToAsync, passing parameters between pages, registering routes, customizing back button behavior, or guarding navigation with confirmation dialogs. Do not use for: deep linking from external URLs (see .NET MAUI deep linking documentation), data binding on pages (use maui-data-binding), dependency injection setup (use maui-dependency-injection), or NavigationPage-only apps that don't use Shell.","managedcode\u002Fdotnet-skills","managedcode","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78253589?v=4","01M6DYDJR3EG8KB5G4PC65XCTT","Managed Code","01M6DYDJX0ZT432N04NYJW89DN",515,"MIT","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FOfficial-DotNet-MAUI\u002Fskills\u002Fmaui-shell-navigation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"shell","maui shell navigation","maui","navigation","query","when","hierarchy","linking","implementing","apps","pages","dependency injection","deep","visual","route","documentation","dependency-injection","back","do","registration","up","dependency","only","use","confirmation","data","2026-11-10 10:12:30",false,"---\nname: maui-shell-navigation\ndescription: >-\n  Guide for implementing Shell-based navigation in .NET MAUI apps. Covers AppShell\n  setup, visual hierarchy (FlyoutItem, TabBar, Tab, ShellContent), URI-based navigation\n  with GoToAsync, route registration, query parameters, back navigation, flyout and\n  tab configuration, navigation events, and navigation guards.\n  Use when: setting up Shell navigation, adding tabs or flyout menus, navigating between\n  pages with GoToAsync, passing parameters between pages, registering routes, customizing\n  back button behavior, or guarding navigation with confirmation dialogs.\n  Do not use for: deep linking from external URLs (see .NET MAUI deep linking\n  documentation), data binding on pages (use maui-data-binding), dependency injection\n  setup (use maui-dependency-injection), or NavigationPage-only apps that don't use Shell.\nlicense: MIT\n---\n\n# .NET MAUI Shell Navigation\n\nImplement page navigation in .NET MAUI apps using Shell. Shell provides URI-based navigation, a flyout menu, tab bars, and a four-level visual hierarchy — all configured declaratively in XAML.\n\n## When to Use\n\n- Setting up top-level app navigation with tabs or a flyout menu\n- Navigating between pages programmatically with `GoToAsync`\n- Passing data between pages via query parameters or object parameters\n- Registering detail-page routes for push navigation\n- Guarding navigation with confirmation dialogs (e.g., unsaved changes)\n- Customizing back button behavior per page\n\n## When Not to Use\n\n- Deep linking from external URLs or app links — see [.NET MAUI deep linking docs](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fapp-links)\n- Data binding on navigation target pages — use `maui-data-binding`\n- Dependency injection for pages and view models — use `maui-dependency-injection`\n- Apps using `NavigationPage` without Shell (different navigation API)\n\n## Inputs\n\n- A .NET MAUI project with `AppShell.xaml` as the root shell\n- Pages (`ContentPage`) to navigate between\n- Route names for detail pages not in the visual hierarchy\n\n## Rules That Change the Answer\n\nThese are the Shell-specific decisions that are easy to get wrong. Apply them\nwhenever they are relevant to what the user asked.\n\n| Situation | Do this | Not this |\n|---|---|---|\n| Declaring pages in `AppShell.xaml` | With `xmlns:views=\"clr-namespace:MyApp.Views\"` declared: `\u003CShellContent ContentTemplate=\"{DataTemplate views:MyPage}\" \u002F>` — the page is created on first navigation | `\u003CShellContent>\u003Cviews:MyPage \u002F>\u003C\u002FShellContent>`, which constructs **every** page at startup |\n| Navigating to a page not in the visual hierarchy | `Routing.RegisterRoute(\"details\", typeof(DetailsPage))` first | Calling `GoToAsync(\"details\")` unregistered — it throws at runtime |\n| Receiving navigation parameters | Implement `IQueryAttributable` on the **ViewModel** | Implementing it on the Page, which splits state from the BindingContext |\n| Passing a whole object | `ShellNavigationQueryParameters` | Serialising the object into the query string |\n| Any `GoToAsync` call | `await` it | Fire-and-forget — exceptions are swallowed and navigation races |\n| Confirming before back navigation | `ShellNavigatingEventArgs.GetDeferral()` … `deferral.Complete()` | Blocking synchronously on the dialog task |\n| Detecting back navigation | Check `e.Source == ShellNavigationSource.Pop` | Assuming every navigation is a back action |\n\n**Do not** propose `NavigationPage` \u002F `PushAsync` solutions for a Shell app, and do\nnot restructure a working `AppShell` hierarchy unless the user asked.\n\n**Answer narrowly, but completely.** Staying on topic does not mean being terse. When\nyou show a navigation change, include the pieces needed to run it: the `AppShell.xaml`\nmarkup *and* the `Routing.RegisterRoute` call, or the `GoToAsync` call *and* the\nreceiving `IQueryAttributable` \u002F `[QueryProperty]` code. Where two approaches are both\nvalid (query string vs `ShellNavigationQueryParameters`), show both and say when each\nfits — a single snippet the user still has to complete is a worse answer.\n\n## Shell Visual Hierarchy\n\nShell uses a four-level hierarchy. Each level wraps the one below it:\n\n```\nShell\n ├── FlyoutItem \u002F TabBar          (top-level grouping)\n │    ├── Tab                     (bottom-tab grouping)\n │    │    ├── ShellContent        (page slot → ContentPage)\n │    │    └── ShellContent        (multiple = top tabs)\n │    └── Tab\n └── FlyoutItem \u002F TabBar\n```\n\n- **FlyoutItem** — appears in the flyout menu; contains `Tab` children\n- **TabBar** — bottom tab bar with no flyout entry\n- **Tab** — groups `ShellContent`; multiple children produce top tabs\n- **ShellContent** — each points to a `ContentPage`\n\n### Implicit Conversion\n\nYou can omit intermediate wrappers. Shell auto-wraps:\n\n| You write                    | Shell creates                         |\n|------------------------------|---------------------------------------|\n| `ShellContent` only          | `FlyoutItem > Tab > ShellContent`     |\n| `Tab` only                   | `FlyoutItem > Tab`                    |\n| `ShellContent` in `TabBar`   | `TabBar > Tab > ShellContent`         |\n\n## Workflow: Set Up AppShell\n\n1. Define `AppShell.xaml` inheriting from `Shell`\n2. Add `FlyoutItem` or `TabBar` elements for top-level navigation\n3. Add `Tab` elements for bottom tabs; nest multiple `ShellContent` for top tabs\n4. **Always use `ContentTemplate`** with `DataTemplate` so pages load on demand\n5. **Give every `ShellContent` an explicit `Route`** (see below)\n6. Register detail-page routes in the `AppShell` constructor\n\n> **Set `Route=` on every `ShellContent`.** If you omit it, MAUI auto-generates a\n> name from a shared counter — `Routing.cs` produces `D_FAULT_{TypeName}{n}`. A real\n> shell with three unnamed `ShellContent` elements yields routes like\n> `D_FAULT_ShellContent2` and `D_FAULT_ShellContent5`: the numbers are not\n> sequential, they depend on how many Shell elements were constructed first, and they\n> shift when you reorder or add pages. You cannot write a stable absolute route\n> (`\u002F\u002Fdashboard`) or deep link against that. An explicit `Route=\"dashboard\"` is stable\n> forever.\n\n```xml\n\u003CShell xmlns=\"http:\u002F\u002Fschemas.microsoft.com\u002Fdotnet\u002F2021\u002Fmaui\"\n       xmlns:x=\"http:\u002F\u002Fschemas.microsoft.com\u002Fwinfx\u002F2009\u002Fxaml\"\n       xmlns:views=\"clr-namespace:MyApp.Views\"\n       x:Class=\"MyApp.AppShell\"\n       FlyoutBehavior=\"Flyout\">\n\n    \u003CFlyoutItem Title=\"Animals\" Icon=\"animals.png\">\n        \u003CTab Title=\"Cats\">\n            \u003CShellContent Title=\"Domestic\" Route=\"domesticcats\"\n                          ContentTemplate=\"{DataTemplate views:DomesticCatsPage}\" \u002F>\n            \u003CShellContent Title=\"Wild\" Route=\"wildcats\"\n                          ContentTemplate=\"{DataTemplate views:WildCatsPage}\" \u002F>\n        \u003C\u002FTab>\n        \u003CTab Title=\"Dogs\" Icon=\"dogs.png\">\n            \u003CShellContent Route=\"dogs\" ContentTemplate=\"{DataTemplate views:DogsPage}\" \u002F>\n        \u003C\u002FTab>\n    \u003C\u002FFlyoutItem>\n\n    \u003CTabBar>\n        \u003CShellContent Title=\"Home\" Icon=\"home.png\" Route=\"home\"\n                      ContentTemplate=\"{DataTemplate views:HomePage}\" \u002F>\n        \u003CShellContent Title=\"Settings\" Icon=\"settings.png\" Route=\"settings\"\n                      ContentTemplate=\"{DataTemplate views:SettingsPage}\" \u002F>\n    \u003C\u002FTabBar>\n\u003C\u002FShell>\n```\n\n```csharp\n\u002F\u002F AppShell.xaml.cs\npublic partial class AppShell : Shell\n{\n    public AppShell()\n    {\n        InitializeComponent();\n        Routing.RegisterRoute(\"animaldetails\", typeof(AnimalDetailsPage));\n        Routing.RegisterRoute(\"editanimal\", typeof(EditAnimalPage));\n    }\n}\n```\n\n## Workflow: Navigate with GoToAsync\n\nAll programmatic navigation uses `Shell.Current.GoToAsync`. Always `await` the call.\n\n### Route Prefixes\n\n| Prefix | Meaning                                     |\n|--------|---------------------------------------------|\n| `\u002F\u002F`   | Absolute route from Shell root              |\n| (none) | Relative; pushes onto the current nav stack |\n| `..`   | Go back one level                           |\n| `..\u002F`  | Go back then navigate forward               |\n\n### Navigation Examples\n\n```csharp\n\u002F\u002F 1. Absolute — switch to a specific hierarchy location\nawait Shell.Current.GoToAsync(\"\u002F\u002Fanimals\u002Fcats\u002Fdomestic\");\n\n\u002F\u002F 2. Relative — push a registered detail page\nawait Shell.Current.GoToAsync(\"animaldetails\");\n\n\u002F\u002F 3. With query string parameters\nawait Shell.Current.GoToAsync($\"animaldetails?id={animal.Id}\");\n\n\u002F\u002F 4. Go back one page\nawait Shell.Current.GoToAsync(\"..\");\n\n\u002F\u002F 5. Go back two pages\nawait Shell.Current.GoToAsync(\"..\u002F..\");\n\n\u002F\u002F 6. Go back one page, then push a different page\nawait Shell.Current.GoToAsync(\"..\u002Feditanimal\");\n```\n\n## Workflow: Pass Data Between Pages\n\n### Option 1: IQueryAttributable (Preferred)\n\nImplement on ViewModels to receive all parameters in one call:\n\n```csharp\npublic class AnimalDetailsViewModel : ObservableObject, IQueryAttributable\n{\n    public void ApplyQueryAttributes(IDictionary\u003Cstring, object> query)\n    {\n        if (query.TryGetValue(\"id\", out var id))\n            AnimalId = id.ToString();\n    }\n}\n```\n\n### Option 2: QueryProperty Attribute\n\nApply on the **ViewModel** class (or the page, if it genuinely owns the state).\nPrefer `IQueryAttributable` on the ViewModel — it keeps navigation state with the\n`BindingContext` and handles multiple parameters in one call:\n\n```csharp\n[QueryProperty(nameof(AnimalId), \"id\")]\npublic partial class AnimalDetailsViewModel : ObservableObject\n{\n    [ObservableProperty]\n    private string _animalId = string.Empty;\n}\n```\n\nShell applies query attributes *after* the page constructor sets `BindingContext`,\nso the property must raise change notification — a plain auto-property leaves the\nbinding stuck on its initial value.\n\n### Option 3: Complex Objects via ShellNavigationQueryParameters\n\nPass objects without serializing to strings:\n\n```csharp\nvar parameters = new ShellNavigationQueryParameters\n{\n    { \"animal\", selectedAnimal }\n};\nawait Shell.Current.GoToAsync(\"animaldetails\", parameters);\n```\n\nReceive via `IQueryAttributable`:\n\n```csharp\npublic void ApplyQueryAttributes(IDictionary\u003Cstring, object> query)\n{\n    Animal = query[\"animal\"] as Animal;\n}\n```\n\n## Workflow: Guard Navigation\n\nUse `GetDeferral()` in `OnNavigating` for async checks (e.g., \"save unsaved changes?\"):\n\n```csharp\n\u002F\u002F In AppShell.xaml.cs\nprotected override async void OnNavigating(ShellNavigatingEventArgs args)\n{\n    base.OnNavigating(args);\n    if (hasUnsavedChanges && args.Source == ShellNavigationSource.Pop)\n    {\n        var deferral = args.GetDeferral();\n        bool discard = await ShowConfirmationDialog();\n        if (!discard)\n            args.Cancel();\n        deferral.Complete();\n    }\n}\n```\n\n## Tab Configuration\n\n### Bottom Tabs\n\nMultiple `ShellContent` (or `Tab`) children inside a `TabBar` or `FlyoutItem` produce bottom tabs.\n\n### Top Tabs\n\nMultiple `ShellContent` children inside a single `Tab` produce top tabs:\n\n```xml\n\u003CTab Title=\"Photos\">\n    \u003CShellContent Title=\"Recent\"    ContentTemplate=\"{DataTemplate views:RecentPage}\" \u002F>\n    \u003CShellContent Title=\"Favorites\" ContentTemplate=\"{DataTemplate views:FavoritesPage}\" \u002F>\n\u003C\u002FTab>\n```\n\n### Tab Bar Appearance\n\n| Attached Property              | Type    | Purpose                        |\n|--------------------------------|---------|--------------------------------|\n| `Shell.TabBarBackgroundColor`  | `Color` | Tab bar background             |\n| `Shell.TabBarForegroundColor`  | `Color` | Selected icon color            |\n| `Shell.TabBarTitleColor`       | `Color` | Selected tab title color       |\n| `Shell.TabBarUnselectedColor`  | `Color` | Unselected tab icon\u002Ftitle      |\n| `Shell.TabBarIsVisible`        | `bool`  | Show\u002Fhide the tab bar          |\n\n```xml\n\u003C!-- Hide the tab bar on a specific page -->\n\u003CContentPage Shell.TabBarIsVisible=\"False\" ... \u002F>\n```\n\n## Flyout Configuration\n\n### FlyoutBehavior\n\nSet on `Shell`: `Disabled`, `Flyout`, or `Locked`.\n\n```xml\n\u003CShell FlyoutBehavior=\"Flyout\"> ... \u003C\u002FShell>\n```\n\n### FlyoutDisplayOptions\n\nControls how children appear in the flyout:\n\n- `AsSingleItem` (default) — one flyout entry for the group\n- `AsMultipleItems` — each child `Tab` gets its own entry\n\n```xml\n\u003CFlyoutItem Title=\"Animals\" FlyoutDisplayOptions=\"AsMultipleItems\">\n    \u003CTab Title=\"Cats\" ... \u002F>\n    \u003CTab Title=\"Dogs\" ... \u002F>\n\u003C\u002FFlyoutItem>\n```\n\n### MenuItem (Non-Navigation Flyout Entries)\n\n```xml\n\u003CMenuItem Text=\"Log Out\"\n          Command=\"{Binding LogOutCommand}\"\n          IconImageSource=\"logout.png\" \u002F>\n```\n\n## Back Button Behavior\n\nCustomize the back button per page:\n\n```xml\n\u003CShell.BackButtonBehavior>\n    \u003CBackButtonBehavior Command=\"{Binding BackCommand}\"\n                       IconOverride=\"back_arrow.png\"\n                       TextOverride=\"Cancel\"\n                       IsVisible=\"True\" \u002F>\n\u003C\u002FShell.BackButtonBehavior>\n```\n\nProperties: `Command`, `CommandParameter`, `IconOverride`, `TextOverride`, `IsVisible`, `IsEnabled`.\n\n## Inspecting Navigation State\n\n```csharp\n\u002F\u002F Current URI location\nstring location = Shell.Current.CurrentState.Location.ToString();\n\n\u002F\u002F Current page\nPage page = Shell.Current.CurrentPage;\n\n\u002F\u002F Navigation stack of the current tab\nIReadOnlyList\u003CPage> stack = Shell.Current.Navigation.NavigationStack;\n```\n\n## Navigation Events\n\nOverride in `AppShell`:\n\n```csharp\nprotected override void OnNavigated(ShellNavigatedEventArgs args)\n{\n    base.OnNavigated(args);\n    \u002F\u002F args.Current, args.Previous, args.Source\n}\n```\n\n`ShellNavigationSource` values: `Push`, `Pop`, `PopToRoot`, `Insert`, `Remove`, `ShellItemChanged`, `ShellSectionChanged`, `ShellContentChanged`, `Unknown`.\n\n## Common Pitfalls\n\n- **Eager page creation**: Using `Content` directly instead of `ContentTemplate` with `DataTemplate` creates all pages at Shell init, hurting startup time. Always use `ContentTemplate`.\n- **Duplicate route names**: `Routing.RegisterRoute` throws `ArgumentException` if a route name matches an existing route or a visual hierarchy route. Every route must be unique across the app.\n- **Relative routes without registration**: You cannot `GoToAsync(\"somepage\")` unless `somepage` was registered with `Routing.RegisterRoute`. Visual hierarchy pages use absolute `\u002F\u002F` routes.\n- **Fire-and-forget GoToAsync**: Not awaiting `GoToAsync` causes race conditions and silent failures. Always `await` the call.\n- **Wrong absolute route path**: Absolute routes must match the full path through the visual hierarchy (`\u002F\u002FFlyoutItem\u002FTab\u002FShellContent`). Wrong paths produce silent no-ops, not exceptions.\n- **Manipulating Tab.Stack directly**: The navigation stack is read-only. Use `GoToAsync` for all navigation changes.\n- **Forgetting `GetDeferral()` for async guards**: Synchronous cancellation in `OnNavigating` works, but async checks require `GetDeferral()` \u002F `deferral.Complete()` to avoid race conditions.\n\n## References\n\n- `references\u002Fshell-navigation-api.md` — Full API reference for Shell hierarchy, routes, tabs, flyout, and navigation\n- [.NET MAUI Shell Navigation](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Fnavigation)\n- [.NET MAUI Shell Tabs](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Ftabs)\n- [.NET MAUI Shell Flyout](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Fflyout)\n- [.NET MAUI Shell Pages](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Fpages)\n","# .NET MAUI Shell Navigation\n\nImplement page navigation in .NET MAUI apps using Shell. Shell provides URI-based navigation, a flyout menu, tab bars, and a four-level visual hierarchy — all configured declaratively in XAML.\n\n## When to Use\n\n- Setting up top-level app navigation with tabs or a flyout menu\n- Navigating between pages programmatically with `GoToAsync`\n- Passing data between pages via query parameters or object parameters\n- Registering detail-page routes for push navigation\n- Guarding navigation with confirmation dialogs (e.g., unsaved changes)\n- Customizing back button behavior per page\n\n## When Not to Use\n\n- Deep linking from external URLs or app links — see [.NET MAUI deep linking docs](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fapp-links)\n- Data binding on navigation target pages — use `maui-data-binding`\n- Dependency injection for pages and view models — use `maui-dependency-injection`\n- Apps using `NavigationPage` without Shell (different navigation API)\n\n## Inputs\n\n- A .NET MAUI project with `AppShell.xaml` as the root shell\n- Pages (`ContentPage`) to navigate between\n- Route names for detail pages not in the visual hierarchy\n\n## Rules That Change the Answer\n\nThese are the Shell-specific decisions that are easy to get wrong. Apply them\nwhenever they are relevant to what the user asked.\n\n| Situation | Do this | Not this |\n|---|---|---|\n| Declaring pages in `AppShell.xaml` | With `xmlns:views=\"clr-namespace:MyApp.Views\"` declared: `\u003CShellContent ContentTemplate=\"{DataTemplate views:MyPage}\" \u002F>` — the page is created on first navigation | `\u003CShellContent>\u003Cviews:MyPage \u002F>\u003C\u002FShellContent>`, which constructs **every** page at startup |\n| Navigating to a page not in the visual hierarchy | `Routing.RegisterRoute(\"details\", typeof(DetailsPage))` first | Calling `GoToAsync(\"details\")` unregistered — it throws at runtime |\n| Receiving navigation parameters | Implement `IQueryAttributable` on the **ViewModel** | Implementing it on the Page, which splits state from the BindingContext |\n| Passing a whole object | `ShellNavigationQueryParameters` | Serialising the object into the query string |\n| Any `GoToAsync` call | `await` it | Fire-and-forget — exceptions are swallowed and navigation races |\n| Confirming before back navigation | `ShellNavigatingEventArgs.GetDeferral()` … `deferral.Complete()` | Blocking synchronously on the dialog task |\n| Detecting back navigation | Check `e.Source == ShellNavigationSource.Pop` | Assuming every navigation is a back action |\n\n**Do not** propose `NavigationPage` \u002F `PushAsync` solutions for a Shell app, and do\nnot restructure a working `AppShell` hierarchy unless the user asked.\n\n**Answer narrowly, but completely.** Staying on topic does not mean being terse. When\nyou show a navigation change, include the pieces needed to run it: the `AppShell.xaml`\nmarkup *and* the `Routing.RegisterRoute` call, or the `GoToAsync` call *and* the\nreceiving `IQueryAttributable` \u002F `[QueryProperty]` code. Where two approaches are both\nvalid (query string vs `ShellNavigationQueryParameters`), show both and say when each\nfits — a single snippet the user still has to complete is a worse answer.\n\n## Shell Visual Hierarchy\n\nShell uses a four-level hierarchy. Each level wraps the one below it:\n\n```\nShell\n ├── FlyoutItem \u002F TabBar          (top-level grouping)\n │    ├── Tab                     (bottom-tab grouping)\n │    │    ├── ShellContent        (page slot → ContentPage)\n │    │    └── ShellContent        (multiple = top tabs)\n │    └── Tab\n └── FlyoutItem \u002F TabBar\n```\n\n- **FlyoutItem** — appears in the flyout menu; contains `Tab` children\n- **TabBar** — bottom tab bar with no flyout entry\n- **Tab** — groups `ShellContent`; multiple children produce top tabs\n- **ShellContent** — each points to a `ContentPage`\n\n### Implicit Conversion\n\nYou can omit intermediate wrappers. Shell auto-wraps:\n\n| You write                    | Shell creates                         |\n|------------------------------|---------------------------------------|\n| `ShellContent` only          | `FlyoutItem > Tab > ShellContent`     |\n| `Tab` only                   | `FlyoutItem > Tab`                    |\n| `ShellContent` in `TabBar`   | `TabBar > Tab > ShellContent`         |\n\n## Workflow: Set Up AppShell\n\n1. Define `AppShell.xaml` inheriting from `Shell`\n2. Add `FlyoutItem` or `TabBar` elements for top-level navigation\n3. Add `Tab` elements for bottom tabs; nest multiple `ShellContent` for top tabs\n4. **Always use `ContentTemplate`** with `DataTemplate` so pages load on demand\n5. **Give every `ShellContent` an explicit `Route`** (see below)\n6. Register detail-page routes in the `AppShell` constructor\n\n> **Set `Route=` on every `ShellContent`.** If you omit it, MAUI auto-generates a\n> name from a shared counter — `Routing.cs` produces `D_FAULT_{TypeName}{n}`. A real\n> shell with three unnamed `ShellContent` elements yields routes like\n> `D_FAULT_ShellContent2` and `D_FAULT_ShellContent5`: the numbers are not\n> sequential, they depend on how many Shell elements were constructed first, and they\n> shift when you reorder or add pages. You cannot write a stable absolute route\n> (`\u002F\u002Fdashboard`) or deep link against that. An explicit `Route=\"dashboard\"` is stable\n> forever.\n\n```xml\n\u003CShell xmlns=\"http:\u002F\u002Fschemas.microsoft.com\u002Fdotnet\u002F2021\u002Fmaui\"\n       xmlns:x=\"http:\u002F\u002Fschemas.microsoft.com\u002Fwinfx\u002F2009\u002Fxaml\"\n       xmlns:views=\"clr-namespace:MyApp.Views\"\n       x:Class=\"MyApp.AppShell\"\n       FlyoutBehavior=\"Flyout\">\n\n    \u003CFlyoutItem Title=\"Animals\" Icon=\"animals.png\">\n        \u003CTab Title=\"Cats\">\n            \u003CShellContent Title=\"Domestic\" Route=\"domesticcats\"\n                          ContentTemplate=\"{DataTemplate views:DomesticCatsPage}\" \u002F>\n            \u003CShellContent Title=\"Wild\" Route=\"wildcats\"\n                          ContentTemplate=\"{DataTemplate views:WildCatsPage}\" \u002F>\n        \u003C\u002FTab>\n        \u003CTab Title=\"Dogs\" Icon=\"dogs.png\">\n            \u003CShellContent Route=\"dogs\" ContentTemplate=\"{DataTemplate views:DogsPage}\" \u002F>\n        \u003C\u002FTab>\n    \u003C\u002FFlyoutItem>\n\n    \u003CTabBar>\n        \u003CShellContent Title=\"Home\" Icon=\"home.png\" Route=\"home\"\n                      ContentTemplate=\"{DataTemplate views:HomePage}\" \u002F>\n        \u003CShellContent Title=\"Settings\" Icon=\"settings.png\" Route=\"settings\"\n                      ContentTemplate=\"{DataTemplate views:SettingsPage}\" \u002F>\n    \u003C\u002FTabBar>\n\u003C\u002FShell>\n```\n\n```csharp\n\u002F\u002F AppShell.xaml.cs\npublic partial class AppShell : Shell\n{\n    public AppShell()\n    {\n        InitializeComponent();\n        Routing.RegisterRoute(\"animaldetails\", typeof(AnimalDetailsPage));\n        Routing.RegisterRoute(\"editanimal\", typeof(EditAnimalPage));\n    }\n}\n```\n\n## Workflow: Navigate with GoToAsync\n\nAll programmatic navigation uses `Shell.Current.GoToAsync`. Always `await` the call.\n\n### Route Prefixes\n\n| Prefix | Meaning                                     |\n|--------|---------------------------------------------|\n| `\u002F\u002F`   | Absolute route from Shell root              |\n| (none) | Relative; pushes onto the current nav stack |\n| `..`   | Go back one level                           |\n| `..\u002F`  | Go back then navigate forward               |\n\n### Navigation Examples\n\n```csharp\n\u002F\u002F 1. Absolute — switch to a specific hierarchy location\nawait Shell.Current.GoToAsync(\"\u002F\u002Fanimals\u002Fcats\u002Fdomestic\");\n\n\u002F\u002F 2. Relative — push a registered detail page\nawait Shell.Current.GoToAsync(\"animaldetails\");\n\n\u002F\u002F 3. With query string parameters\nawait Shell.Current.GoToAsync($\"animaldetails?id={animal.Id}\");\n\n\u002F\u002F 4. Go back one page\nawait Shell.Current.GoToAsync(\"..\");\n\n\u002F\u002F 5. Go back two pages\nawait Shell.Current.GoToAsync(\"..\u002F..\");\n\n\u002F\u002F 6. Go back one page, then push a different page\nawait Shell.Current.GoToAsync(\"..\u002Feditanimal\");\n```\n\n## Workflow: Pass Data Between Pages\n\n### Option 1: IQueryAttributable (Preferred)\n\nImplement on ViewModels to receive all parameters in one call:\n\n```csharp\npublic class AnimalDetailsViewModel : ObservableObject, IQueryAttributable\n{\n    public void ApplyQueryAttributes(IDictionary\u003Cstring, object> query)\n    {\n        if (query.TryGetValue(\"id\", out var id))\n            AnimalId = id.ToString();\n    }\n}\n```\n\n### Option 2: QueryProperty Attribute\n\nApply on the **ViewModel** class (or the page, if it genuinely owns the state).\nPrefer `IQueryAttributable` on the ViewModel — it keeps navigation state with the\n`BindingContext` and handles multiple parameters in one call:\n\n```csharp\n[QueryProperty(nameof(AnimalId), \"id\")]\npublic partial class AnimalDetailsViewModel : ObservableObject\n{\n    [ObservableProperty]\n    private string _animalId = string.Empty;\n}\n```\n\nShell applies query attributes *after* the page constructor sets `BindingContext`,\nso the property must raise change notification — a plain auto-property leaves the\nbinding stuck on its initial value.\n\n### Option 3: Complex Objects via ShellNavigationQueryParameters\n\nPass objects without serializing to strings:\n\n```csharp\nvar parameters = new ShellNavigationQueryParameters\n{\n    { \"animal\", selectedAnimal }\n};\nawait Shell.Current.GoToAsync(\"animaldetails\", parameters);\n```\n\nReceive via `IQueryAttributable`:\n\n```csharp\npublic void ApplyQueryAttributes(IDictionary\u003Cstring, object> query)\n{\n    Animal = query[\"animal\"] as Animal;\n}\n```\n\n## Workflow: Guard Navigation\n\nUse `GetDeferral()` in `OnNavigating` for async checks (e.g., \"save unsaved changes?\"):\n\n```csharp\n\u002F\u002F In AppShell.xaml.cs\nprotected override async void OnNavigating(ShellNavigatingEventArgs args)\n{\n    base.OnNavigating(args);\n    if (hasUnsavedChanges && args.Source == ShellNavigationSource.Pop)\n    {\n        var deferral = args.GetDeferral();\n        bool discard = await ShowConfirmationDialog();\n        if (!discard)\n            args.Cancel();\n        deferral.Complete();\n    }\n}\n```\n\n## Tab Configuration\n\n### Bottom Tabs\n\nMultiple `ShellContent` (or `Tab`) children inside a `TabBar` or `FlyoutItem` produce bottom tabs.\n\n### Top Tabs\n\nMultiple `ShellContent` children inside a single `Tab` produce top tabs:\n\n```xml\n\u003CTab Title=\"Photos\">\n    \u003CShellContent Title=\"Recent\"    ContentTemplate=\"{DataTemplate views:RecentPage}\" \u002F>\n    \u003CShellContent Title=\"Favorites\" ContentTemplate=\"{DataTemplate views:FavoritesPage}\" \u002F>\n\u003C\u002FTab>\n```\n\n### Tab Bar Appearance\n\n| Attached Property              | Type    | Purpose                        |\n|--------------------------------|---------|--------------------------------|\n| `Shell.TabBarBackgroundColor`  | `Color` | Tab bar background             |\n| `Shell.TabBarForegroundColor`  | `Color` | Selected icon color            |\n| `Shell.TabBarTitleColor`       | `Color` | Selected tab title color       |\n| `Shell.TabBarUnselectedColor`  | `Color` | Unselected tab icon\u002Ftitle      |\n| `Shell.TabBarIsVisible`        | `bool`  | Show\u002Fhide the tab bar          |\n\n```xml\n\u003C!-- Hide the tab bar on a specific page -->\n\u003CContentPage Shell.TabBarIsVisible=\"False\" ... \u002F>\n```\n\n## Flyout Configuration\n\n### FlyoutBehavior\n\nSet on `Shell`: `Disabled`, `Flyout`, or `Locked`.\n\n```xml\n\u003CShell FlyoutBehavior=\"Flyout\"> ... \u003C\u002FShell>\n```\n\n### FlyoutDisplayOptions\n\nControls how children appear in the flyout:\n\n- `AsSingleItem` (default) — one flyout entry for the group\n- `AsMultipleItems` — each child `Tab` gets its own entry\n\n```xml\n\u003CFlyoutItem Title=\"Animals\" FlyoutDisplayOptions=\"AsMultipleItems\">\n    \u003CTab Title=\"Cats\" ... \u002F>\n    \u003CTab Title=\"Dogs\" ... \u002F>\n\u003C\u002FFlyoutItem>\n```\n\n### MenuItem (Non-Navigation Flyout Entries)\n\n```xml\n\u003CMenuItem Text=\"Log Out\"\n          Command=\"{Binding LogOutCommand}\"\n          IconImageSource=\"logout.png\" \u002F>\n```\n\n## Back Button Behavior\n\nCustomize the back button per page:\n\n```xml\n\u003CShell.BackButtonBehavior>\n    \u003CBackButtonBehavior Command=\"{Binding BackCommand}\"\n                       IconOverride=\"back_arrow.png\"\n                       TextOverride=\"Cancel\"\n                       IsVisible=\"True\" \u002F>\n\u003C\u002FShell.BackButtonBehavior>\n```\n\nProperties: `Command`, `CommandParameter`, `IconOverride`, `TextOverride`, `IsVisible`, `IsEnabled`.\n\n## Inspecting Navigation State\n\n```csharp\n\u002F\u002F Current URI location\nstring location = Shell.Current.CurrentState.Location.ToString();\n\n\u002F\u002F Current page\nPage page = Shell.Current.CurrentPage;\n\n\u002F\u002F Navigation stack of the current tab\nIReadOnlyList\u003CPage> stack = Shell.Current.Navigation.NavigationStack;\n```\n\n## Navigation Events\n\nOverride in `AppShell`:\n\n```csharp\nprotected override void OnNavigated(ShellNavigatedEventArgs args)\n{\n    base.OnNavigated(args);\n    \u002F\u002F args.Current, args.Previous, args.Source\n}\n```\n\n`ShellNavigationSource` values: `Push`, `Pop`, `PopToRoot`, `Insert`, `Remove`, `ShellItemChanged`, `ShellSectionChanged`, `ShellContentChanged`, `Unknown`.\n\n## Common Pitfalls\n\n- **Eager page creation**: Using `Content` directly instead of `ContentTemplate` with `DataTemplate` creates all pages at Shell init, hurting startup time. Always use `ContentTemplate`.\n- **Duplicate route names**: `Routing.RegisterRoute` throws `ArgumentException` if a route name matches an existing route or a visual hierarchy route. Every route must be unique across the app.\n- **Relative routes without registration**: You cannot `GoToAsync(\"somepage\")` unless `somepage` was registered with `Routing.RegisterRoute`. Visual hierarchy pages use absolute `\u002F\u002F` routes.\n- **Fire-and-forget GoToAsync**: Not awaiting `GoToAsync` causes race conditions and silent failures. Always `await` the call.\n- **Wrong absolute route path**: Absolute routes must match the full path through the visual hierarchy (`\u002F\u002FFlyoutItem\u002FTab\u002FShellContent`). Wrong paths produce silent no-ops, not exceptions.\n- **Manipulating Tab.Stack directly**: The navigation stack is read-only. Use `GoToAsync` for all navigation changes.\n- **Forgetting `GetDeferral()` for async guards**: Synchronous cancellation in `OnNavigating` works, but async checks require `GetDeferral()` \u002F `deferral.Complete()` to avoid race conditions.\n\n## References\n\n- `references\u002Fshell-navigation-api.md` — Full API reference for Shell hierarchy, routes, tabs, flyout, and navigation\n- [.NET MAUI Shell Navigation](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Fnavigation)\n- [.NET MAUI Shell Tabs](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Ftabs)\n- [.NET MAUI Shell Flyout](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Fflyout)\n- [.NET MAUI Shell Pages](https:\u002F\u002Flearn.microsoft.com\u002Fdotnet\u002Fmaui\u002Ffundamentals\u002Fshell\u002Fpages)\n",{"name":5,"license":15,"description":7},"main","497cc9aba79a931ac6fb8d36a48cc22fe3d6d74b","catalog\u002FFrameworks\u002FOfficial-DotNet-MAUI\u002Fskills\u002Fmaui-shell-navigation",41,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills","https:\u002F\u002Fskills.managed-code.com","https:\u002F\u002Fgithub.com\u002Fmanagedcode","https:\u002F\u002Fwww.managed-code.com","Open Source Community for .NET Developers: Reliable, Actively Maintained, and Community-Driven. Made in Ukraine 🇺🇦 with ❤️","2026-11-14 19:05:44",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add managedcode\u002Fdotnet-skills --skill maui-shell-navigation",{"tool":66,"command":67},"bunx","bunx skills add managedcode\u002Fdotnet-skills --skill maui-shell-navigation",{"tool":69,"command":70},"pnpm","pnpm dlx skills add managedcode\u002Fdotnet-skills --skill maui-shell-navigation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FOfficial-DotNet-MAUI\u002Fskills\u002Fmaui-shell-navigation\u002FSKILL.md",true,[74,80,84],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"index.json","REFERENCE","参考文档",508,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc-operations-alert-tuning\u002Findex.json",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"manifest.json",163,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FOfficial-DotNet-MAUI\u002Fskills\u002Fmaui-shell-navigation\u002Fmanifest.json",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fshell-navigation-api.md",9219,"https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FFrameworks\u002FOfficial-DotNet-MAUI\u002Fskills\u002Fmaui-shell-navigation\u002Freferences\u002Fshell-navigation-api.md",[89,126,149,179,189,215],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":105,"publishedAt":45},"01M6DYQE1Y9FHAQHEDTVFQ3447","xtwitter-scraper","Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook\u002Fevent flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy; or code that does not call Xquik. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FXTwitterScraper\u002Fskills\u002Fxtwitter-scraper\u002FSKILL.md",[95,100],{"categoryNo":96,"categoryName":97,"taxonomyType":98,"taxonomyTypeDesc":99},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":101,"categoryName":102,"taxonomyType":103,"taxonomyTypeDesc":104},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125],"xtwitter scraper","browser automation","workflows","run","code","browser","search","repository","api","Media","api client","access","edit","unrelated","webhooks","files","social","commands","modeling","webhook",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":138,"publishedAt":45},"01M6DYQ9S4PE1H6G8MCH9T21HR","sep","Use Sep for high-performance separated-value parsing and writing in .NET, including delimiter inference, explicit parser\u002Fwriter options, and low-allocation row\u002Fcolumn workflows. USE FOR: delimited data needs are performance-sensitive and allocation-aware; project needs explicit control over separator inference, escaping, trimming, and header behavior;. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fcatalog\u002FLibraries\u002FSep\u002Fskills\u002Fsep\u002FSKILL.md",[132,135],{"categoryNo":133,"categoryName":134,"taxonomyType":98,"taxonomyTypeDesc":99},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":136,"categoryName":137,"taxonomyType":103,"taxonomyTypeDesc":104},"01JBSEEDCAT000000000000036","内容创作者",[128,139,140,108,141,109,113,44,142,143,118,144,119,121,37,145,146,147,123,148],"writing","performance","tasks","parsing","parser","context","writer","options","project","high-performance",{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":45},"01M6DZS2DNEPXCGGF6SSCW6G5V","webgpu-threejs-tsl","Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fwebgpu-claude-skill\u002Fskills\u002Fwebgpu-threejs-tsl\u002FSKILL.md",[],[156,157,158,159,160,161,162,163,164,165,166,167,42,168,169,170,171,172,173,174,175,176,177,178,24],"webgpu","threejs","webgpu threejs tsl","setup","shaders","gpu","integration","applications","js","node","syntax","guide","language","three","compute","post","processing","with","renderer","for","materials","wgsl","effects",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":45},"01M6DZS0BQXW2B56A289XF1X76","roslynk","Use Roslynk for semantic inspection and edits of *.cs, *.razor and *.cshtml solution files.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Froslynk\u002Fskills\u002Froslynk\u002FSKILL.md",[],[181,42,121,186,187,175,188],"semantic","razor","inspection",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":45},"01M6DZRW6MEJCVW80K3S4XV60K","system-text-json-net11","Imperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed generic `JsonSerializerOptions.GetTypeInfo` and `JsonSerializerOptions.TryGetTypeInfo` metadata accessors (generic overloads that return a typed `JsonTypeInfo`). USE ONLY when the user is targeting net11.0 or later and needs PascalCase JSON property or dictionary-key names without writing a custom naming policy, a strongly-typed generic `JsonTypeInfo` instead of the non-generic `JsonTypeInfo`, or a no-throw way to probe whether a type's serialization metadata is resolved. DO NOT USE when the target is earlier than net11.0, the requested behavior uses an established pre-net11 naming policy, or the user explicitly selected another JSON library.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fsystem-text-json-net11\u002FSKILL.md",[],[196,197,198,199,139,200,201,202,203,204,205,42,41,206,207,208,37,209,210,211,212,175,213,214,24],"system","json","text","system text json net11","policy","metadata","library","serialization","behavior","user","probe","guidance","later","type","dictionary","naming","targeting","custom","generic",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":223,"publishedAt":45},"01M6DZRRJP3S662NFSG1RSPQQ7","process-api-net11","Provides guidance on the new System.Diagnostics.Process APIs introduced in .NET 11: Process.Run, Process.RunAndCaptureText, Process.StartAndForget, Process.ReadAllText\u002FBytes\u002FLines, KillOnParentExit, InheritedHandles, and StartDetached. USE FOR: starting, orchestrating, or capturing output from external processes in applications targeting net11.0 or later. DO NOT USE FOR: applications targeting .NET 10 or earlier, or basic pre-.NET 11 Process.Start usage without new APIs.","https:\u002F\u002Fgithub.com\u002Fmanagedcode\u002Fdotnet-skills\u002Fblob\u002Fmain\u002Fexternal-sources\u002Fupstreams\u002Fdotnet-skills\u002Fplugins\u002Fdotnet11\u002Fskills\u002Fprocess-api-net11\u002FSKILL.md",[221,222],{"categoryNo":96,"categoryName":97,"taxonomyType":98,"taxonomyTypeDesc":99},{"categoryNo":101,"categoryName":102,"taxonomyType":103,"taxonomyTypeDesc":104},[114,224,225,226,109,227,163,196,42,207,208,37,228,229,230,231,212,175,232],"process","process api net11","diagnostics","start","basic","processes","output","usage","new"]