HOTSPOT -
You are developing an ASP.NET Core application. You have the following code:
You create a folder named Content in your project. You add a controller action that uses authorization and returns a FileResult object.
The application must meet the following requirements:
✑ Use Kestrel as the server.
✑ Serve static files from the wwwroot folder and publicly cache the files for five minutes.
✑ Serve static from the Content folder to authorized users only.
✑ Serve a default.html file from the wwwroot folder.
You need to configure the application.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
Piggas
Highly Voted 5 years, 8 months agoex
5 years, 6 months agoJanibaldo
5 years, 3 months agotanujgyan
5 years agozimzimzimma
Highly Voted 4 years, 11 months agoParkPalaceJoe
Most Recent 4 years, 7 months agomr_
4 years, 12 months agoDev666
5 years agoAghie
5 years, 9 months agoAghie
5 years, 9 months agoDev666
5 years agoAghie
5 years, 9 months agoyayopojif
5 years, 9 months agofounderDev
5 years, 4 months agotanujgyan
5 years ago