0

I am using .Net 4.5, VS2012, EF 6.0

I have the following web.config files in a wcf service solution:

web.config
web.DEV.config
web.Test.Config
web.UAT.config
web.Prod.config

The last 4 are web.config transformation files.

I know I can use aspnet_regiis -pef to encrypt the web.config and it works just fine.

How will I encrypt the transformation files?

1 Answer 1

1

You could run aspnet_regiis -pef on the transformed web.config after it is published.

Sign up to request clarification or add additional context in comments.

2 Comments

I understand that this works very well on my machine. But how will I make sure it works fine on other machines? How do I create a key that is common?
This link describes how you can share the encryption key between different servers: jimmylarkin.net/post/2013/04/09/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.