Minggu, 10 Oktober 2010
How to Generate machineKey for your web.config in .NET
IntroductionWe were implementing Single Sign-On for our enterprise ASP.NET applications, I have been asked: How can we generate our own machine keys in our asp.net web.config ? Here is the console application you need to run and to get a random key based on the length you need and then add it to your web.config. C# Codestatic void Main(string[] keyLength){int len = 128;if (keyLength.Length > 0)
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar