PRN231_-_FA_2024_-_FE_3047.webp
clear_water

PRN231_-_FA_2024_-_FE_3047.webp

Kizspy | Question: 17
(Choose 1 answer)
How can you return an XML response from an action method in ASP.NET Core Web API?
A. By using the [XmlResult] attribute on the action method.
B. By manually serializing the data to XML format using an XmlSerializer.
C. By returning an ObjectResult with the desired data and specifying the response format as XML.
D. By configuring the media types in the Startup class.

Thông tin

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

Share this media

Back
Bên trên Bottom