lamp

service reference reuse types in referenced assemblies

Published 09 November 08 11:25 AM | Frederick.Chapleau

When developing using Web Service, you may want to reuse common components, so that adding a service reference do not generate Type proxy to common Types.

In .NET 3.5, WCF (windows communication framework) enable you to do that. But with a catch, you MUST use the 3.5 WCF Service to enable the "Reuse Types in References Assemblies".

Only this type of Project/Service enable Service Contracts, that defines type mapping understandable by Visual Studio.

Here is a clear example on how to do that, from Jane Mattila a Senior Consultant at Microsoft Services in Finland.

http://blogs.msdn.com/jannemattila/archive/2008/10/15/web-services-and-namespaces-or-wcf.aspx

-f.

Filed under:

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Protected by FormShield
Refresh
Listen
Please enter the characters shown on the image


Code: