chapter two
2 Your First Blazor App
This chapter covers
- Choosing the right project template for your application
- Building and running your application
- Understanding the key parts of your application
- Writing your first components
After chapter 1, you should have a good overview of what Blazor is and how it works, a high-level understanding of the concept of hosting models, as well as some compelling reason why you might want to choose Blazor for your next project. But so far, we’ve only talked in theory; we’ve not got our hands dirty building anything with Blazor. That’s all going to change in this chapter.
We’re going to create the application that we’ll be building throughout the rest of the book, Blazing Trails! The app will allow walkers to discover new routes to explore as well as add and update routes of their own. As we build this app you will learn about the key features of Blazor, things such as routing, forms and validation, and authentication.