What does aspnet_regiis.exe do exactly other than updating the document mappings to correct aspnet_isapi.dll version, is updating the ASP.NET version from inetmgr same as running aspnet_regiis, I could not find any blog post or article describing the steps this particular batch command does. Please give any links you know of detailing the steps of aspnet_regiis.exe
The Aspnet_regiis.exe tool is located in the %windows%\Microsoft.NET\Framework\versionNumber folder. You can also use the protected configuration classes in the System.
To encrypt connection string information stored in the Web. config file. At the Windows command line, run the ASP.NET IIS registration tool (Aspnet_regiis.exe) with the following options: The -pe option, passing it the string "connectionStrings" to encrypt the connectionStrings element.
My favorite feature of it, is the ability to encrypt settings in web.config something along the lines of:
aspnet_regiis -pe /myapprootvirtualdirector
and decrypt is -pd
encrypt only after deployment to the server - as encrypting on one machine won't be valid on the other unless you share machine keys.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With