Guest User

Untitled

a guest
Sep 16th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Encrypt the password string in web.config
  2. <system.net>
  3. <mailSettings>
  4. <smtp deliveryMethod="Network">
  5. <network host="smtp.gmail.com" userName="guess@gmail.com" password="test" port="587" />
  6. </smtp>
  7. </mailSettings>
  8. </system.net>
  9.  
  10. <configSections>
  11. <section
  12. name="sampleSection"
  13. type="System.Configuration.SingleTagSectionHandler"
  14. />
  15. </configSections>
  16.  
  17. <MySecrets
  18. FavoriteMusic="Disco"
  19. FavoriteLanguage="COBOL"
  20. DreamJob="Dancing in the opening ceremonies of the Olympics"
  21. />
  22.  
  23. aspnet_regiis -pef MySecrets
Add Comment
Please, Sign In to add comment