What unified ASP.NET Web API and MVC into one framework?
ASP.NET Core
From the beginning, ASP.NET Web API had been designed to be a service-based framework for building what kind of services?
REpresentational State Transfer (RESTful) services
How does the Pro C# book say JSON is pronounced?
"jay-sawn"
What are requests that originate from one server to the API of another server?
Cross-origin requests
What are requests that originate from another server communicating with an API?
Cross-origin requests
What is short for cross-origin requests?
CORS
What method must be called before adding the CORS policy to the services collection in an ASP.NET Core app?
UseHttpsRedirection()
What does the Pro C# book define as "URI that points to a physical resource on a network?"
URL
What do web APIs use to communicate success or failure (HTTP)?
Status codes
What attribute provides REST-specific rules, conventions, and behaviors when combined with the ControllerBase class?
ApiController
What status code will be returned by an ASP.NET Core controller if there is an issue with model binding?
400 Bad Request
What technique for web API versioning would leave 1.0 action methods in a ValuesController and create a Values2Controller to hold the version 2.0 methods?
Controller splitting
What are the two open source libraries the Pro C# book mentions add Swagger into ASP.NET Core APIs?
Swashbuckle and NSwag
What is the file that Swashbuckle generates that contains information for the site, each endpoint, and any objects involved in the endpoints?
swagger.json
What is the interactive UI that Swashbuckle provides to present the contents of swagger.json?
Swagger UI
What is the syntax for method signature comments that .NET can generate an XML documentation file?
///
What does the Pro C# book call concatenating a username and password with a colon, Base64 encoding it, and putting this in the Authorization header of the request?
Basic authentication
What attribute can be used in ASP.NET Core at a controller or action to require a user to be authenticated in order to access the resource?
Authorize
What attribute can be used in ASP.NET Core at a controller or action to turn off protection for a resource?
AllowAnonymous
Previous card
First card
Random order
Next card