stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
DNP: "Exposing Web Services" Flashcards | StudBud
Explore
/
DNP: "Exposing Web Services"
DNP: "Exposing Web Services"
19 terms
·
StudBud Administration
·
202 plays
A quiz on building web services
Flashcards
19 cards
F
Practice quiz
P
Host live
L
Questions
19
Answers
1
What is the purpose of Swagger/Open API?
Deploying your app
Open-sourcing your app
Generating help pages
Generating swag
2
Controller routes are...
Appended to action routes
Not used for action routes
Prepended to action routes
The entire route for an action route
3
Resource URI's should be based on...
Verbs
Nouns
Conjunctions
Adjectives
4
What classes handle HTTP requests?
Models
Routers
Controllers
Views
5
Where is the model validated?
In the database
In the controller
In the model
In the view
6
Web APIs should be organized around...
Functions
Procedures
Operations
Resources
7
What are Action Results used for?
Making a request
Asynchronous operations
Multithreading
Producing a response
8
Which is NOT a good way to do Web API versioning?
Query String Parameter
Custom Header Parameter
URI
Request Body
9
Which is an example of a constraint for a route template?
{id?}
api/orders/{id}
{id=42}
{id:int}
10
What is content negotiation used for?
Improving performance
Serving the same content in various formats
Restricting data access
Serving different content in the same format
11
What is a Web API?
A SOAP service
A cleaning service
A hosting service
An HTTP service
12
What is this an example of?
Request binding
Model binding
Response header
Dependency injection
13
Which is NOT a helper extension method on ControllerBase?
OK(object)
BadRequest(ModelState)
ServerError(error)
Content("hello!")
14
Which is not a valid attribute for parameter binding in ASP.NET Core?
FromRequest
FromQuery
FromHeader
FromRoute
15
What is this an example of?
Route verb
Action token
Action verb
Route token
16
What is this an example of?
Constant linking
Attribute verbing
Attribute routing
Content negotiation
17
A well designed REST API should NOT aim to...
Support service evolution
Expose internal implementation
Support platform independence
Conform to HTTP semantics
18
Are you ready to learn about Artificial Intelligence?
... You mean "user management and security", right?
YES!
... You mean "web applications", right?
... You mean "data access", right?
19
What pipeline is invoked for each HTTP request in ASP.NET Core?
The upperware
The bottomware
The tupperware
The middleware