Wednesday, April 1, 2015

Generating a MachineKey for ASP.NET

If you want to share any information (such as Forms Authentication Cookies) across your ASP.NET Applications, you will need to ensure that you use a common MachineKey element across all of your ASP.NET Web Applications. 

Of course, you can use one of the many online MachineKey generators, or you can directly generate your own MachineKey from IIS Manager!

One of the limitations that the online MachineKey generators have is that they only provide a few options for your MachineKey element in terms of validation and encryption.  However, if you use the built-in IIS Management capabilities for generating your MachineKey, you do not have any of these limitations.

No comments:

Post a Comment