سؤال

I was setting up my web.config for subdomain single login. I had to set up Machine key. How can I generate machine key? RIght now i'm using key from this example:

ASP.NET Identity Cookie across subdomains

But I suppose that if it works I have to generate somehow my own key?

هل كانت مفيدة؟

المحلول

You can use the tool

Machine Key Generator

نصائح أخرى

If you have IIS manager installed, you can generate machine keys from there by selecting your application. You can also apply them to the web.config file to save them.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top