Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
Questionexits blutooth in pc Pin
behzadcp19-Aug-10 21:32
professionalbehzadcp19-Aug-10 21:32 
AnswerRe: exits blutooth in pc Pin
Luc Pattyn20-Aug-10 1:37
sitebuilderLuc Pattyn20-Aug-10 1:37 
GeneralRe: exist blutooth in pc Pin
behzadcp20-Aug-10 3:42
professionalbehzadcp20-Aug-10 3:42 
AnswerRe: exist blutooth in pc Pin
Luc Pattyn20-Aug-10 3:54
sitebuilderLuc Pattyn20-Aug-10 3:54 
GeneralRe: exist blutooth in pc Pin
OriginalGriff20-Aug-10 3:54
mveOriginalGriff20-Aug-10 3:54 
GeneralRe: exist blutooth in pc Pin
Luc Pattyn20-Aug-10 4:27
sitebuilderLuc Pattyn20-Aug-10 4:27 
GeneralRe: exist blutooth in pc Pin
OriginalGriff20-Aug-10 4:29
mveOriginalGriff20-Aug-10 4:29 
QuestionWCF knowntypes Pin
1eyhk119-Aug-10 20:36
1eyhk119-Aug-10 20:36 
Curious - for simple array such as string[], if I declare known type from interface, they just won't show on object browser (but other custom/non-System types developed in-house can), thus the infamous:
<br />
There was an error while trying to serialize parameter http://CalcProcessWCF:req. The InnerException message was 'Type 'System.String[]' with data contract name 'ArrayOfstring:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.'.  Please see InnerException for more details.<br />


I have to resort to set it programmatically from proxy in order to get it working:
<br />
foreach (var operation in proxy.Endpoint.Contract.Operations)  <br />
{  <br />
   operation.KnownTypes.Add(typeof(MyDynamicallyAddedKnownType));  <br />
} <br />

why...
AnswerRe: WCF knowntypes Pin
PIEBALDconsult20-Aug-10 3:15
mvePIEBALDconsult20-Aug-10 3:15 
AnswerRe: WCF knowntypes Pin
#realJSOP20-Aug-10 3:20
professional#realJSOP20-Aug-10 3:20 
QuestionC# Contacting Form1 Pin
C.CoderCreator19-Aug-10 18:26
C.CoderCreator19-Aug-10 18:26 
AnswerRe: C# Contacting Form1 Pin
AspDotNetDev19-Aug-10 18:42
protectorAspDotNetDev19-Aug-10 18:42 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator19-Aug-10 20:54
C.CoderCreator19-Aug-10 20:54 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator19-Aug-10 23:30
C.CoderCreator19-Aug-10 23:30 
GeneralRe: C# Contacting Form1 Pin
Łukasz Nowakowski19-Aug-10 23:48
Łukasz Nowakowski19-Aug-10 23:48 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator19-Aug-10 23:54
C.CoderCreator19-Aug-10 23:54 
AnswerRe: C# Contacting Form1 Pin
Blue_Boy19-Aug-10 23:51
Blue_Boy19-Aug-10 23:51 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 0:02
C.CoderCreator20-Aug-10 0:02 
GeneralRe: C# Contacting Form1 Pin
Łukasz Nowakowski20-Aug-10 0:06
Łukasz Nowakowski20-Aug-10 0:06 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 0:43
C.CoderCreator20-Aug-10 0:43 
GeneralRe: C# Contacting Form1 Pin
Łukasz Nowakowski20-Aug-10 0:54
Łukasz Nowakowski20-Aug-10 0:54 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 0:57
C.CoderCreator20-Aug-10 0:57 
GeneralRe: C# Contacting Form1 Pin
Łukasz Nowakowski20-Aug-10 0:58
Łukasz Nowakowski20-Aug-10 0:58 
GeneralRe: C# Contacting Form1 Pin
C.CoderCreator20-Aug-10 0:59
C.CoderCreator20-Aug-10 0:59 
GeneralRe: C# Contacting Form1 Pin
Łukasz Nowakowski20-Aug-10 1:02
Łukasz Nowakowski20-Aug-10 1:02 

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.