Shawn Weisfeld

I find when I talk to myself nobody listens. - Shawn Weisfeld
posts - 365, comments - 174, trackbacks - 34

My Links

News


Shawn Weisfeld's Facebook profile

The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Archives

Post Categories

WCF

Expose your Entity Framework Data Models with WCF Data Services by Shawn Weisfeld @ Dallas ASP.NET UG on 02/23/2010

Another in the series of recordings I have done for INETA Live. Video Slides/Code Download: Click Here Abstract: 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...

posted @ Sunday, February 21, 2010 4:54 PM | Feedback (5) | Filed Under [ WCF INETA LIVE ]

SharePoint WebServices are your friend

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...

posted @ Tuesday, February 24, 2009 6:50 PM | Feedback (3) | Filed Under [ .NET Microsoft SharePoint WCF ]

WCF & Using Statements

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...

posted @ Thursday, November 13, 2008 11:29 AM | Feedback (0) | Filed Under [ .NET C# SOA VB.NET WCF ]

Forcing Windows Auth on WCF services

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>

posted @ Wednesday, April 23, 2008 1:26 PM | Feedback (0) | Filed Under [ WCF ]

Powered by: