So there is a problem and a lot of online confusion about how to do a fresh install of Windows Identity Foundation SDK.
This tip specifically talks about using .NET 4.0 on Windows 7.
(sorry SharePoint guys)
I found a number of "answers" on-line that didn't work for me.
I'm running a Dev machine, almost all software on this machine is MSFT, it is to the most currently available update, and I'm using VS 2008, VS 2010, SQLSVR 2008, IIS7.
If you want to try it for yourself, you can find it at the MSFT Forefronet site
1. Be an Admin, and close all instances of Visual Studio (2010, 2008, 2005... etc...).
2a. Go into Programs and Features> then choose Turn Windows Features on or off. And enable all (except Gaming).... restart computer.. wait....
2b. Try to install the Identity Developer Training Kit
**I realize this is a bit vague. However I did both of these and it started working after a very long restart (It took about 2 hours...) so specifically I can't say which part was the actual trigger.. but it is more specific than any of the MSDN forums..
3.Try to install Windows Identity Foundation Runtime
4.Install Windows Identity Foundation SDK
** Note that the templates are installed into Visual Studio under new/web site...
"Geneva" Claims Forum
As I am working with these installs over the next couple of weeks, I may need to do this process a number of times. Updates and refinements will be made where necessary.
I recommend getting the SecurityTokenVisualizerControl
] It's a very handy tool. If you are using VS2010, you will need to make a reference to the project which is included, the install script doesn't work (even if you adjust your script privileges) REMEMBER: You need to hook up this control in the Config file!
//Don't forget to add the config setting to your RP config file.
<service saveBootstrapTokens="true" />