Counter component ( Counter.razor): Implements the Counter page._Layout.cshtml: The layout page for the _Host.cshtml root page of the app.The Host page specifies where the root App component ( App.razor) is rendered.When any page of the app is initially requested, this page is rendered and returned in the response._Host.cshtml: The root page of the app implemented as a Razor Page:.The route for each page is specified using the directive. razor) that make up the Blazor app and the root Razor page of a Blazor Server app. Pages folder: Contains the routable components/pages (. The app is populated with demonstration code for a FetchData component that loads data from a registered service, WeatherForecastService, and user interaction with a Counter component.ĭata folder: Contains the WeatherForecast class and implementation of the WeatherForecastService that provides example weather data to the app's FetchData component. The Blazor Server template creates the initial files and directory structure for a Blazor Server app. Blazor Server project template: blazorserver
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |