>There's more to WCF than this. The power comes in how you can specify what is visible to the web service. You do this in code and use attributes. But you specify the transport mechanisms, etc through xml config files.
>
>With ASMX, you have to write code.
>
>See Data Contracts at http://msdn.microsoft.com/en-us/library/ms733127.aspxThanks for the link Craig. I haven't started digesting any of this yet. I'm so far behind on some of this stuff. =0(
But, I just got a couple of WCF books on my Kindle to start reading (well, actually I got a couple of free samples to see which book I think might be best to buy ... now to start perusing).
Thanks,
~~Bonnie
>
>
>
>>Got an example? I can't see what could possibly be easier than:
>>
>>
>>public string GetCustomer(long CustomerKey)
>>{
>> CustomerBiz oBiz = new CustomerBiz();
>> CustomerDataSet = oBiz.GetCustomer(CustomerKey);
>> return CustomerDataSet.GetXml();
>>}
>>
>>
>>The above method is a web method in a conventional web service class. Since I haven't gotten around to playing with WCF yet, I'm not sure how much different a the method would be in WCF, but it would probably be the same, right?
>>
>>~~Bonnie