Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bring Custom Control Ahead of form Pin
Saksida Bojan12-Jan-10 6:32
Saksida Bojan12-Jan-10 6:32 
AnswerRe: Bring Custom Control Ahead of form Pin
Eddy Vluggen12-Jan-10 8:16
professionalEddy Vluggen12-Jan-10 8:16 
QuestionDateTime Problem Pin
Thaer Hamael12-Jan-10 2:24
Thaer Hamael12-Jan-10 2:24 
AnswerRe: DateTime Problem Pin
OriginalGriff12-Jan-10 2:33
mveOriginalGriff12-Jan-10 2:33 
AnswerRe: DateTime Problem Pin
Luc Pattyn12-Jan-10 5:35
sitebuilderLuc Pattyn12-Jan-10 5:35 
AnswerRe: DateTime Problem Pin
Dan Mos12-Jan-10 7:46
Dan Mos12-Jan-10 7:46 
QuestionSerialization questions. Pin
David Muir12-Jan-10 1:50
David Muir12-Jan-10 1:50 
AnswerRe: Serialization questions. Pin
dojohansen12-Jan-10 7:01
dojohansen12-Jan-10 7:01 
Hi,

Adding a new property would normally not break existing clients. Since this is a web service and the client might consume the soap-formatted XML responses in any way there is no guarantee. For example, a client *could* have been implemented in such a way that it assumes the fifth childnode of some element to be "dateOfBirth" and parse it's text as a date, and this would obviously fail if the message format changed so that dob no longer was the fifth childnode. However, part of the point of using XML is of course to enable to use the node names instead, so picking nodes by index is bad practice.

Changing the type of an existing property is much more likely to break existing clients, though it need not always happen. Again things are fuzzy since a client could be implemented in any of a number of technologies, and with any number of tools. Changing from "int" to "byte" might be safe, but might not. I don't know the type definitions in W3C's standards, but generally the only safe changes you can make (that cannot break properly implemented clients) would be thos that result in the property still mapping to the same type in the SOAP message.

You might be thinking of only a subset of the possible clients though, such as .NET clients generated with Visual Studio. Even then there are a few varieties; at least two: WCF clients configured to connect to a web service endpoint, and "pure" web service clients. Adding a property to a class won't affect such clients. Changing the type will also be fine as long as the values actually returned from the service are valid for the old type. Changing from Int32 to byte for example breaks nothing (but also doesn't achieve much), while changing from int to double works (but is pointless) only so long as the values returned fit in an int.
QuestionHow can I subscribe to "DataGridView.CellDisplayRectangleUpdatedAfterDataGridViewScroll"-events? Pin
arnold_w12-Jan-10 1:44
arnold_w12-Jan-10 1:44 
AnswerRe: How can I subscribe to "DataGridView.CellDisplayRectangleUpdatedAfterDataGridViewScroll"-events? Pin
Saksida Bojan12-Jan-10 6:59
Saksida Bojan12-Jan-10 6:59 
GeneralRe: How can I subscribe to "DataGridView.CellDisplayRectangleUpdatedAfterDataGridViewScroll"-events? Pin
arnold_w12-Jan-10 21:40
arnold_w12-Jan-10 21:40 
Questionstring resizing Pin
Emmet_Brown12-Jan-10 1:31
Emmet_Brown12-Jan-10 1:31 
AnswerRe: string resizing Pin
harold aptroot12-Jan-10 1:34
harold aptroot12-Jan-10 1:34 
GeneralRe: string resizing Pin
Emmet_Brown12-Jan-10 1:38
Emmet_Brown12-Jan-10 1:38 
GeneralRe: string resizing Pin
Luc Pattyn12-Jan-10 1:53
sitebuilderLuc Pattyn12-Jan-10 1:53 
AnswerRe: string resizing Pin
Rick Shaub12-Jan-10 8:03
Rick Shaub12-Jan-10 8:03 
AnswerRe: string resizing Pin
carlecomm12-Jan-10 16:45
carlecomm12-Jan-10 16:45 
QuestionDeployment Project Pin
CT0013812-Jan-10 1:20
CT0013812-Jan-10 1:20 
Questiondelay in process Pin
sachees12312-Jan-10 1:11
sachees12312-Jan-10 1:11 
AnswerRe: delay in process Pin
Luc Pattyn12-Jan-10 1:56
sitebuilderLuc Pattyn12-Jan-10 1:56 
Questionwhich one will be faster? Pin
Joe Rozario12-Jan-10 0:29
Joe Rozario12-Jan-10 0:29 
AnswerRe: which one will be faster? PinPopular
Paulo Zemek12-Jan-10 0:37
Paulo Zemek12-Jan-10 0:37 
AnswerRe: which one will be faster? Pin
harold aptroot12-Jan-10 0:57
harold aptroot12-Jan-10 0:57 
AnswerRe: which one will be faster? Pin
Dan Mos12-Jan-10 7:52
Dan Mos12-Jan-10 7:52 
Questionmy application on windows taskbar Pin
Jassim Rahma11-Jan-10 23:12
Jassim Rahma11-Jan-10 23:12 

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.