Where should I set generatePublisherEvidence to false in an asp.net application?

To reduce the load time of this blog , we suggest setting the generatePublisherEvidence parameter to false in app.config for executable files.

<configuration> 
   <runtime> 
      <generatePublisherEvidence enabled="false"/> 
   </runtime> 
</configuration>

Where can I install it for web applications? The blog suggests that this does not happen in web.config. Where else should I put this?

+3
source share
2 answers

Comments on the same blog entry are mentioned in order to put it in the aspnet.config file in C: \ windows \ Microsoft.NET \ Framework \ vxxxxx. I said that. Could not find settings for one application.

+2

machine.config IIS. web.config <configuration>, not . <configSections>.

+1

Source: https://habr.com/ru/post/1743948/


All Articles