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).
To manually start Blazor: Blazor Web App: Add an autostart="false" attribute and value to the Blazor <script> tag. Place a script that calls Blazor.start() after the Blazor <script> tag and inside the closing </body> tag. Place static server-side rendering (static SSR) options in the ssr property.
9 lut 2024 · This article explains Blazor app startup configuration. For general guidance on ASP.NET Core app configuration for server-side development, see xref:fundamentals/configuration/index. Startup process and configuration. :::moniker range=">= aspnetcore-8.0"
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.
Blazor's enhanced navigation and form handling avoid the need for a full-page reload and preserves more of the page state, so pages load faster, usually without losing the user's scroll position on the page.
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.