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, 10 months agoex
5 years, 8 months agoJanibaldo
5 years, 5 months agotanujgyan
5 years, 2 months agozimzimzimma
Highly Voted 5 years, 1 month agoParkPalaceJoe
Most Recent 4 years, 9 months agomr_
5 years, 1 month agoDev666
5 years, 2 months agoAghie
5 years, 11 months agoAghie
5 years, 11 months agoDev666
5 years, 2 months agoAghie
5 years, 11 months agoyayopojif
5 years, 11 months agofounderDev
5 years, 5 months agotanujgyan
5 years, 2 months ago