aspnet-regiis.exe

ASP.NET Encryption - aspnet_regiis - Farm

扶醉桌前 提交于 2019-11-27 08:09:13
问题 We have website that uses "NT Authority\Network Service". Response.Write(WindowsIdentity.GetCurrent().Name); We are currently using the following command to encrypt the config files. aspnet_regiis -pc "NetFrameworkConfigurationKey" aspnet_regiis -pa "NetFrameworkConfigurationKey" "NT Authority\Network Service" aspnet_regiis.exe -pef "connectionStrings" "C:\WebAppLocation\Folder" Note: We are not using "-exp". When we use "-exp" it is not creating RSA Key Container. AS you can see, we are

Determining if ASP.Net is properly registered

只谈情不闲聊 提交于 2019-11-27 05:35:59
问题 Does anyone have a bulletproof method (in C# ideally!) of determining if ASP.Net is properly registered on your computer ? I am writing an installation program for an ASP.Net application and I need to know whether I should run aspnet_regiis . At the moment we always run aspnet_regiis - I to ensure that ASP.Net is registered properly but this undesirable because it prompts a restart of all the application pools. There are several useful pages on the web (e.g. http://www.codeproject.com/KB/cs