Practicing and exploring
Test your knowledge and understanding by answering some questions, getting some hands-on practice, and exploring this chapter’s topics with deeper research.
Exercise 16.1 – Test your knowledge
Answer the following questions:
- What are the two primary hosting models for Blazor, and how are they different?
- In a Blazor Server website project, compared to an ASP.NET Core MVC website project, what extra configuration is required?
- One of the benefits of Blazor is being able to implement client-side components using C# and .NET instead of JavaScript. Does a Blazor component need any JavaScript?
- In a Blazor project, what does the
App.razor
file do? - What is the main benefit of using the
<NavLink>
component? - How can you pass a value into a component?
- What is the main benefit of using the
<EditForm>
component? - How can you execute some statements when parameters are set?
- How can...