Config based activation in WCF

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Fri, 16 Apr 2010 00:00:00 GMT Indexed on 2010/04/16 23:03 UTC
Read the original article Hit count: 271

Filed under:
There is a cool WCF feature instroduced in dev10 called configless activation. You don't have to have a *.svc file in your web directory, instead you can activate a WCF service using the following configuration element:   <system.serviceModel>   <serviceHostingEnvironment>     <serviceActivations>      <add relativeAddress="Service1.svc" service="configlessWCF.Service1"/>     </serviceActivations>   </serviceHostingEnvironment> </system.serviceModel> Hope...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner