Chapter 2. Executing the App
In this chapter, you’ll learn how a Blazor WebAssembly app starts executing—from the rendering of static HTML to the invocation of JavaScript that bootstraps Blazor, you’ll be exploring the anatomy of the app. This includes the Program entry point and the startup conventions. You’ll learn about the router, client-side navigation, shared components, and layouts. You’ll also learn about top-level navigation and custom components in the app. All of this will be taught using the Learning Blazor sample application’s source code.
Try to embrace the mindset that you’re onboarding as a new developer to an existing application—much like you would in the real world. Try to imagine that you’re starting a new journey, where you’re getting brought up to speed on an existing codebase. The idea is that I’ll be your mentor; I’ll meticulously walk through the code, presenting it to you and explaining exactly what it’s doing and how it’s doing it. You’ll learn why certain decisions were made and what alternative approaches should be considered. You should have a grasp of how the model app works and will be prepared to work with it in future chapters.
In the previous chapter, you learned a bit about the web app development platform, the ASP.NET Core as a framework, open source development, the programming languages of the web, and development environments Now let’s talk code. As Linus Torvalds, the creator of Linux, said, “Talk is cheap. Show me the code.” The model ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access