11.07.2015 Views

y - Net Developer

y - Net Developer

y - Net Developer

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

amrameshreddy.blog.com114 CHAPTER 4 ■ INSTALLING AND CREATING WCF SERVICESramrameshreddy.blog.comService references: Within this folder two items were added. The first, a “map” file, providessupport for the generation and regeneration of the proxy through the Visual Studio addin.The second item—Example03.cs—represents the concrete proxy class implementationthat leverages the namespace System.ServiceModel to provide a simple integration class.Configuration: The second item is the App.config file. An App.config file (automaticallyrenamed during the Visual Studio build process to .config) provides theruntime WCF configuration parameters. If you peer inside this file, you’ll notice a tremendousamount of settings, many of which are either defaulted or redundant to the defaultsettings. A general approach is to generate the file and then manage the file using theWCF SvcConfigEditor.exe editor utility. This utility is located in the Windows SDK Bindirectory and accessible from within Visual Studio 2005 in the Tools menu as WCFSvcConfigEditor. Figure 4-5 shows the implementation of the tool.Figure 4-5. Microsoft Service Configuration Editor—SvcConfigEditor.exeAs you can see from the Microsoft Service Configuration Editor, you can manage atremendous amount of detailed properties through the configuration tool. This is one of thegreatest strengths of WCF—the ability to control many aspects of an implementation withoutimpacting the core service implementation. That a service implementation doesn’t need tochange in order to migrate from an HTTP-based protocol to another message-oriented one isa core strength of WCF’s metadata approach.ramrameshreddyramrameshreddy

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!