Results 1 to 4 of 4

Thread: How to configure WCF services using Configuration Files

  1. #1
    Join Date
    Feb 2009
    Posts
    79

    How to configure WCF services using Configuration Files

    How to configure WCF services using Configuration Files, I understand that when self-hosting this is required but is this harmful or even used when operating under IIS? I am unable to use and start this services, Please suggest how do i do that?

    Thanks in advance.

  2. #2
    Join Date
    Feb 2009
    Posts
    62

    Re: How to configure WCF services using Configuration Files

    Configuring a Windows Communication Foundation (WCF) service with a configuration file, the service's base address is determined by the web site & virtual directory into which your wcf service is placed. wcf also gives you the flexibility of providing endpoint and service behavior data at the point of deployment instead of at design time. This topic outlines the primary techniques available. Windows Communication Foundation supports a pretty extensive XML configuration schema in your app.config or web.config file to configure both service providers and service consumers as an alternative to using code to set things up.

  3. #3
    Join Date
    Feb 2008
    Posts
    121

    Re: How to configure WCF services using Configuration Files

    A WCF service is configurable using the .NET Framework configuration technology. It is merely a convenience that avoids you having to enter a full address for each endpoint. If it is present, the endpoints can have relative addresses. Most commonly, XML elements are added to the Web.config file for an Internet Information Services (IIS) site that hosts a WCF service. This is a good thing in most respects. What causes problems for people getting into WCF is that the WCF is too configurable.

  4. #4
    Join Date
    Oct 2008
    Posts
    117

    Re: How to configure WCF services using Configuration Files

    WCF uses the System.Configuration configuration system of the .NET Framework. When configuring a service in Visual Studio, use either a Web.config file or an App.config file to specify the settings. Instead of using the XML hierarchical nature to represent a service or client configuration, the WCF configuration schema is based on keys (identifiers) and references, similar to how you'd do it in a relational database. In order to configure our service we are going to use the Microsoft Service Configuration Editor. This editor allows us to configure our WCF service and can be launched right from Visual Studio.

Similar Threads

  1. Wireless Zero Configuration in Services disappeared
    By Deshawn in forum Networking & Security
    Replies: 7
    Last Post: 22-02-2012, 04:55 AM
  2. Replies: 7
    Last Post: 02-12-2011, 10:55 AM
  3. How to configure Terminal Services RemoteApp Manager
    By Algernon in forum Networking & Security
    Replies: 4
    Last Post: 24-12-2010, 12:51 AM
  4. How to configure Windows Deployment Services
    By Computer_Freak in forum Tips & Tweaks
    Replies: 1
    Last Post: 30-07-2009, 08:21 PM
  5. SharePoint Services 3.0 Configuration Wizard error
    By iShree in forum Small Business Server
    Replies: 1
    Last Post: 11-11-2007, 09:04 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,281,229.90232 seconds with 16 queries