Tag Archives: WCF

WCF Is Dead and Web API Is Dying – Long Live MVC 6!

The time has come to start saying goodbye to Windows Communication Foundation (WCF).  Yes, there are plenty of WCF apps in the wild — and I’ve built a number of them.  But when it comes to selecting a web services … Continue reading

Posted in Technical | Tagged , , , , | 130 Comments

EF 6.x Code-First and Model-First with Trackable Entities 2.1

Until now Trackable Entities has required the Entity Framework Power Tools to reverse engineer Code-First model classes from an existing database.  But not long ago the Entity Framework team released the EF 6.x Tools for Visual Studio 2012 and 2013, … Continue reading

Posted in Technical | Tagged , , , | 10 Comments

Trackable Entities Version 1.0 Released!

I am pleased to announce the release of Trackable Entities version 1.0 – with support for both WCF and ASP.NET Web API with Visual Studio 2012 and 2013! The idea behind this tool is simple: enable you to build n-tier … Continue reading

Posted in Technical | Tagged , , , | 15 Comments

Trackable Entities: N-Tier Support for Entity Framework

Writing N-Tier apps can get complicated fast.  Consider the assortment of n-tier technologies now consigned to the ash heap of history: WCF RIA Services, Self-Tracking Entities, and good old typed DataSets.  These have all suffered from lack of interoperability and … Continue reading

Posted in Technical | Tagged , , , | 18 Comments

More Fun with Async ASP.NET Web API Services

My last post made the case for building async services in .NET 4.5 with the Task-based Asynchronous Pattern, or TAP for short. I profiled an ASP.NET Web API service that uses synchronous methods, showing how long-running services with high throughput … Continue reading

Posted in Technical | Tagged , , , | 1 Comment

Build Async Services with ASP.NET Web API and Entity Framework 6

If you are building web services that interact with a database, chances are they are not written in a scalable fashion.  Web services based either on WCF, which supports both SOAP and REST, or on ASP.NET Web API, which exclusively … Continue reading

Posted in Technical | Tagged , , , | 6 Comments

Building Scalable and Secure WCF Services

The key to building scalable WCF services is to eliminate binding configurations that could result in server affinity.  For this reason you should avoid bindings that establish a session with the service, such as NetTcpBinding or WsHttpBinding with secure conversation … Continue reading

Posted in Technical | Tagged , , | 30 Comments

Simple WCF SOAP-REST Multi-Project Template

Download the source code for this post. I did it again: another multi-project Visual Studio template – this time for a simple WCF service that exposes both SOAP and REST endpoints.  My other REST and SOAP templates are intended as … Continue reading

Posted in Technical | Tagged , , , | Leave a comment

WCF SOAP and REST Multi-Project Visual Studio Templates

Download the code for this post. Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. What I like about this … Continue reading

Posted in Technical | Tagged , , , | Leave a comment

Secure Self-Hosted WCF REST Services with a Custom UserNamePasswordValidator

Download the code for this blog post here. When securing WCF services you’re faced with a choice: Message versus Transport security. Unless you need to conceal messages from an intermediary, your best bet is to stick with transport security and … Continue reading

Posted in Technical | Tagged , , | 19 Comments