views:

586

answers:

2

I am playing with windows identity foundation and I am trying to create an MVC.NET based Security Token Service and use it as the Single Sign On application.

My only problem is that I don't know how to generate the federationmetadata.xml file.

Is there any tool to generate this file manually?

A: 

right click the project and configure STS...

chugh97
Do you mean that I can create an MVC.net web app and right click on it and turn it into an STS?I don't see that option in the release version of WIF.
Cosmin Onea
Have you installed the WIF redistributable and also the WIF SDK?
chugh97
Also locate this file FedUtil.exe and use this if VS 2008 doesnt give you the option when you right click.....
chugh97
see this link..it might helphttp://social.msdn.microsoft.com/Forums/en-US/Geneva/thread/1c16046c-cf98-44f3-9235-48b02732b5e5
chugh97
+1  A: 

I created a custom metadata generator that does what VS does when you create the STS project. I had to use Reflection to call the code because as usual everything useful is internal in Microsoft's assemblies.

More about it here

Cosmin Onea