You couldn't give a straight answer so you keep comming back an critisizing my straightforward question.
You critisize 'design' when the post clearly said 'simple example'. Who the frak cares about poor design or any design for that matter in this thread? (I think I said it multiple times) I did not ask about best practices, I simply asked what will happen in either of the 2 cases.
To which you did not answer but provided a link. Useful link, but still not an actual answer. Move along, nothing to see here.
You are the same type of person that when asked a question as simple as "Say you have 5 peanuts and eat 2 how many do you have?" your reply is "Oh I am alergic to peanuts so I can not eat them. This is a bad question. Please change it for me."
Again, stop trolling.
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.
To which you did not answer but provided a link. Useful link, but still not an
actual answer. Move along, nothing to see here.
To be clear actually I also said
"DataMember has Properties which can change the behavior."
My first inclination was to post just the properties but I thought that link was better since it was the one I used to base the standards on which my company, based on their practices, needs and expectations, moves forward in adopting to new versions of web interfaces.
Other companies have different needs and as such they should come up with their own approach. One can't do based solely on the need to use a web interface, but rather it must also take into account the business needs of the company.
Collin Jasnoch wrote:
Who the frak cares about poor design or any design for that matter in this
Still not clear...you are both defending the design and claiming that it isn't a design.
As I made clear several times if that was a design then it suggests a problem. So you are stating it isn't a design thus you do not need to defend it as such.
I have a Silverlight application using WCF. Now, I can get the wcf service to talk to the application with Anonymous Authentication enabled; however, I do not want Anonymous Authentication enabled as I want to use Windows Authentication. I have tried making changes to the WCF web.config and the Silverlight References.ClientConfig but nothing seems to work. If possible please provide as much details as possible. Thanks in advance.
I need to write an WCF service which would be accessed from iPhone/Android phone application.
WCF service should provide chat functionality and other required end point methods to the installed phone application.
Here I have few queries:
1. Can we implement duplex communication for this, between wcf service and iphone / android application?
2. What would be better solution, hitting a WCF webservice from phone application after some interval of time or putting some callback in phone device?. As i need some chatting kind behaviour in phone where two phone user should chat to each other through the connected WCF service.
Can you please suggest approach and helpful links for same.
AddServiceEndpoint(typeof(ILiveChatService), new CustomBinding( pdbe, new TextMessageEncodingBindingElement(MessageVersion.Soap11,System.Text.Encoding.UTF8), new HttpsTransportBindingElement()),"");
==========================Exception============================Error 3 Argument 1: cannot convert from 'System.ServiceModel.Channels.PollingDuplexBindingElement' to 'System.ServiceModel.Channels.BindingElement' E:\facebook chat\SilverlightApplication1\LiveChatService\LiveChatServiceHost.cs 31 77 LiveChatService
Error 2 The best overloaded method match for 'System.ServiceModel.Channels.CustomBinding.CustomBinding(params System.ServiceModel.Channels.BindingElement)' has some invalid arguments E:\facebook chat\SilverlightApplication1\LiveChatService\LiveChatServiceHost.cs 31 58 LiveChatService
Error 1 The type 'System.ServiceModel.Channels.BindingElement' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ServiceModel, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. E:\facebook chat\SilverlightApplication1\LiveChatService\LiveChatServiceHost.cs 24 13 LiveChatService
I hear about WCF as a new tool which is able of implements the applications as Services, but after look for it`s funcionality I see that it cover some protocols, security, Error control, but endly it's functionality is no so different of traditional asmx Web Services, they offer some methods and one client can access such methods and collect some objects, so I don't see so much possibilities.
please could you tell me something that I don't see in order to understand how WCF help to create RIA applications, that asmx services don't do
In my opinion, the major WCF advantage is extensibility and flexibility. It isolates different aspects from the interface (Contract) that the service implements. Examples are:
-How data is transfered: SOAP, TCP, JSON, MSMQ)
-Security (authorization, authentication)
The framework had many implementations for the above aspects and you can implement your own, for example is an open source project that provide binding for transfer over SMTP (email).
You can intercept the WCF pipeline to add some required behaviors or choose from already implemented one.
I have a WCF service and when I generated a proxy class with svcutil it changed my list property to arrays. is there an option to ensure that I have a List in the proxy class?
The object in the service…
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://braxinc.com/data/Query")]
public partial class PayloadType
private List personBasedQueryField;
private List locationBasedQueryField;
public partial class PayloadType
private PersonType personBasedQueryField;
private LocationType locationBasedQueryField;
Last Visit: 31-Dec-99 18:00 Last Update: 23-Sep-14 15:02