Wednesday, January 11, 2012

Deploying WCF and Silverlight Applications on IIS 5 and 7

Contents

  1. Prerequisites
  • Creation of a WCF service
  • Configuring a WCF application on IIS 5
  • Configuring a WCF application on IIS 7
  • Configure the security parameters for Silverlight

  • 1. Prerequisites
    In this article I would like to dive into the configuration and deployment of WCF services used by a Silverlight client on IIS 5 and IIS 7.

    The prerequisites for this article are as follows:

    1.1 Server side

    You should have installed the following:

        Windows XP or Window 7
        IIS installed
        .NET Framework 3.5 or 4.0 (recommended)

    1.2 Client side
    Silverlight 2, 3, or 4 (preferably the right version of Silverlight; if the right version is not used, the Silverlight application would be non-functional).

    1.3. Local Area Network
    A Local Area Network is essential to test our application.

    2. Creation of a WCF Service

    To create a WCF service, you have to define the Service Contract that has to be exposed to the client. An example of a service contract interface for a calculator service is shown below:


    Read more: Codeproject

    QR: DeployWCFSLApp_IIS2.aspx

    Posted via email from Jasper-Net