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

Runtime Generated WCF Service Exposing .NET or COM Types

, 24 Apr 2008
A WCF service wrapper is generated at runtime around a .NET or COM type to expose its interface.
runtimegen_wcf_service_expnetcom_demo.zip
ConsoleClient.exe
DummyComInterop.exe
ServiceHostContainer.exe
ComponentCom.dll
ComponentNet.dll
ComponentNetBase.dll
ComponetNetBase2.dll
Interop.ComponentComLib.dll
WcfServiceHost.dll
runtimegen_wcf_service_expnetcom_src.zip
ConsoleClient
Properties
Service References
Class1
configuration.svcinfo
Reference.svcmap
service.wsdl
Class1_PerCall
configuration.svcinfo
Reference.svcmap
service.wsdl
Class2
configuration.svcinfo
Reference.svcmap
service.wsdl
Class2_PerCall
configuration.svcinfo
Reference.svcmap
service.wsdl
DummyComInterop
Properties
ServiceHostContainer
Properties
WcfServiceHost
Properties
WcfServiceHost.csproj.user
ComponentCom
Class2.rgs
ComponentCom.def
ComponentCom.rgs
ComponentCom.vcproj.vspscc
ComponentComps.def
ComponentNet
Properties
ComponentNetBase
Properties
ComponetNetBase2
Properties

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComponentNet", "ComponentNet\ComponentNet.csproj", "{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComponentNetBase", "ComponentNetBase\ComponentNetBase.csproj", "{E2D383FD-F44C-492A-B95C-017B3FC8EE50}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleClient", "ConsoleClient\ConsoleClient.csproj", "{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ComponentNetFolder", "ComponentNetFolder", "{0CB67F59-AA6F-4500-A4FB-94D7E2024808}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientForlder", "ClientForlder", "{7FF58482-6B78-48CE-B6F2-5D83896B08D8}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ServiceHostFolder", "ServiceHostFolder", "{3108E305-3E9E-4323-B661-B7C6FBAE581A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ServiceHostContainerFolder", "ServiceHostContainerFolder", "{6160777F-F9A6-4E31-B2CA-FCF277179E33}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ComponentComFolder", "ComponentComFolder", "{36A40169-5AA3-435C-A6D9-C86BBA86465C}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ComponentCom", "ComponentCom\ComponentCom.vcproj", "{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DummyComInterop", "DummyComInterop\DummyComInterop.csproj", "{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}"
	ProjectSection(ProjectDependencies) = postProject
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9} = {2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceHostContainer", "ServiceHostContainer\ServiceHostContainer.csproj", "{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComponentNetBase2", "ComponetNetBase2\ComponentNetBase2.csproj", "{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WcfServiceHost", "WcfServiceHost\WcfServiceHost.csproj", "{5CEA5110-C2E0-4128-BD00-F640F66A43A3}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|Win32 = Debug|Win32
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|Win32 = Release|Win32
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Release|Any CPU.Build.0 = Release|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466}.Release|Win32.ActiveCfg = Release|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Release|Any CPU.Build.0 = Release|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50}.Release|Win32.ActiveCfg = Release|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Release|Any CPU.Build.0 = Release|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F}.Release|Win32.ActiveCfg = Release|Any CPU
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Debug|Any CPU.ActiveCfg = Debug|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Debug|Mixed Platforms.Build.0 = Debug|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Debug|Win32.ActiveCfg = Debug|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Debug|Win32.Build.0 = Debug|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Release|Any CPU.ActiveCfg = Release|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Release|Mixed Platforms.ActiveCfg = Release|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Release|Mixed Platforms.Build.0 = Release|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Release|Win32.ActiveCfg = Release|Win32
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9}.Release|Win32.Build.0 = Release|Win32
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Release|Any CPU.Build.0 = Release|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F}.Release|Win32.ActiveCfg = Release|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Release|Any CPU.Build.0 = Release|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB}.Release|Win32.ActiveCfg = Release|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Release|Any CPU.Build.0 = Release|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7}.Release|Win32.ActiveCfg = Release|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Debug|Win32.ActiveCfg = Debug|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Release|Any CPU.Build.0 = Release|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3}.Release|Win32.ActiveCfg = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
	GlobalSection(NestedProjects) = preSolution
		{5CEA5110-C2E0-4128-BD00-F640F66A43A3} = {3108E305-3E9E-4323-B661-B7C6FBAE581A}
		{E2D383FD-F44C-492A-B95C-017B3FC8EE50} = {0CB67F59-AA6F-4500-A4FB-94D7E2024808}
		{6A9A2CA7-FAEC-4A56-A7D5-81EEFB549466} = {0CB67F59-AA6F-4500-A4FB-94D7E2024808}
		{651E73AF-6182-45B4-A62D-ED7DCE26D5D7} = {0CB67F59-AA6F-4500-A4FB-94D7E2024808}
		{D60FF8FC-8CE3-414E-A1E0-9C739421ED3F} = {7FF58482-6B78-48CE-B6F2-5D83896B08D8}
		{9F1E1647-2983-4FBC-BE4A-F2D66570D7FB} = {6160777F-F9A6-4E31-B2CA-FCF277179E33}
		{2E1291B0-DAA0-4A4D-8BF3-2670F27180D9} = {36A40169-5AA3-435C-A6D9-C86BBA86465C}
		{30C84B8F-9CFD-4DBA-974B-69C6DFB37E9F} = {36A40169-5AA3-435C-A6D9-C86BBA86465C}
	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

Igor Ladnik
Architect
Israel Israel


  • Nov 2010: Code Project Contests - Windows Azure Apps - Winner
  • Feb 2011: Code Project Contests - Windows Azure Apps - Grand Prize Winner

Follow on   LinkedIn

| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 24 Apr 2008
Article Copyright 2008 by Igor Ladnik
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid