Chapter 7. Creating a microservice

This chapter covers

  • Writing web services with ASP.NET Core
  • Making HTTP requests to web services
  • Introduction to creating microservices

My personal blog is written in .NET Core (http://mode19.net). Originally I wrote each post in its own page. Those pages were all part of the source code of the blog and had corresponding metadata in a database. But as the number of posts increased, the site became hard to manage, especially since the older pages were written using older libraries and techniques. The contents of the blog posts didn’t change—only the formatting changed.

That’s when I decided to convert my blog posts to Markdown. Markdown allows me to write just the content of the blog post without having to ...

Get .NET Core in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.