Search results
3 lip 2019 · The startup page in my Blazor application is Index.cshtml. I'd like to change the startup page to the homepage, namely my Home.cshtml. I'm using vs2019, ASPNET CORE Blazor (0.9.0-preview3-19154-020).
The Blazor startup process is automatic and asynchronous via the Blazor script (blazor.*.js), where the * placeholder is: web for a Blazor Web App server for a Blazor Server app
This article explains how to manage Blazor app request routing and how to use the NavLink component to create navigation links. Important. Code examples throughout this article show methods called on Navigation, which is an injected NavigationManager in classes and components.
9 lut 2024 · The Blazor startup process is automatic and asynchronous via the Blazor script (blazor.*.js), where the * placeholder is: server for a Blazor Server app; webassembly for a Blazor WebAssembly app:::moniker-end. For the location of the script, see xref:blazor/project-structure#location-of-the-blazor-script. To manually start Blazor:
13 kwi 2022 · If your Blazor app is deployed under a base path, then you need to specify the base URL in the page metadata using the <base> tag for routing to work property. If the host page for the app is server-rendered using Razor, then you can use the ~/ syntax to specify the app's base address.
27 sty 2024 · Efficiently configuring default routes is a key aspect of optimizing user navigation in a Blazor application. In this post, we'll explore the process of setting a default component route in Blazor, providing users with a seamless entry point to your ASP.NET Core applications.
To set a startup page in Blazor: Modify the App.razor file to specify the startup page using the OnInitializedAsync method or directly in the route configuration. Determine the startup page based on your application's requirements, such as user authentication status or other criteria.