Clean up naming and layout for the new Blazor weather page
See original GitHub issueHere’s where things stand with the new Blazor weather page:
- Component name: ShowData.razor
- Page heading & title:
<h1>Weather forecast</h1>
- Nav bar text: “Fetch data”
To clean this up, how about this?:
- Component name: Weather.razor
- Page heading & title:
<h1>Weather</h1>
- Nav bar text: “Weather”
Issue Analytics
- State:
- Created 3 months ago
- Reactions:3
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Best 9 Practices to Follow While Developing Blazor ... - YouTube
Join this channel to get access to perks: https://www.youtube.com/channel/UCRs-PO48PbbS0l7bBhbu5CA/join SHOW YOUR SUPPORT FOR AK ACADEMY ...
Read more >ASP.NET Core Blazor layouts
In this article. Layout components; Apply a layout; Nested layouts; Share a Razor Pages layout with integrated components; Additional resources.
Read more >Using a Code-Behind Approach to Blazor Components
In this article we'll look into when it's helpful to use a code-behind in your Blazor development, how we benefit and what to...
Read more >Creating a Blazor Server Application with C# and MVVM ...
We will start by creating a new Blazor Server application using the .NET CLI and then we will add a ViewModel to our...
Read more >A Developer's Guide To Blazor Component Libraries
Learn how to create Blazor components libraries with reusable components, static images, stylesheets etc. and consume them in Blazor Apps.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Also, should we rename the Index.razor to Home.razor?:
So instead of this:
<h1>Index</h1>
We could do this:
<h1>Home</h1>
I know there’s some history around the name “index” being special in web app development, but it’s not actually special in Blazor and it’s a weird name to put in front of the end user. I could also live with this:
<h1>Home</h1>
Yup