Skip to content

P3.NET

Site Moving

This site is moving to a new URL - http://www.michaeltaylorp3.net. Content on this site will no longer be updated.

Category: WCF

A Smarter WCF Service Client, Part 5

Published on May 18, 2014 Author Michael

After a long delay I’m finally ready to finish up my series on creating a smarter WCF service client.  Please refer to the previous articles for where we’re at. Identifying the issues with service references and the existing WCF client code Creating a smarter WCF service client Simplifying the calling of a WCF service Creating… Continue reading A Smarter WCF Service Client, Part 5 →

Categories C#, T4, WCF

A Smarter WCF Service Client, Part 4

Published on March 15, 2014 Author Michael

In the last article we presented a solution for calling WCF services that needed only a single line of code and no using statements.  But it had many limitations including Reliance on a static class Testability was low for any code using it Reliance on the WCF client rather than the contract Not optimized for… Continue reading A Smarter WCF Service Client, Part 4 →

Categories C#, T4, WCF

A Smarter WCF Service Client, Part 3

Published on February 23, 2014 Author Michael

In the last article we replaced the standard WCF service client with an improved version. But beyond solving an issue with cleaning up the client we haven’t really improved the calling code any. In this article we are going to look at one approach for making the calling code cleaner. The less code that is… Continue reading A Smarter WCF Service Client, Part 3 →

Categories C#, T4, WCF

A Smarter WCF Service Client, Part 2

Published on February 9, 2014 Author Michael

In the last article we made a case for why the standard WCF client generated by a service reference is not a great idea. Among the issues listed were testability and proper cleanup. To fix these issues we will need to ultimately replace service references altogether but this is time consuming for large code bases.… Continue reading A Smarter WCF Service Client, Part 2 →

Categories C#, T4, WCF

A Smarter WCF Service Client, Part 1

Published on February 2, 2014 Author Michael

WCF is a great way to implement service-based APIs but the standard approach to consuming a service lacks a lot to be desired. In this series of articles I will discuss the approach that I’ve used in commercial applications to make consuming WCF services much cleaner and simpler. We will start with the standard approach… Continue reading A Smarter WCF Service Client, Part 1 →

Categories C#, T4, WCF

Recent Posts

  • Creating an SSIS Custom Task, Part 2 February 20, 2016
  • Documenting Web APIs with Swagger February 7, 2016
  • Creating an SSIS Custom Task, Part 1 January 18, 2016
  • Documenting Web APIs November 14, 2015
  • WebHooks vs Message Bus November 7, 2015

Categories

.NET ADO.NET ASP.NET C# ClickOnce CodeRush Data Access DisKeeper Entity Framework Extensibility MVC NuGet Office SSIS T4 TFS Tools Uncategorized UnitTesting Visual Studio VS2012 VS2013 VS2014 VS2015 WCF Web Web API WebHooks Windows Windows 8.1 Windows UI WinForms

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

© P3.NET. Powered by WordPress & WPstart Theme.