Infocard SP Server – Updated for July CTP

Microsoft has recently released the .NET 3.0 Framework – July CTP. Pam has put together a great page that consolidates the various resources available to help with Cardspace. It inspired me to upgrade our test website to the July CTP. Here is the new URL:

The server will do the following:

  • decrypt the xmlToken and retrieve the SAML assertion.
  • validate the SAML assertion for schema, time expiry, signature etc.
  • retrieve user attributes to create a local session.
  • Once the user attributes are retrieved, the server can federate to other domains using SAML 1.X, SAML 2.0 or WS-Fed.

Here is a summary of what you need to do for the client side (I only tried it on XP).

  • Download and install Internet Explorer 7 Beta 3 for Windows XP Service Pack 2 . It’s available for download from here. If you already have an older version of IE7 running, you need to uninstall it before installing the new one. And you might have issues in uninstalling. If you do, look here for instructions.
  • Download and install .NET Runtime Framework 3.0 – July CTP. It’s available for download from here. You will also need to have a hotfix (KB912817). The installer will assist you in that.
  • You should now see the following Cardspace icon in your control panel. Cardspace icon
  • Click on the icon and create some self-issued information cards.
  • Login to the test site

The installation of IE and .NET 3.0 will take a few window’s restarts….so be prepared. But in general, the whole client setup process shouldn’t take that long.

I did notice some minor changes in the new version. For instance:

  • the icon is called as ‘Cardspace’ and not ‘Digital Identities”.
  • New look and feel for the Cardspace GUI and some more options.
  • In the html object tag, the object type is “application/x-informationcard”. It used to be “application/x-informationCard” in the Mix 06 release and “application/x-infocard” in the Feb CTP release.
  • The format for requiredclaims has changed from “GivenName” to “givenname” etc.
  • I haven’t completely tested this one but I suppose the current CardSpace supports SAML 1.1 whereas the older ones had SAML 1.0 support for self-issued cards.

So…if you are interested, give it a try. If you face any issues, please let me know.

3 Responses to “Infocard SP Server – Updated for July CTP”

  1. shaji says:


    I have hosted .net web application supporing “cardspace” locally on machine having Winfx july ctp & ie 7.0 beta 3 (IE: 7.0 v7.0.5450.4 ). on WIN 2003 & iis 6.0. The problem I am facing here is that during Login Process my web application does not popup the CARDSPACE selection window(Code for popup and displaying CARDSPACE is correct). I am able to access and able to sign in using CARDSPACE.( here windows CARDSPACE is automatically popup) and in this site also Cardspace selection window popups

    I am guessing the problem here is with my installation ……. or Configuration tag i have missed. for hosting web application having “CARD SPACE” anything other than july ctp, ie 7.0 beta 3 , hotfix ???? or any configuration should be changed for IIS ?

    My code given below

    InfoCard Demo

    InfoCard Browser Demo


    Code behind of login -> here I am getting xmlToken as null

    protected void Page_Load(object sender, EventArgs e)


    if (this.IsPostBack)


    // we should haved received a token

    string token = Request.Form["xmlToken"] as string;

    if (String.IsNullOrEmpty(token))

    Response.Write(“Unable to authenticate the caller. Please select an InfoCard credential.“);





    guide me

    thanks in advance

  2. Ashish Jain says:

    Do you have the cert and https configured correctly? Had several issues before I migrated to a trusted CA cert. Some of the details here:

Leave a Reply

Image | WordPress Themes