Click here to Skip to main content
13,299,727 members (62,266 online)
Click here to Skip to main content
Add your own
alternative version


18 bookmarked
Posted 24 Dec 2007

WCF - Microsoft Service Configuration Editor – Services - SvcConfigEditor.exe

, 25 Dec 2007
Rate this:
Please Sign up or sign in to vote.
Explaining Service Configuration through SvcConfigEditor.exe
Microsoft announced very recently about "Oslo" and their strategies about Enterprise Integrations and Service Orientation. The announcement made me tempt to explore WCF (bytheway I started calling me WCF professional few months ago ;-) ), and I come across to a very good tool called "Microsoft Service Configuration Editor". So grabbed the opportunity to document something and let's publish ;-) please bare one more article…

While learning WCF the first thing came to my mind was Enterprise Services Management (This days I am playing my cards with Live Service Management), it's ok if you plan 2-3-10-20-50 number of the services for your business but when you are planning services in big bulk, distributed deliveries of services, different assemblies, managing behaviors/contracts/endpoints for various clients/hosts, etc…. there could be N number of the possibilities for various service management scenarios. And my thoughts and excitement brought me to the administrative tool called "Microsoft Service Configuration Editor". Microsoft is supplying this tool with "Microsoft Windows SDK v6.0A" itself, it's very useful tool for the service management (especially WCF).

WCF is saving configuration settings in web.config / app.config files and it's very hard to manage manually by editing.

Below I am just trying to put some screens and my tutorial experience to you, hope you like it.

Here for the demonstration, I am using the sample scenario called "TrustedFacade " which you can find in Microsoft WCF Samples ("\WCF_WF_CardSpace_Samples\WCF\Scenario\TrustedFacade"). Not going inside the code or development part, I am going to focus only on the deployment and administration with the Configuration Editor.

Steps, for configuring the service:

  1. You can open the tool from "Start Menu\Programs\Microsoft Windows SDK v6.0A\Tools\ Microsoft Service Configuration Editor" or go to the next path "Microsoft SDKs\Windows\v6.0A\Bin\SvcConfigEditor.exe".
  2. Click on crate a new service, it will bring you one service creation wizard.

  3. Click on the Browse Button and drive the wizard to the service dll, it can be GAC or File Location.
  4. After selecting the service, click on Next button, it will bring you to service contract page. It will show you all contracts available in one dropdown list in service, an appropriate contract you select and then move ahead with the next phase of configuration.
  5. Next screen will give you option to decide the communication mode, where you can select an appropriate mode of communication channels.
  6. Next screen will bring you selection of interoperability option.
  7. Now, the coming screen will ask you the address of your endpoint.
  8. After performing the above steps, now your wizard is ready to create configuration.

Now your service has been configured, the tool also provide facility to manage other configuration like hosts, base addresses, multiple endpoints, binding configuration, contracts, listening uri, etc. I am here just focusing on the service configuration, later on I will publish client and other configuration options available with in the tool. So let's coming back to services, the below image shows you, how to add multiple base location in host.

You can also add multiple endpoints to the service, as well as you can add certifications, identity and headers to messages and channels. Please check the blow screens to understand the configurations options for end points.

After completion of configuration you can save it as *.config file, which need to manage with services at the IIS/service hosting location.

This tool can give very good flexibility with the management and administration of the WCF services on large scale.

I will back with some more interesting articles on WCF as my study progress with it.

Thanks to bear with me during the article, please send your feedback to


--To find more articles written/posted by me please visits my blog


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Nilay Parikh
Software Developer
United Kingdom United Kingdom
My primary skill set comprise of EAI, ETL and EDI with immense experience in Microsoft BizTalk v2004/2006/R2, Web Services, .net v2.0/3.0 (WCF, WWF), SQL Server 2000/2005 (SSIS/SSAS/BIDS). I have very good proficiency with the BizTalk 2004/2006, SSIS, SS Service Broker, Workflows and MS SOA supportive technologies like WCF/MSWSE 2.0, with thorough knowledge of various Integration System Development Strategies like integration patterns, EAI concepts, B2B integration and securities, SOA. Specialties: BizTalk v2004/2006/R2, SSIS, SSAS, .net 2.0/3.0, WinCF, WinWF, Host Integration Server 2004/2006

Personal Technology Blog:

You may also be interested in...

Comments and Discussions

GeneralImages Pin
PrashantSonavane21-Nov-12 19:49
memberPrashantSonavane21-Nov-12 19:49 
GeneralMy vote of 1 Pin
muhamad yousef19-Jun-12 23:48
membermuhamad yousef19-Jun-12 23:48 
QuestionImages are missing Pin
chirio902-Jun-12 5:41
memberchirio902-Jun-12 5:41 
GeneralMy vote of 3 Pin
Pravin Patil, Mumbai8-Mar-11 3:35
memberPravin Patil, Mumbai8-Mar-11 3:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171207.1 | Last Updated 25 Dec 2007
Article Copyright 2007 by Nilay Parikh
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid