A.Run the aspnet_regiis.exe command.
B.Set the Treat warnings as errors option to All in the project properties and recompile.
C.Add the following rule to the section of the web.config file.
D.Add the following rule to the section of the web.config file.