We are nearing the end of this book. Over the course of this book, we have learned a lot of concepts about web APIs by creating ASP.NET Core Web API project, wrote controllers and actions, added routing, wrote custom middleware, unit tested the code, and handling exception, and performing some optimization. Now it's time for hosting and deploying the web API application.
With ASP.NET Core being cross-platform, hosting and deployment is not confined to the Windows environment (IIS and Azure) itself; environments such as AWS, Docker, Linux, and so on can be good alternatives.
In this chapter, we will focus on hosting and deploying a sample ASP.NET Core Web API project in a truly cross-platform way.
In this chapter, we will be looking at the following topics:
- Creating a demo ASP.NET Core Web API project
- Publishing a web API project
- Standalone web API ...