I haven’t really looked into the new .NET stuff since 2.0, but I’m wondering what the preffered way is for creating Web Services is now (SOAP, not RESTful). I remember in the old days, you created a ASP.NET Web Service. Now, I’ve been looking at WCF, but it seems like there’s some added complexity. I’ve GOOGLED for some sample code, have 30 tabs open, but there’s no consistency in what the best way is to do somethings: some examples are for .NET 2.0, .NET 1.1, etc. Any one know where some good simple CRUD-based examples are? (I’ve been scanning MSFT’s site, but also haven’t stumbled — yet — upon that golden article.)
Thanks
A couple of things.
1) It’s still OK to do Add -> New Web Service (asmx).
2) It’s equally easy to do that with WCF (and it’s still just SOAP).
The benefit of going WCF is that you’re ‘future-compatible’ if you want to change some features (such as the transport type, etc).