Hi Giorgio,
Have you got any further ideas on this issue or does the info in my last
reply help some?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From:
st*****@online. microsoft.com (Steven Cheng [MSFT])
Organization: Microsoft
Date: Mon, 14 Apr 2008 05:57:53 GMT
Subject: RE: WCF Service and Collections
Hi Grorgio,
From your description, I think what you need to do is something like
sharing a colleciton type (used in your WCF service) between client and
service rather than let svctuil autogenerated proxy type, correct?
Based on my research, for specifying custom collection types in your own
assemblies for WCF service, when creating the proxy, you need to supply
both
/ct:[ collection type name]
and
/reference:[assembly of shared type]
Thus, the svcutil will use the specified type in the shared assembly
instead of generating its own proxy type. Here is a good web article
introducing this:
#Sharing WCF Collection Types between Service and Client
http://www.codeproject.com/KB/WCF/WC...peSharing.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Reply-To: "Giorgio Parmeggiani" <gi******@tisca li.it>
From: "Giorgio Parmeggiani" <gp**********@n ewsgroup.nospam >
Subject: WCF Service and Collections
Date: Sun, 13 Apr 2008 23:45:17 +0200
Lines: 2
Hi
I am using the svcutil parameter: /ct to obtain IBindingList from WCF
Service.
I can exclude some collection or some WCF service methods from this
conversion? I have some strongly typed custom collections, which are
serializable, and I want, sometime, to use my custom collection, not
IBindingList.
Thank in advance
Giorgio