WIF manually generate federationmetadata.xml

Cosmin Onea picture Cosmin Onea · Nov 17, 2009 · Viewed 7.2k times · Source

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?

Answer

Cosmin Onea picture Cosmin Onea · Dec 6, 2009

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