PRN231_-_SU_2023_-_FE_495.webp
Mai Linh 2001

PRN231_-_SU_2023_-_FE_495.webp

(Choose 1 answer)
How to create a custom formatter class in ASP.NET Core Web API?
A. 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 WriteResponseBody Async methods.
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 WriteResponseBody Async methods.
C. 1. Override the CanReadType and CanWriteType methods.
2. Override the ReadRequestBodyAsync and WriteResponseBody 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. None of these

El 30

Thông tin

Category
PRN231
Thêm bởi
Mai Linh 2001
Ngày thêm
Lượt xem
2,001
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN231_-_SU_2023_-_FE_495.webp
File size
80.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom