WCF 4.5 Hosting :: Intellisense support for config file in WCF 4.5

Today, in this article let’s play around with one of the interesting and most useful concept in WCF 4.5.

Question: What is intellisense support for configuration file?

In simple terms “It provides easy and friendly way to access the code while working with config file. The intellisense support is now enabled for WCF config file”.

Step 1: Create a new wcf 4.5 project.

Step 2: The complete code of web.config file looks like this

</p>
s<?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>
<p style="text-align: justify;">>

Step 3: The output of the application showing intellisense enabled for config file looks like this

I hope this article is useful for you

Comments are closed.

Sponsors

JaringanHosting.com

Cheap Reseller Hosting

Best Blog Hosting Provider

Best European ASP.NET 4.0 Hosting Provider