IntroductionToday, in this article let's play around with one of the interesting and most useful concepts in WCF 4.5.Question: What is intellisense support for configuration file?In simple terms "It provides an easy and friendly way to access the code while working with the config file. The intellisense support is now enabled for the WCF config file".Step 1: Create a new WCF 4.5 project.
Step 2: The complete code of web.config file looks like this:
<?xml version="1.0"?>
<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IService1"/>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:7395/Service1.svc" binding="basicHttpBinding" contract="WCFApp.IService1" bindingConfiguration="BasicHttpBinding_IService1" name="BasicHttpBinding_IService1"/>
</client>
</system.serviceModel>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
I hope this article is useful for you.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: