+ Start a Discussion
Jeff TollefsonJeff Tollefson 

Using SalesForce database to authenticate customers on .NET

I'm working on a group project for a systems development class. We are working on building a CRM system for a local small business. They want to keep costs low, but they're interested in utilizing SalesForce and their current website uses .NET. Our team isn't very familar with SalesForce yet, but here's the general flow of what we're looking to do:

- Customer registers a case on a web form. This web form will also contain a userid and password for them to enter.
- The information will be passed on to the SalesForce database.
- Our SalesForce administrators will be able to view and update the case as they make progress on them.
- The customer then will be able to login from the business's website using the userid and password from the SalesForce database.
- The website will return the current status and information of the case.

First of all, does this seem possible? If so, what would be the best way to go about the development?
Sumit Jain CelebalSumit Jain Celebal
Hi Jeff

You can probably use a Salesforce Community to achieve this. The customers can be registered as community users and the community user credentials can be used to register a case on a web form and that will eventually create a case in Salesforce.

And the information to and from Salesforce can be easily integrated with the community.

Let me know if you need more information around it.

Daniel BallingerDaniel Ballinger
We make a .NET based product called S4S (http://www.fuseit.com/products/sitecore-for-salesforce/)which fundamentally does what you describe between Sitecore (a .NET based CMS) and Salesforce.

It utilises an implementation of the .NET security provider model to allow users to authenticate with credentials stored in a Salesforce record. Have a look at the MembershipProvider, RoleProvider, and ProfileProvider classes. You implement these base classes and then configure them in the .config file to provide authentication and authorization details.

In terms of interacting with Salesforce, we use the Partner API. You could equally use the REST API or the prebaked Force.com Toolkit for .NET. (https://github.com/developerforce/Force.com-Toolkit-for-NET)