PRN231_-_FA_2023_-_RE_1158.webp
longpm2303

PRN231_-_FA_2023_-_RE_1158.webp

Answer (Choose 1 answer)
How to create a custom formatter class in ASP.NET Core Web API?
A. None of these
B. 1. Specify valid media types and encodings in the constructor.2.
Derive the class from the appropriate base class (could be TextOutputFormatter and TextInputFormatter).
3. Override the CanReadType and CanWriteType methods.
4. Override the ReadRequestBodyAsync and Write ResponseBody Async methods.
C. 1. Override the CanReadType and CanWriteType methods.2. Override the ReadRequestBodyAsync and Write ResponseBody Async methods.
3. Derive the class from the appropriate base class (could be TextOutputFormatter and TextInputFormatter).
4. Specify valid media types and encodings in the constructor.
D. 1. Derive the class from the appropriate base class (could be TextOutputFormatter and TextInputFormatter).
2. Specify valid media types and encodings in the constructor.3. Override the CanReadType and CanWriteType methods.
4. Override the ReadRequestBodyAsync and Write ResponseBody Async methods.

Exit 32

Thông tin

Category
PRN231
Thêm bởi
longpm2303
Ngày thêm
Lượt xem
1,576
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN231_-_FA_2023_-_RE_1158.webp
File size
85.7 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom