Developing ASP.NET MVC Web Applications — Question 146
You develop an ASP.NET MVC application. The application includes a web application configuration file that contains sensitive information.
You need to encrypt the sensitive information.
Which tool should you use?
Answer options
- A. ngen.exe
- B. aspenet_wp.exe
- C. regasm.exe
- D. xaspol.exe
- E. aspnet_regis.exe
Correct answer: E
Explanation
The correct tool for encrypting sensitive information in an ASP.NET application is aspnet_regis.exe, which allows you to secure the data in the web configuration file. The other options, such as ngen.exe and regasm.exe, serve different purposes related to native image generation and assembly registration respectively, making them unsuitable for this task.