Hurray! You actually learned the very important and core objective of the book in this chapter. Yes! I am talking about integrating Angular with .NET applications.
We started the chapter by creating a new ASP.NET Core empty application and updated the Startup
class to serve static and default pages for any request. Then, you learned about managing client-side packages using NPM in Visual Studio, and we managed to automate and run tasks using Gulp in Visual Studio. Next, you learned how to add the required components for the application and bootstrap it. Later, we designed a model class and a service class that handle the core business logic of the application. Finally, we designed a template to list the Todo
items, and also, we added a few controls and hooked them to certain methods in TodoService
and AppComponent
.
This application only deals with the in-memory todo items. However, in the real-time application, we consume a service to add, delete, or fetch the todo
items. In the next...