In this chapter, we developed a full CRUD endpoint and looked at some of the new features with ASP.Net core 2.0, like the built-in dependency injection.
We explored the HttpGet, HttpPost, HttpPut, and HttpDelete actions, along with some basic routing.
We established a clean pattern to break up the responsibility of the classes and make it easier to extend the given functionality.
The objects are loosely coupled, which makes them easier to test; this was promoted with the inbuilt dependency injection. We also used Fiddler to demonstrate how our API works.
In the next chapter, we will discuss in depth about route mechanism, route builder, attribute routes, constraints, and much more.