Part1 Flashcards
1
Q
What is content negotiation?
A
It is a mechanism using whihc the client can decide the format of the response form the server.
We do it using Accept header.
2
Q
We have to add an image to our model? How to do that?
A
Storing an image inside the database is not a good design. Hence, we need to use a storage. We store the image in the storage and the reference to that image in the database.
3
Q
What attribute we use to not to add a property to a database?
A
[NotMapped]