Practicing and exploring
Test your knowledge and understanding by answering some questions, get some hands-on practice, and explore this chapter's topics with deeper research.
Exercise 20.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 in the
Startup
class? - One of the benefits of Blazor is being able to implement user interface components using C# and .NET instead of JavaScript. Does Blazor need any JavaScript?
- In a Blazor project, what does the
App.razor
file do? - What is a benefit of using the
<NavLink>
component? - How can you pass a value into a component?
- What is a benefit of using the
<EditForm>
component? - How can you execute some statements when parameters are set?
- How can you...