Click here to Skip to main content
15,886,060 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to combine drawing Pin
Wayne Gaylard20-Mar-13 23:29
professionalWayne Gaylard20-Mar-13 23:29 
AnswerRe: How to combine drawing Pin
TheRealRarius21-Mar-13 0:40
TheRealRarius21-Mar-13 0:40 
GeneralRe: How to combine drawing Pin
wgy_work21-Mar-13 14:15
wgy_work21-Mar-13 14:15 
QuestionReturn String from a CheckListBox Control Pin
PDTUM20-Mar-13 6:55
PDTUM20-Mar-13 6:55 
AnswerRe: Return String from a CheckListBox Control Pin
Eddy Vluggen20-Mar-13 7:59
professionalEddy Vluggen20-Mar-13 7:59 
AnswerRe: Return String from a CheckListBox Control Pin
PDTUM20-Mar-13 8:45
PDTUM20-Mar-13 8:45 
GeneralRe: Return String from a CheckListBox Control Pin
Eddy Vluggen20-Mar-13 12:15
professionalEddy Vluggen20-Mar-13 12:15 
QuestionHow declare in wcf a typed class to avoid serialization duplication Pin
anymalo20-Mar-13 1:21
anymalo20-Mar-13 1:21 
Hi at all & tks in advance.

I wrote a class for manage backdata (data,error and so on) from a wcf which expose several and different function.
The scope is to make a same frame for back data.

This class are like this:

[DataContract(Name = "WS Back Data Frame",IsReference = true)]
[System.Serializable()]
public class WSBackDataFrame <C> where C : class
{
[DataMember]
public List<C> DataCollection;
[DataMember]
public bool IsOk
{
get { return this.FaultType == AppFaultType.NoFailure; }
private set { }
}
...
....
}

Now i declare exposed methods like this:

public WSBackDataFrame <Class_1> (....);
public WSBackDataFrame <Class_2> (....);
...
...


but i recived error for duplicated reference for WSBackDataFrame...

I've done a porting from WebServices to WCF ... in WebServices when i published the system created 2 different classes like

WSBackDataFrameofClass_1
WSBackDataFrameofClass_1

What is wrong in declaration?? What WCF expects?

tks and sorry for my bad english
AnswerRe: How declare in wcf a typed class to avoid serialization duplication Pin
Eddy Vluggen20-Mar-13 1:33
professionalEddy Vluggen20-Mar-13 1:33 
GeneralRe: How declare in wcf a typed class to avoid serialization duplication Pin
anymalo20-Mar-13 3:06
anymalo20-Mar-13 3:06 
GeneralRe: How declare in wcf a typed class to avoid serialization duplication Pin
Eddy Vluggen20-Mar-13 7:46
professionalEddy Vluggen20-Mar-13 7:46 
QuestionThreading inside WCF Pin
Nand3219-Mar-13 20:46
Nand3219-Mar-13 20:46 
AnswerRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 20:58
professionalAmitGajjar19-Mar-13 20:58 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 21:28
Nand3219-Mar-13 21:28 
GeneralRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 22:26
professionalAmitGajjar19-Mar-13 22:26 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 23:02
Nand3219-Mar-13 23:02 
GeneralRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 23:05
professionalAmitGajjar19-Mar-13 23:05 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 23:07
Nand3219-Mar-13 23:07 
GeneralRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 23:12
professionalAmitGajjar19-Mar-13 23:12 
AnswerRe: Threading inside WCF Pin
Manfred Rudolf Bihy19-Mar-13 21:18
professionalManfred Rudolf Bihy19-Mar-13 21:18 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 21:29
Nand3219-Mar-13 21:29 
GeneralRe: Threading inside WCF Pin
Manfred Rudolf Bihy19-Mar-13 22:09
professionalManfred Rudolf Bihy19-Mar-13 22:09 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 22:30
Nand3219-Mar-13 22:30 
GeneralRe: Threading inside WCF Pin
Manfred Rudolf Bihy19-Mar-13 22:51
professionalManfred Rudolf Bihy19-Mar-13 22:51 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 23:05
Nand3219-Mar-13 23:05 

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.