Another in the series of recordings I have done for INETA Live.
The WCF Data Services (a.k.a. ADO.NET Data Services or code name Astoria) framework consists of a combination of patterns and libraries that enable the creation and consumption of data services for the web. This is implemented in done in a standards based (OData) RESTful way serializing the data to JSON or AtomPub. In this talk we will introduce the WCF Data Services platform, talk about the basic underpinnings of the technology. Then we will build a simple Entity Framework Data Model and using WCF Data...
Ever wanted access to that treasure trove of information available in SharePoint lists scattered across your enterprise? Ever wanted to provide a quick and dirty UI for users to enter data, but need to have programmatic access to the data? Use SharePoint! SharePoint provides WebServices that give you access to just about everything you can think of (http://msdn.microsoft.com/en-us/library/ms954015.aspx). For the purposes of this article I am going to use the Lists WebService to 1) get data from a list, 2) Add an item to the list and 3) Delete an item from the list.
The first step is to add...
I was attending the Dallas Connected Systems UG last night (http://biztalkusergroup.com/) and during the presentation I made the bold assertion that one should NOT use the "using statement" when working with WCF. Now I am a HUGE proponent of the using statement in normal circumstances. IMHO if it implements IDisposable use the using statement, except with WCF. This has to do with the way that WCF errors out and when that happens how the connection gets closed. . . Doing my best LeVar Burton "But you don't have to take my word for it" (http://en.wikipedia.org/wiki/Reading_Rainbow). Microsoft even says it in...
At the last ONETUG meeting a question came up how to force WCF to use Windows Auth (i.e. Kerberos). By default WCF is in negotiate mode. While this is good for many cases where you cannot ensure that Kerberos will be available if you are in an intranet environment where you know it will be you can speed up your service by skipping the negotiation phase. Matevz Gacnik has a good sample in his blog (http://www.request-response.com/blog/PermaLink,guid,4b5f46cd-3c15-4213-9570-1a235c4a615e.aspx) using certificates, the only change is to set the clientCredentialType to “Windows”.
<bindings> <wsHttpBinding> <binding name="MySecureBinding"> <security mode ="Message"> <message clientCredentialType="Windows" negotiateServiceCredential="false"/> </security> </binding> </wsHttpBinding></bindings>