Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Content Based Routing Using WCF 4

, 28 Jul 2010 CPOL
This article explains how to do content based routing using the WCF 4 RoutingService.
ProtocolBridge.zip
ProtocolBridge
CustomerContract
bin
Debug
CustomerContract.dll
Properties
CustomerService
App_Data
bin
CustomerContract.dll
CustomerService.dll
CustomerService.csproj.user
CustomerService.svc
Properties
OrdinaryCustomerService
App_Data
bin
CustomerContract.dll
OrdinaryCustomerService.dll
OrdinaryCustomerService.csproj.user
OrdinaryCustomerService.svc
Properties
PremiumCustomerService
App_Data
bin
CustomerContract.dll
PremiumCustomerService.dll
PremiumCustomerService.csproj.user
PremiumCustomerService.svc
Properties
ProtocolBridgingClient
bin
Debug
CustomerContract.dll
ProtocolBridgingClient.exe
ProtocolBridgingClient.vshost.exe
ProtocolBridgingClient.vshost.exe.manifest
Properties
Settings.settings
Service References
RoutingServiceReference
configuration.svcinfo
configuration91.svcinfo
CustomerService.disco
CustomerService.wsdl
Reference.svcmap
RoutingService.wsdl

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomerContract", "CustomerContract\CustomerContract.csproj", "{3E58A055-A85F-4417-AAAC-3504D29B25CD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomerService", "CustomerService\CustomerService.csproj", "{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProtocolBridgingClient", "ProtocolBridgingClient\ProtocolBridgingClient.csproj", "{D54B6952-1781-40AF-9271-BA55D851456C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PremiumCustomerService", "PremiumCustomerService\PremiumCustomerService.csproj", "{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OrdinaryCustomerService", "OrdinaryCustomerService\OrdinaryCustomerService.csproj", "{8E299160-C631-4CA1-BC0A-007CAD4C16FA}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Debug|x86.ActiveCfg = Debug|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Release|Any CPU.Build.0 = Release|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{3E58A055-A85F-4417-AAAC-3504D29B25CD}.Release|x86.ActiveCfg = Release|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Debug|x86.ActiveCfg = Debug|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Release|Any CPU.Build.0 = Release|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{E5B759D9-213B-4FC1-BBB4-D82731FD0DEB}.Release|x86.ActiveCfg = Release|Any CPU
		{D54B6952-1781-40AF-9271-BA55D851456C}.Debug|Any CPU.ActiveCfg = Debug|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Debug|x86.ActiveCfg = Debug|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Debug|x86.Build.0 = Debug|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Release|Any CPU.ActiveCfg = Release|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Release|Mixed Platforms.Build.0 = Release|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Release|x86.ActiveCfg = Release|x86
		{D54B6952-1781-40AF-9271-BA55D851456C}.Release|x86.Build.0 = Release|x86
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Debug|x86.ActiveCfg = Debug|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Release|Any CPU.Build.0 = Release|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{D7DD5CAF-9CBA-424C-AFE2-827D0B6B3325}.Release|x86.ActiveCfg = Release|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Debug|x86.ActiveCfg = Debug|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Release|Any CPU.Build.0 = Release|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{8E299160-C631-4CA1-BC0A-007CAD4C16FA}.Release|x86.ActiveCfg = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

Share

About the Author

AmbarRay
Architect Pramerica Systems Ireland
India India
CORE COMPETENCIES
 
 Design and Architecture for Microsoft SOA implementations using BizTalk, WCF, WF, SQL Server Integration Services & ESB Toolkit.
 
 Web Application design and implementation using ASP.NET MVC with jQuery & Entity Framework with LINQ for persistence layer.
 
 Designing and developing desktop applications using WPF, WinForms.
 
 SQL Server Database design & programming
 
EXPERIENCE SUMMARY
 
 Eleven years total, out of which 04 years as architect, 07 years as designer and developer in various Microsoft technologies like WinForms, ASP.NET WebForms, ASP.NET MVC, BizTalk, WCF, WF, WPF, SQL Server, LINQ, EF etc. Worked in various roles mainly architect, designer, team leader and developer.
 
 Hands on experience with ASP.NET web applications (both MVC and Web Forms) and desktop based applications as well as smart client applications using latest technologies harnessing .NET Framework 4.0, C# 4.0, ASP.NET 4.0, WCF, WF, WPF and LINQ.
 
 Hands-on working experience in Application integration, business process management and service oriented applications using BizTalk Server 2010, ESB Toolkit 2.1, WCF 4.0 services and SQL Server 2008 Integration Services.
 
 Thorough working knowledge of OOAD and agile / incremental development process.
 
 Experience in leading team of developers for on schedule project delivery with quality.
 
 Experience with low level programming like embedded C, C++ as well as systems programming on unix platform.
REMARKABLE PROFESSIONAL ACHIEVEMENTS
 
 Got Microsoft Community Contributor Award in year 2011 with MCC ID# 4034514.
 
 Published article in MSDN Magazine Feb 2011 edition on MDM with F#: http://msdn.microsoft.com/en-us/magazine/gg598923.aspx
http://www.codeproject.com/News/14767/Pattern-Matching-Database-Records-with-Fsharp.aspx
 
 Published highly popular article on BizTalk in www.dotnetcurry.com
http://www.dotnetcurry.com/ShowArticle.aspx?ID=683
 
 Umpteen blogs in BizTalk server forums and ESB toolkit forums.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.1411023.1 | Last Updated 29 Jul 2010
Article Copyright 2010 by AmbarRay
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid