Hi Paul,

I know when I first started doing WCF work it was quite overwhelming the
amount of config. But having been working with it for a few years now I find
it pretty quick to create the necessary settings - it's not that complex
once you get your head round the structure.

There is a base set of config that needs to be there - once you have the
base there the rest is not that large I find

This is pretty much the basic to get you running (written in outlook so
sorry for typos)

<system.serviceModel>
  <services>
    <service name=[dotnet implementation class here]
behaviorConfiguration="md" >
        <host>
          <baseAddresses>
             <add baseAddress="http://[rest of address] /> <!-- used for
metadata delivery -->
          </baseAddresses>
        </host>

        <endpoint address=[relateive address to base address here]
                  binding=[name of the binding you need to use]
                  contract=[dotnet contract interface name here] />
    </service>

  </services>
  <behaviours>
     <serviceBehaviors>
       <behavior name="md">
          <serviceMetadata httpGetEnabled="true"/>
       </behaviour>
     </serviceBehaviors>
  </behaviours>
</system.serviceModel>

Regards

Richard Blewett
DevelopMentor
http://www.dotnetconsult.co.uk/weblog2

> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [EMAIL PROTECTED] On Behalf Of Paul Cowan
> Sent: 28 February 2008 14:02
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: [ADVANCED-DOTNET] WCF WTF
>
> Too add to my earlier discussion.Has anybody done anything with WCF.The
> amount of configuration is absolutely staggering.I am not doing
> anything that [EMAIL PROTECTED]
> _________________________________________________________________
> Telly addicts unite!
> http://www.searchgamesbox.com/tvtown.shtml
> ===================================
> This list is hosted by DevelopMentorR  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to