Chapter 3: Starting Your First ASP.NET Core Project
REST (Representational State Transfer) is an interface between systems using HTTP to fetch data and generate HTTP operations in all possible formats, such as JSON, which is the commonly used format for sending and getting data.
By the end of this chapter, you will have created an ASP.NET Core 5 Web API and understood the Program.cs
file's responsibility inside the ASP.NET Core project, learned how to use the Startup.cs
file of that project, and tried the new built-in API documentation out of the ASP.NET Core Web API.
In this chapter, we will cover the following topics:
- Creating an ASP.NET Core project
- Understanding the
Program.cs
file - Demystifying the
Startup.cs
file - Getting started with Swashbuckle