.Net: Difference Between WCF Service and Silverlight-Enabled WCF Service

The following are the differences between a regular WCF Service and a Silverlight-Enabled WCF Service.

WCF Services

  • Utilize the ‘wsHttpBinding’ as their default binding
  • Are generated with an Interface

Silverlight-Enabled WCF Services

  • Utilize ‘basicHttpBinding’ as their default binding
  • have no interface generated when they are created
  • have the following added to the class

    • [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
  • the following element is added to the

2 thoughts on “.Net: Difference Between WCF Service and Silverlight-Enabled WCF Service

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s