New Features in WCF 4.5 - Part 2





0/5 (0 vote)
This WCF Tutorial is Part-2 in series of new features in Windows Communication Foundation v4.5.
This WCF Tutorial is Part-2 in series of new features in Windows Communication Foundation v4.5. In this part, we will further explore the following interesting features:
- Single WSDL file
- Tooltip and Intellisense Support
- Simplified Generated Configuration
- Validating WCF Configuration
WCF - Single WSDL file
Due to this dependency on other files, processing of such WSDL file by some third-party was not possible. But now with Windows Communication Foundation v4.5, all WSDL information is returned in one single document including Data Contracts.
Now when we browse to WCF 4.5 service metadata URL, we have two options as follows:
- http://localhost:xxxx/MyServiceProject/Service1/?wsdl
- http://localhost:xxxx/MyServiceProject/Service1/?singleWsdl
WCF - Tooltip and Intellisense Support
In Part-1 of this WCF Tutorial series, we have already discussed about "Simplified Generated Configuration" and "Configuration Validation". Microsoft further provided Tooltip and Intellisense support in configuration file that will definitely improve WCF developer productivity because without Intellisense support, it was hard for developers to remember all configuration details.
Following in this WCF tutorial, I have provided few screenshots for Tooltip and Intellisense support and you can easily understand that how helpful all these enhancements are.
The below two screenshots are for tooltip support displays helping text for <behavior>
and <serviceMetadata>
elements in web.config of a WCF Application.
Intellisense support further improves developer performance as you can see that it's supported for service name, binding and contract. Now, you as a developer don't need to memorize it or copy/paste. Just choose your service, binding and contract easily.

I have given screenshots for only few things that are related to WCF but this intellisense support is for other configuration elements and inbuilt with Visual Studio.
Hopefully, these cool features will help you as a WCF developer to perform better. We will keep exploring the other new features in WCF 4.5 in this WCF 4.5 Tutorial Series.
Other Tutorials That Might Be of Interest
- Top 10 WCF Interview Questions and Answers
- Consuming a WCF RESTful service using jQuery
- Creating your first WCF REST service
- Post JSON data to WCF RESTful Service using jQuery
- basicHttpBinding Vs wsHttpBinding
- WCF vs ASMX
- ASP.NET Web API Tutorial
- Difference between ASP.NET WebForms and ASP.NET MVC
- Top 10 ASP.NET MVC Interview Questions