Summary
In this chapter, we learned about the logging framework in ASP.NET Core, and introduced a third-party logging framework, Serilog, to help us write logs to different sinks, such as files, console, and Seq, which is a tool that analyzes logs using structured logging. We also learned what middleware is, how to use the built-in middleware components, and how to create a custom middleware component.
It is time to implement some real business logic in the next chapter. We will introduce Entity Framework Core (EF Core), a powerful object-relational mapper (ORM) framework, to help us access the database.