Practicing and exploring
Test your knowledge and understanding by answering some questions, getting some hands-on practice, and exploring this chapter’s topics with deeper research.
Exercise 8.1 – Test your knowledge
Answer the following questions:
- List six method names that can be specified in an HTTP request.
- List six status codes and their descriptions that can be returned in an HTTP response.
- How is the ASP.NET Core Minimal APIs service technology different from the ASP.NET Core Web APIs service technology?
- With the ASP.NET Core Minimal APIs service technology, how do you map an HTTP
PUT
request toapi/customers
to a lambda statement block? - With the ASP.NET Core Minimal APIs service technology, how do you map a method or lambda parameter to a value in a route, query string, or the body of the request?
- Does enabling CORS increase security for a web service?
- You have added statements to
Program.cs
to enable HTTP...