This document describes SAML SSO integration with Salesforce acting as the identity provider or service provider.
ComponentSpace SAML for ASP.NET Salesforce Identity Provider Integration Guide
ComponentSpace SAML for ASP.NET Salesforce Service Provider Integration Guide