Tutorial: Force.com for ASP.NET Developers | Salesforce Developers Blog

MsdotnetUse the Force.com Web Services to access Salesforce.com data from with a Visualforce page and/or a Microsoft ASP.NET Web form. Go ahead and mash it up!
This article will take you through the process of creating custom Force.com logic, then demonstrate how to call that logic from within a Force.com application or from a custom application hosted outside Salesforce.com.

You can learn how to do the following:

  • Create a custom Force.com function and expose it as a Web Service.
  • Create a Visualforce application that calls the custom Force.com function and displays the results within a Visualforce page.
  • Create a Microsoft ASP.NET Web form that retrieves data from the Force.com Web Service and displays the results within an ASP.NET Web page.
  • Use an email address to look up a lead in a Salesforce.com account and return the leadâ??s listed mailing address, which can be used to pre-populate an online order form.

When you are done, you should understand how to do the following:

  • Use Apex code (a procedural on-demand language that is part of the Force.com platform) to expose a Simple Object Access Protocol (SOAP)-based Web Service from within Force.com.
  • Use Visualforce to consume the SOAP-based Web Service in a Force.com application.
  • Use Microsoft Visual Studio 2005 to consume the SOAP-based application from an external ASP.NET Web site.

Happy learning!
The Force.com Developer Team

Stay up to date with the latest news from the Salesforce Developers Blog