You are designing an ASP.NET Web Forms application.
You have the following requirements:
– Make use of exclusive features in a newly released Web browser.
– Do not change existing code files.
You need to design the application to meet the requirements.
Which approach should you recommend?
A.
Use a .browser file.
B.
Use the HttpWorkerRequest class.
C.
Use the Web application s master page.
D.
Parse the UserAgent string in Page_Load.
Explanation:
To determine the capabilities of a client browser, ASP.NET compares identifying information provided by the browser to a series of .browser files. At runtime, you can examine the browser capabilities to customize the page for that specific browser type.