Summary
This chapter taught us how to create forms and make API calls to get and save data.
We built custom input controls and got Bootstrap styling on our controls. Most business apps use forms; we can add logic close to the data by annotating data.
We also created multiple reusable components and used many of the things we discussed in previous chapters. We even touched on JavaScript interop, which we will go into more detail about in Chapter 10, JavaScript Interop.
The functionality that Blazor offers when it comes to validation and input controls will help us build amazing applications and give our users a great experience. You may notice that, right now, the admin pages are wide open. We need to secure our blog with a login, but we will come to that in Chapter 8, Authentication and Authorization.
In the next chapter, we will create a web API to get data when we are running components such as InteractiveAuto
or InteractiveWebAssembly
.