Using ASPNet_Regiis to encrypt custom configuration section – can you do it?

aspnet_regiis must be able to bind the assembly. The normal .net binding rules apply. I get around this by creating directory called aspnet_regiis_bin in the same directory as aspnet_regiis.exe and an aspnet_regiis.exe.config file with aspnet_regiis_bin as a private path like this: <configuration> <runtime> <assemblyBinding xmlns=”urn:schemas-microsoft-com:asm.v1″> <probing privatePath=”aspnet_regiis_bin”/> </assemblyBinding> </runtime> </configuration> I then copy the assemblies … Read more

tech